how to change the status of a sensor ?
Posted: Monday 16 May 2016 18:53
Hi,
I have a magnetic door sensor PT2262 (RFXCOM - lighting 4) that only send On.
I would like to change its status with a LUA script. How to do that in LUA ? (I don't want to use the Off delay option of the interface.)
I have tried : commandArray['MailBox']='Off' and 'Closed' without success.
My use case is : My Mailbox switches On when receiving mails and returns Off at midnight.
I have a magnetic door sensor PT2262 (RFXCOM - lighting 4) that only send On.
I would like to change its status with a LUA script. How to do that in LUA ? (I don't want to use the Off delay option of the interface.)
I have tried : commandArray['MailBox']='Off' and 'Closed' without success.
My use case is : My Mailbox switches On when receiving mails and returns Off at midnight.