Search results

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

  1. kallefornia

    Philips Hue: lights off when nobody is home [script]

    Yes, I was only looking in the WiFi tables, but it would easy to add the ethernet interface to the list of scanned adapters, I think.
  2. kallefornia

    Philips Hue: lights off when nobody is home [script]

    yes, if the powerline AP acts as its own DHCP server, the router probably won't see those clients :) Although some powerline APs can be configured to connect to the router's DHCP, I think. thank you 🤓☺️
  3. kallefornia

    Philips Hue: lights off when nobody is home [script]

    Technically, it's a valid alternative solution, but I have found that ping doesn't work reliably enough: From time to time packets will be lost even though the client is connected. Plus, I wanted a solution that doesn't actively scan for the devices connected, but rather uses a passive method...
  4. kallefornia

    Philips Hue: lights off when nobody is home [script]

    yes, I am just more comfortable in BASH, so I am running it as my default on my router. I might make a POSIX compliant version in the future; right now I don't have the time 😅. But if anyone fancies it, feel free to transcribe and publish it :)
  5. kallefornia

    Philips Hue: lights off when nobody is home [script]

    Thanks for trying it out :) rung is correct: If you have installed bash via entware, the shebang #!/usr/bin/env bash should, technically, point to the correct location. If not, run find / -name bash to find the correct location and put that in the shebang, for example...
  6. kallefornia

    Philips Hue: lights off when nobody is home [script]

    thanks for the suggestion! I needed something that could work without having to communicate with the connected devices i. e. no apps running on our phones; that would have required active cooperation on my brother's part :)
  7. kallefornia

    Philips Hue: lights off when nobody is home [script]

    It seemed like the most practical solution. It works surprisingly well; so far the lights have stayed on when we were at home ;)
  8. kallefornia

    Philips Hue: lights off when nobody is home [script]

    This is a relatively simple bash script that turns off all lights when all members of a household have left and turns them back on again when one of them comes back. Basically, it continually checks the list of clients currently connected to the router's WiFi network(s) for pre-defined IP...
Top