Open ryanlm opened 5 years ago
Hmmm, I have a dozen virtual on/off devices working in HomeKit via HKB and your device simulation shows that it is correctly detecting the state. The logs also look correct. Can you verify that using the Indigo UI will properly turn on and off the device AND (the AND is critical here) that you can see the device state change in Indigo AND (yup, again) that the variable you assigned to the virtual group as the device state is changing each time?
I am trying to get a Insteon Keypad's buttons to work. In short, I created virtual on/off devices and used triggers in Indigo to set the state. However, when mapping the virtual on/off device to a HomeBridge switch, it only works one way via the Home app on iOS. It does update correctly when using the physical switch/keypad.
Expected Behavior
Clicking the virtual device presented as a switch, tapping it should turn it on, and tapping it again should turn it off.
Current Behavior
The state never changes in Indigo of the virtual device. The logs show either the ON request coming in or the OFF request coming in, but not each. Stated another way, if I create one virtual device it will only see ON requests from the Home App. If I create another one it may only see OFF requests. Seems random.
Steps to Reproduce (for bugs)
Versions
v1.0.2 released on July 18, 2018 Fresh install of this plugin and
Configuration
Homebridge Log / Command Output
Device Simulation Report