Getting (re) started with Indigo/Insteon and Homekit
Posted: Fri Oct 25, 2019 8:36 pm
Hi, I'm a long time Indigo / Insteon user. I'm just in the process of trying to improve my config, as I've just updated from 7.1 to 7.4 and there are some new things, so I'm looking for best practices these days.
Most of my config are two way Insteon switches, with a few cases of Insteon keypads where I'd like the button to control / and update on changing a load. I also use Control pages, where typically I use something like:
to control the combinations via scenes. Now I'm wondering what the best way to expose these to HomeKit, since I can easily expose the load, but then the matching controller doesn't change.
It looks like virtual devices are new... I guess I could create an action group pair (on and off) for each scene? (can a single action group be sent an on or off)? and then hook the HomeKit device to a virtual device?
In any case, I'm sure some of you have done this already, and I'd love the latest tricks!
Most of my config are two way Insteon switches, with a few cases of Insteon keypads where I'd like the button to control / and update on changing a load. I also use Control pages, where typically I use something like:
- Code: Select all
lamp = indigo.devices["Kitchen Island (K)"]
sceneNum = 26
lightOn = 0
if hasattr(lamp, 'onState'):
lightOn = lamp.onState
if lightOn:
indigo.insteon.sendSceneOff(sceneNum)
else:
indigo.insteon.sendSceneOn(sceneNum)
to control the combinations via scenes. Now I'm wondering what the best way to expose these to HomeKit, since I can easily expose the load, but then the matching controller doesn't change.
It looks like virtual devices are new... I guess I could create an action group pair (on and off) for each scene? (can a single action group be sent an on or off)? and then hook the HomeKit device to a virtual device?
In any case, I'm sure some of you have done this already, and I'd love the latest tricks!