This object is in archive! 
Create a Virtual Touch Sensor or Impulse Switch
Need Answer
Hi,
I want to create a virtual touch sensor or "impulse switch". I.e. I want
some sort of virtual device that does NOT toggle between On and Off.
Preferably it should not have any state at all. I just want to use it to
trigger a rule every time the sensor or switch is pressed.
Zipato support says that "[t]o achieve this you will need to have actuator and control device both added to your controller."
How would I create this?
No connection
Real-time notifications may not work
Henrik,
You can easily achieve that with either a virtual switch or a virtual sensor. You will have to set up a rule to make it momentary though since there is no "momentary virtual switch" available to add in zipato yet.
You would have to add a rule which would say WHEN momentary Switch = ON, WAIT for 2 or 3 seconds, ACTION TURN OFF momentary switch.
Henrik,
You can easily achieve that with either a virtual switch or a virtual sensor. You will have to set up a rule to make it momentary though since there is no "momentary virtual switch" available to add in zipato yet.
You would have to add a rule which would say WHEN momentary Switch = ON, WAIT for 2 or 3 seconds, ACTION TURN OFF momentary switch.
Hi Henrik,
I guess I don't fully understand what you meant. You just cannot have a device or variable that does not have any state, no programming language works without events and states, and at least you need a binary state.
With that being said, I don't think you need a virtual sensor or switch in order to start a rule when a sensor or switch is pressed, if you have a switch or sensor already added to the the system (regardless which sensor you are using to connect to it) it already has events, in case of the switch it should have at least ON, OFF and ANY.
Would you mind telling me wich devices are you trying to use in this rule?
Hi Henrik,
I guess I don't fully understand what you meant. You just cannot have a device or variable that does not have any state, no programming language works without events and states, and at least you need a binary state.
With that being said, I don't think you need a virtual sensor or switch in order to start a rule when a sensor or switch is pressed, if you have a switch or sensor already added to the the system (regardless which sensor you are using to connect to it) it already has events, in case of the switch it should have at least ON, OFF and ANY.
Would you mind telling me wich devices are you trying to use in this rule?
Replies have been locked on this page!