True two-way switch with KAKU/CICO and domoticz

Moderator: leecollings

Post Reply
mrblond18
Posts: 9
Joined: Monday 21 December 2015 11:40
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: netherlands
Contact:

True two-way switch with KAKU/CICO and domoticz

Post by mrblond18 »

I have lightbulb with a KAKU fitting switch as here:
http://www.klikaanklikuit.nl/shop/nl/pr ... ar-afr-61/

I have equipped an existing wall switch with an integrated transmitter as here:
http://www.klikaanklikuit.nl/shop/nl/pr ... -awmt-231/

I want to be able to switch the light with both the existing wall switch and from Domoticz. I coupled the KAKU transmitter in the wall switch with the fitting switch and learned domoticz this same switch. I can turn the light on or off with both the wall switch or from domoticz, in general it works. But, when I turn the light on with the wall switch it sends an on signal to the fitting switch (OK), domoticz also detects this and knows the light is on, I can send an off signal from domoticz and the light turns off (OK). However, while the light is off, the wall switch is in the "on" position. So if I switch the wall switch, it is switched to off and sends an off signal while the light is already off, nothing happens. If I flip the switch again, an on signal is send and the light turns on. (the same story about turning off the lamp can be told) There is a delay of about 1 second between switching the wall switch and the light reacting. All in all this does not increase the WAF.

To try to fix this I decoupled the wall switch from the fitting switch. In domoticz I created a new switch which I coupled with the fitting switch and I learned the wall switch in domoticz. In domoticz I can detect when the wall switch is flipped and if this happens I can turn the light either on or off (using LUA or blocky). This functions as a classic two way switch as shown e.g. here:
http://www.electronics-project-design.c ... Switch.GIF
However, detecting if the wall switch is flipped and then sending the on or off signal to the fitting switch takes 3 seconds (maximum). Regarding WAF this is not accepted...

Do any of you guys know how to decrease the delay or have a different solution for this?
joost81
Posts: 4
Joined: Wednesday 22 July 2015 12:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: True two-way switch with KAKU/CICO and domoticz

Post by joost81 »

I have exactly the same setup. And besides the delay, sometimes the wall switch is received by domoticz but the corresponding signal is not send to the fitting. When you then switch again, you first get another on signal before you can switch off again because of the wrong status caused by the first action.
No problem when you only have KAKU switches, but a real anoying thing when you also have dimmers (like I do). All the lights start fading until you send another on signal.
Not good for the WAF! ...and I don't like it either.

Maybe investing in ZWAVE or MySensors sometime.
b_weijenberg
Posts: 517
Joined: Friday 12 July 2013 18:13
Target OS: -
Domoticz version:
Location: Netherlands
Contact:

Re: True two-way switch with KAKU/CICO and domoticz

Post by b_weijenberg »

To avoid that the dimmer enters the dim cycle transmit a SET DIM LEVEL to the highest dim level instead of an ON command.
RFXtrx433, RFXtrx433E, RFXtrx433XL, RFX433XL, RFX868XL
joost81
Posts: 4
Joined: Wednesday 22 July 2015 12:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: True two-way switch with KAKU/CICO and domoticz

Post by joost81 »

That's a good idea. I didn't even think of that.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest