How to generate a short (1 second) negative pulse
Posted: Thursday 14 January 2016 11:40
Hello,
I have a zwave relay (Qubino ZMNHND1 Flush 1D relay) which commands an alarm. The relay is normally closed and to arm or disarm alarm, it should open for a short time and then close. I have tried a lua script:
but it does nothing. This works only for a pulse >= 3 seconds:
It's possible to generate a short positive pulse with a scene:
But it doesn't work for an Off command:
Switch goes Off immediately but never return to on.
I have a zwave relay (Qubino ZMNHND1 Flush 1D relay) which commands an alarm. The relay is normally closed and to arm or disarm alarm, it should open for a short time and then close. I have tried a lua script:
Code: Select all
commandArray[1] = {['Alarm command'] = 'Off'}
commandArray[2] = {['Alarm command'] = 'On AFTER 1'}
Code: Select all
commandArray[1] = {['Alarm command'] = 'Off'}
commandArray[2] = {['Alarm command'] = 'On AFTER 3'}
Code: Select all
Command: On
On delay: 0
Off delay: 1
Code: Select all
Command: Off
On delay: 1
Off delay: 0