Control Hue light with KaKu switch
Posted: Monday 18 January 2016 10:05
I have a Hue bridge connected to my Domoticz system. I have a KaKu (AWMT-230) transmitter connected to a wall switch. This switch does not control a physical light and is only registered in Domoticz to control a Hue light.
I have made a blocky script that turns on the Hue light when the KaKu switch is on and turns it off when the switch is off.
The problem is that i also (want to) control the Hue light with a group and/or timer and/or Hue app. When i want to turn the Hue light off with the KaKu switch and the switch is in already in the OFF-position, flipping the switch will result in a ON-signal so the light stays on.
What i want:
When the light is ON, and the switch sends an OFF signal > turn OFF the light
When the light is ON, and the switch sends an ON signal > turn OFF the light
When the light is OFF, and the switch sends an ON signal > turn ON the light
When the light is OFF, and the switch sends an OFF signal > turn ON the light
or:
When then status of the switch changes, change the status of the light
I have made a blocky script that turns on the Hue light when the KaKu switch is on and turns it off when the switch is off.
The problem is that i also (want to) control the Hue light with a group and/or timer and/or Hue app. When i want to turn the Hue light off with the KaKu switch and the switch is in already in the OFF-position, flipping the switch will result in a ON-signal so the light stays on.
What i want:
When the light is ON, and the switch sends an OFF signal > turn OFF the light
When the light is ON, and the switch sends an ON signal > turn OFF the light
When the light is OFF, and the switch sends an ON signal > turn ON the light
When the light is OFF, and the switch sends an OFF signal > turn ON the light
or:
When then status of the switch changes, change the status of the light