Event - Toggle on receiving any command

Homeseer Forum in het Nederlands (DUTCH forum)

Moderator: Ruud

Post Reply
DJF3
Advanced Member
Advanced Member
Posts: 895
Joined: Thu Jul 12, 2007 9:28 am
Contact:

Event - Toggle on receiving any command

Post 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:
User avatar
Phaeton
Advanced Member
Advanced Member
Posts: 573
Joined: Wed May 19, 2010 12:44 pm
Location: Wassenaar
Contact:

Re: Event - Toggle on receiving any command

Post 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
Last edited by Phaeton on Tue Dec 02, 2014 9:39 am, edited 1 time in total.
groeten,
Harry
User avatar
Phaeton
Advanced Member
Advanced Member
Posts: 573
Joined: Wed May 19, 2010 12:44 pm
Location: Wassenaar
Contact:

Re: Event - Toggle on receiving any command

Post by Phaeton »

Script can also be event

Verstuurd vanaf mijn Nexus 5 met Tapatalk
groeten,
Harry
AshaiRey
Senior Member
Senior Member
Posts: 1310
Joined: Mon Feb 02, 2009 5:27 pm
Location: Netherlands
Contact:

Re: Event - Toggle on receiving any command

Post 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. :)
Bram
DJF3
Advanced Member
Advanced Member
Posts: 895
Joined: Thu Jul 12, 2007 9:28 am
Contact:

Re: Event - Toggle on receiving any command

Post 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 4854 times

Cheers
DJ
Post Reply

Return to “Homeseer algemeen Forum”