-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make any light switch 'smart' with lifxlan #143
Comments
I was thinking of something like this:
Does this make any sense? Is pinging the bulb a bad idea/practice? As I work with the power switch I can obviously not work with the power on/off value to determine the state of the bulb. (cannot test the code as I'm on a trip abroad right now) |
This is a clever idea, and I'm interested to see how it went! I can think of a couple things that might be annoying:
How did it go? |
Hmmm... but the problem is the physical switch would also be out of sync with the smart lights if you controlled it from your phone for whatever reason via another integration... |
I used to use Amazon Dash buttons for home automation. We had ~20 around the house. About a year ago Amazon flipped some kind of remote kill switch and they all stopped work. Then I switched to: https://flic.io/ .. the only downside is you need a hub in your house somewhere for them to talk to. The upside is that there is almost no lag compared to the 3-5 seconds of lag on the Amazon Dash. They're super simple to setup and support hitting a REST URL on press. |
flic2 is definitely the "in" thing right now! |
This is not really any issue but rather a call for help.
I'm completely frustrated with the state of available smart switches which are either privacy invasive, overly expensive and/or over-engineered for the simple task I want to do: Toggle my lights from a simple and cheap switch. I did use some dash buttons in the past but they are not available anymore and have some other downsides as well.
So I had an idea. Basically, as soon as a LIFX bulb is connected to a regular dumb power/light switch, this switch is already a smart switch. I only have to be able to monitor the state (in this case power state) of this one bulb via lifxlan protocol (on/off) and apply the same power state to all the other bulbs on my network. Voila, a simple and free 'smart' switch that is independent of phones, apps etc. and every guest is able to use without any further knowledge.
My problem is that although I did write some very simple scripts with lifxlan this is a little over my head. I would need some help to piece this together into a functional script. Ideally something that can run as a daemon (background task) on my Mac that is always on anyways.
Any help on how to achieve this would be very much appreciated!!!
The text was updated successfully, but these errors were encountered: