Replies: 5 comments 4 replies
-
When HA activates the fan is it turning on the scene for that selected speed, or is it sending a command directly to the FanLinc? It's probably the latter (that is the default behavior), so the KPL button doesn't have anything to respond to since it doesn't 'snoop' on direct commands to the FanLinc. |
Beta Was this translation helpful? Give feedback.
-
Not today, no. Ideas for how to build a configuration which could do this are certainly welcome, but note that at the moment insteon-mqtt doesn't even have the ability to send the 'turn LED on' command to a KPL. |
Beta Was this translation helpful? Give feedback.
-
See the docs here: https://github.com/TD22057/insteon-mqtt/blob/master/docs/mqtt.md#keypadlinc So if you have a keypadlinc button that does what you want (change the fan state), you can have home assistant send a scene command which will trigger that state. What I don't know is if the keypad will honor the radio settings in that case and turn the other LED's off - we had talked about implementing that at some point but I'm not sure where it's at right now. You could implement an automation in home assistant to do that using the direct on/off commands to insure the radio lights are kept in sync. |
Beta Was this translation helpful? Give feedback.
-
That's my point - it already can I think. If you send a scene command to the keypadlinc, that triggers the scene which will cause the fanlinc to update and the keypadlinc to update. That should also emit the state update messages from each device to update HA w/ the correct states. The simplest way to try this out is to skip HA and just use mosquitto_pub (or something similar) to send some MQTT commands directly and see what happens. If you decide to create a switch in HA that sends multiple on/off commands (change fan, change LED's) I'm not sure what you mean by "race condition" - as far as I can see there isn't anything that conflict so there can't be a race. I don't believe calling on/off on the LED's triggers their scene so the only interaction is calling on/off on the fanlinc (which also wouldn't trigger the scene AFAIK). |
Beta Was this translation helpful? Give feedback.
-
Ahh, sorry for the misinformation above... clearly I haven't been keeping up with feature development here :-) |
Beta Was this translation helpful? Give feedback.
-
My setup has a 6-button KPL controlling fanlinc ( buton 3-6 of KPL are radio type and are mapped to fan speed high/med/low/off via insteon scenes). It has been integrated into homeassistant via insteon-mqtt. HA can control the light and fan without any issue. However, the command from HA to Fanlinc doesn't change LEDs on KPL. I updated scenes.yaml file to match all scenes used between PLM/KPL/FanLinc. It didn't help either. How do I update insteon-mqtt configuration files to keep HA/KPL/FanLinc in sync? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions