Page 1 of 1

Event - Toggle on receiving any command

Posted: Tue Dec 02, 2014 12:02 am
by DJF3
Team,

I have a KAKU switch (wall remote - AWST88xx) that I would like to use toggle a non-KAKU lamp
So regardless of the Lamp status, I would like to toggle it by pressing ON OR OFF

> press KAKU1 OFF --> toggle Lamp H3
> press KAKU1 ON --> toggle Lamp H3

Unfortunately these switches are not X10 where you can trigger based on "receiving a command". The KAKU devices can only trigger events based on Status change
Where it fails:
1. Switch ON H3 by pressing KAKU1 ON (H3 on /KAKU1 on)
2. Switch OFF H3 using iPhone app (H3 off / KAKU1 on)
3. Switch ON H3 by pressing KAKU1 ON
---> Now no event will trigger because the wall-switch device KAKU1 already was on and pressing on again therefore doesn't trigger anything.

Any ideas how I could solve this?
:lol:

Re: Event - Toggle on receiving any command

Posted: Tue Dec 02, 2014 9:37 am
by Phaeton
Create a script that switches a virtual device connected to the kaku switch to neutrale a couple of seconds after a toggle

Verstuurd vanaf mijn Nexus 5 met Tapatalk

Re: Event - Toggle on receiving any command

Posted: Tue Dec 02, 2014 9:38 am
by Phaeton
Script can also be event

Verstuurd vanaf mijn Nexus 5 met Tapatalk

Re: Event - Toggle on receiving any command

Posted: Tue Dec 02, 2014 4:58 pm
by AshaiRey
Create an event that trigger at a value change (or 0 and 100) and toggle the lamp AND in the same event set the device value of the device that triggers this event at 50.

Or use the powertrigger plugin for even more advanced switching. :)

Re: Event - Toggle on receiving any command

Posted: Tue Dec 02, 2014 11:30 pm
by DJF3
Think I found it... and documented the solution

(ps. scroll down to see the entire picture)
KAKU toggle switch explanation
KAKU toggle switch explanation
kakutoggleswitch.png (230.42 KiB) Viewed 5232 times

Cheers
DJ