how can i do this? would rather not create scene. thanks
Are you using PLEG? I think you could achieve this. But the example below would always turn the device right of again, but it’s a start.
INPUT:
LightIsOn
CONDITION:
(LightIsOn;NOW>00:00:01)
=> This means “If the time in between when the light was turned on on now is bigger than one second”
ACTION:
Turn of the light.
@sewers0000 - You can’t.
This switch module does not have an inbuilt momentary option. Nor does it have a fail safe or timeout option to turn it off. The only way to operate this switch is with discreet commands. The controller(Vera) must send an On command and it must then send an Off command.
A Vera scene that turns the switch On and then, with a 1 second delay, turns it back Off is the simplest and most straight forward way to do this with a stock Vera. Another similar method is to use an Off scene that utilizes the switch’s On state as a trigger and then turns the switch off.
@chixxi - A PLEG could be used to do a similar operation. However, since the PLEG NOW timer is evaluated each minute(1 minute resolution), your logic could take anywhere from 1 second to 1 minute to be evaluated as TRUE and activate. So the time to turn the switch off would be very unreliable and not suited for emulating a momentary switch, as he is attempting to do.
To make sure that the switch is only on for a second a PLEG Action would need to turn the switch On and then with a 1 second delay, turn it back Off again, exactly as you would do with a scene as described above. Or you could use a PLEG condition like; if LightsOn == TRUE then Action Off, which could theoretically take less than 1 second to complete because that PLEG should turn the light Off the moment that it sees the light turn On.
@thanks, didn’t know about the one minute resolution of PLEG NOW!
z-wave, i apologize for my lack of knowledge about the verde system. i can rebuild almost anything mechanical but when it comes to stuff like this i get lost. if you don’t mind, could you explain exactly how i can create this scene. thanks in advance, jimmy.
There’s no need to apologize! However, basic scene creation is covered in the fine manual.
In this case, begin at the Automation tab:
-
Click “New Scene” menu option, then in the New Scene field, on the left side of the page, give the scene a meaningful name like MomentaryOn. Also, click the On button on the FS20z-1 device on the same page.
-
Click the “Immediate” drop down, next to the field where you entered MomentaryOn, and choose “Manage Delays”. Type a 1 in the “Add” field at the bottom and click the “seconds” button. Then click the “Close” button.
-
Where the “Immediate” drop down use to be, it should now say “1s”. If not click the “Immediate” drop down and choose “1s”. Then click the Off button on the FS20Z-1 device on the same page.
-
Click “Confirm Changes” then Save.
Now when you click run for the MomentaryOn scene, it will turn the FS20Z-1 On and 1 second later it will turn the FS20Z-1 Off.
You could also do more with this like adding a trigger to the scene so that when something happens, lets say a light is turned on or a motion sensor is tripped, the scene runs automatically, turning the FS20Z-1 On and then Off.
Got it, thanks! so the only way to use it now is thru the scene i created? if i install the garage app it would control thru that? or should i just leave it as is? thanks, jimmy
So, this is the first time you are letting us know that this is for a garage door. I should have guessed.
So far as I know the garage door app won’t use a scene, it will only use the device itself. But, the good news is that the Garage Door plugin has the built-in intelligence to turn the switch on and then immediately turn it back off.
I use the garage door plugin myself and prefer to still have a scene that detects the switch being On as a trigger that immediately turns it back off. This may help if the Garage Door plugin’s Off command doesn’t get through for some reason. It will definitely help prevent manually turning the switch On and accidentally leaving it On since, the moment the switch is turned On, the Off scene will turn it Off.
-
Automation Tab → New Scene. Name it and click the Off button on the FS20Z-1 switch on that page.
-
Go to the Triggers tab and click Add trigger. Choose the FS20Z-1 switch from the drop down list.
-
Choose “A device is turned on or off” from the next drop down. Name the trigger anything you like, “t1” perhaps. Choose “Device is turned on” from the next drop down.
-
Click “Confirm changes” then Save.
Now, every time anything turns the switch On, the scene will immediately turn it back Off.
thanks zwave, works perfectly. i tried setting up an outlet to turn on 15 mins before sunset and off at 1am. i tried creating a scene and then a schedule but im having no luck. any advise? i will get this sooner or later. thanks for all your help. jimmy
@sewers0000 - I think that this is a different subject so it would be better to start a different thread.
I would recommend two scenes, one to turn On at the scheduled time and one to turn Off at the scheduled time.