Replies: 2 comments 5 replies
-
You can already do this in a couple ways: |
Beta Was this translation helpful? Give feedback.
5 replies
-
Thanks for the suggestion on using Scene. I agree that there could be multiple ways to handle it. One way is what you said, it requires more work in HA. Another way is what I mentioned here, so setup in HA is easier and streamlined via MQTT discovery. IMHO, it would be better that insteon-mqtt hides insteon-specific device handling. In my use case, it is no appealing reason to expose KPL to HA. A virtual fanlinc as the gateway for both KPL and real fanlinc is a cleaner solution. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First, some background information: 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. Based up @kpfleming's feedback. the synchronization hasn't been supported yet.
Here is an idea to workaround this issue: creating virtual devices. Basically, user specifies virtual devices in configuration yaml file, those virtual devices would communicate with MQTT, and the real insteon devices wouldn't communicate MQTT directly. The topology looks like this: MQTT<->Virtual Devices<->Real Devices. In my case, it would be one virtual FanLinc exposed to MQTT, and real KPL and Fanlinc are hidden. The command from MQTT would translate to scene command sending to both KPL and Fanlinc, And any status change from KPL and Fanlinc is mapped to the virtual Fanlinc status change and send to MQTT.
Some details to be worked out, for example, how to specify the mapping between virtual devices and real devices. I have some idea about it. If this idea was adopted, we can discuss more details.
Thanks for the consideration!
Beta Was this translation helpful? Give feedback.
All reactions