Open bkdfkup opened 3 years ago
Support for this would be fantastic
This feature would be a logical addition, however it would first need to be added to https://github.com/node-lifx/lifx-lan-client of which this mode depends on.
As far as I know the switches are only available for the Australian Market so it'd be somewhat difficult to add this. But if either of you can create the first issue there I can at least flag it with "help wanted" then (I'm co-maintaining it also).
Pull requests are always welcome of course. Adding support to new API features is relatively easy as there's a lot of example code to use a base. However I/we require the added features use a similar library/node interface as the rest.
Sorry for the slow reply. I've recently spent my little free time learning/setting up completely different things useful for my automation setup. It's a bit difficult to context shift between TensorRT object detection or OpenWRT/WireGuard configuration back to lights. 🙄
Lights are still important part of my setup. I've just resolved the light switch need using Milight/Miboxer switches as it IMO took LIFX way too long to come up with a solution themselves.
Thanks, the Lifx Switch has just been released in the US also.
Ah I didn't know that. It won't help though as I'm on the EU market. But regardless, at least the initial switch product is not something I'm interested in due to the limited feature set and relatively high price. So it's very unlikely to end up in my hands for me to play with...
I do feel this node should support it for completeness sake and it shouldn't be a big effort to add support if it first gets implemented to lifx-lan-client.
Still crossing my fingers for this to happen ... hopefully one day.
I've added a "help wanted" label to this issue and the related issue in lifx-lan-client repo. Unfortunately it's the best I can do. There's little motivation for me to put time on this as I've solved the issue of physical switches years before LIFX announced their own switch.
Currently I'm using a mixture of simple 433MHz switches + Sonoff RF Bridge, Milight controllers + Milight MQTT bridge (= ESP8266/NRF24L01+ radio), Flic BLE buttons + Flic server and Zigbee switches/dimmers + zigbee2mqtt.
If someone would buy/send me a LIFX Switch, I could do this out of curiosity though. I have no plans on getting one for myself as I find the product too limited and expensive compared to the alternatives. I also live on a rental apartment which limits me to battery operated switches.
Hi there!
Firstly, great work on this node. I have used it to great effect for my many LIFX bulbs.
I have expanded my setup to include LIFX Switches, to allow the control of "dumb" lights, however I cannot add them to your node using the device ID as I can with bulbs. The node cannot resolve the ID to an IP.
Wondering if you have intentions to add this capability, or if I may request it be added?
The switch-specific commands can be seen here as defined by the LIFX API. https://lan.developer.lifx.com/docs/switch-messages
Thanks again!