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