Is there a way to handle multiple events with a button? For instance, you press the button and it triggers an event to turn everything on in a game room. Then you press it again and it turns everything off. The few ways I have tried have failed miserably.
Announcement
Collapse
No announcement yet.
Are multiple events possible with a button?
Collapse
This topic is closed.
X
X
-
i know there are smarter people who can likely do it "cleaner" than this, but what I've done from time to time is to create a virtual device and use it as a "toggle." so "g1" = GameRoomTrigger device. then you'd build two events, one triggered when g1 changes to ON, with the actions of turning everything on. then build another event triggered by g1 changing to OFF, which would turn everything off.
then in HSTouch your button would toggle that device, probably w/alt. text showing it on or off or something like that. Let me know if you need help setting up the toggle or device tracking in HStouch.
IanPlugins:
BLLogMonitor, BLGarbage, BLBackup, BLOutGoingCalls, BLUps, BLRfid, JvEss, DooMotion, Applied Digital Ocelot, AC RF Processor, UltraMon, PJC AVR 430, UPB, Rain8net, DSC Panel, JRiver Media center, Windows Media Player, SageMediaCenter, SnevlCID, MCSTemperature.
-
You can put two buttons there, and have opposite events hide the button that called it and show the button that calls the other event. I've done that.
Or just write a small script to call one then the other, based on the state of your virtual (or variable).
--DanTasker, to a person who does Homeautomation...is like walking up to a Crack Treatment facility with a truck full of 3lb bags of crack. Then for each person that walks in and out smack them in the face with an open bag.
Comment
-
In HSTouch I just use the built in toggle setting in the "action editor" to toggle my virtuals on and off and trigger events on or off.Marty
------
XPpro SP3 /w HS Standard 2.5.0.80, HSTouch Server - 1.0.0.70, HSTouch Client 1.0.0.73 HSTouch Android - 1.0.0.2, HSTouch iPhone - 1.0.0.2
Playing with HS3 a bit but it's just play at this point.
Comment
-
I use two events that are based on the virtual status.
when the virtual turns on, the event that turns on everything I wanted runs.
When the virtual turns off the event that turns off everything that the on event turned on.
This is all based on the toggle button in HSTouch or any keypad in the house, turning on or off a virtual device.
Below is a small sample to get you startedMarty
------
XPpro SP3 /w HS Standard 2.5.0.80, HSTouch Server - 1.0.0.70, HSTouch Client 1.0.0.73 HSTouch Android - 1.0.0.2, HSTouch iPhone - 1.0.0.2
Playing with HS3 a bit but it's just play at this point.
Comment
-
Originally posted by nightwalker View PostI use two events that are based on the virtual status.
when the virtual turns on, the event that turns on everything I wanted runs.
When the virtual turns off the event that turns off everything that the on event turned on.
This is all based on the toggle button in HSTouch or any keypad in the house, turning on or off a virtual device.
Below is a small sample to get you started
Thanks again.
Comment
-
Originally posted by nightwalker View Postno worries, we all over think it once in a while.
IanPlugins:
BLLogMonitor, BLGarbage, BLBackup, BLOutGoingCalls, BLUps, BLRfid, JvEss, DooMotion, Applied Digital Ocelot, AC RF Processor, UltraMon, PJC AVR 430, UPB, Rain8net, DSC Panel, JRiver Media center, Windows Media Player, SageMediaCenter, SnevlCID, MCSTemperature.
Comment
-
Like marty said - we've all had those days! That's the beauty of this message board community, it's very friendly and helpful!
IanPlugins:
BLLogMonitor, BLGarbage, BLBackup, BLOutGoingCalls, BLUps, BLRfid, JvEss, DooMotion, Applied Digital Ocelot, AC RF Processor, UltraMon, PJC AVR 430, UPB, Rain8net, DSC Panel, JRiver Media center, Windows Media Player, SageMediaCenter, SnevlCID, MCSTemperature.
Comment
-
Originally posted by completelyhis View PostLike marty said - we've all had those days! That's the beauty of this message board community, it's very friendly and helpful!
Ian
Comment
Comment