Originally posted by Wade
View Post
Announcement
Collapse
No announcement yet.
Remove/hide button for virtual device
Collapse
X
-
Leave a comment:
-
In HS4 control values are on the top and status display is on the bottom. The top is the control buttons and their labels, the bottom is the status display related to values.
You can define them differently such that the button is labeled “Up” but status displays “Volume “Up”.
As such you can have only two control values but offer the third neutral status. You will not be able to set the status by an event action, but it can be set by an immediate script. I do agree with the posts above that if you use “This Device had its value set to…” will work. Each time the button is “pressed” its value will be set. Even if the value is volume up, press it again and it is set to volume up.
Leave a comment:
-
I guess I don't understand how your system works. I see you have 0, 50, and 100 under Status/Graphics but you don't have @, Up, or Down under Status for the values. Why do you need "50" as a control value?
Leave a comment:
-
Originally posted by avmike View PostThe problem is that I need it to go back to some "center" position, so I can execute an UP or DOWN, or multiple UPs or DOWNs. I need to the virtual switch to act like a momentary rocker, rather than a two position rocker switch.
IF VD1 has its value set to ON
THEN increment TestCounter
IF VD1 has its value set to OFF
THEN decrement TestCounter
I'm able to repeatedly increment and/or decrement the counter with multiple presses of VD1's On and Off buttons. In other words, when the event action is "has its value set to" the first event fires every time the ON button is pressed, regardless of whether the device is On or Off.
Leave a comment:
-
Not sure where to do that. If I remove it from the controls section - I lose the ability to have that 3rd position that I need, so that I can throw the switch to UP or DOWN and have it issue the command. I need that "3rd position" for the switch - just want it to be hidden, no button showing in the UI.
Leave a comment:
-
Under Status/Graphics you should be able to change "@" to Status vs. Control or Both.
Leave a comment:
-
The problem is that I need it to go back to some "center" position, so I can execute an UP or DOWN, or multiple UPs or DOWNs. I need to the virtual switch to act like a momentary rocker, rather than a two position rocker switch.
Leave a comment:
-
I don't know what your events look like, but it sounds like perhaps you're using "IF device changes and becomes [up]". You might be able to use "IF device has its value set to [up]" and it should trigger without having to be set to [@] between presses. I believe you'll also need to uncheck "Last Change Time Updates on Status Change Only" in the device config.
Leave a comment:
-
Remove/hide button for virtual device
I have created a virtual device to act as a volume control for my theater processor. When you click "up" it triggers an event to send an XML payload to the processor to increase volume by 1db, the event also sets the status of the device back to "@". So that if you can click "up" again to raise volume by 1db again. It works great, but I would like to hide the button labeled "@". I need the 3rd state of the virtual device, but don't need it available for the user to push.
Any ideas? or a different approach?
Tags: None
Leave a comment: