TedTolboom / dk.logichome

App to add support for Logic Home Control devices in Homey.
MIT License
2 stars 3 forks source link

Relay/button sync #9

Closed lurendrejer closed 6 years ago

lurendrejer commented 6 years ago

Something odd is going on when settings the relay to follow button2.

If the RELAY is switched on through the app, BUTTON1 also switches to ON. If you then switch on BUTTON2 - BUTTON1 switches OFF and the RELAY gives an error in the app.

lurendrejer commented 6 years ago

I've been trying to map this behavior out through the desktop app. It doesn't make that much sense - but the pattern is always the same:

Setup: ZHC5010 with button2 controlling the relay: Starting position: All buttons and relay off - through the app.

Test-pattern: Physically switch button2 ON:

Physically switch button2 OFF:

Physically switch button1 OFF:

It looks like Button1 always follows the relays status in Homey. But the relay doesn't follow Button1 when it's status is changed.

lurendrejer commented 6 years ago

Oh my god... sorry for wasting anybodys time. This was caused by a rouge flow - before i completely dumped zigbee i had a bunch of failsafe flows to keep the relay on when any button was pushed...

My bad!