siemens byron pir
Posted: Tuesday 02 February 2016 12:00
Hi Guys,
I've just bought some siemens PIR sensors and am trying to get them to work with my lights -
I am using the scripts on the wiki - https://www.domoticz.com/wiki/Smart_Lua_Scripts
I've noticed that the motion sensor status is always on, there is no where in the script that turns it off.
So when the script has the following -
tc=next(devicechanged)
If the status for the pir doesn't change - then it doesn't get through the code, because there's nothing in the script to change it from on to off.
Please help, can't seem to get it to work.
PIR is being picked up and sends a on status, but the script doesn't seem to be running.
Thanks
I've just bought some siemens PIR sensors and am trying to get them to work with my lights -
I am using the scripts on the wiki - https://www.domoticz.com/wiki/Smart_Lua_Scripts
I've noticed that the motion sensor status is always on, there is no where in the script that turns it off.
So when the script has the following -
tc=next(devicechanged)
If the status for the pir doesn't change - then it doesn't get through the code, because there's nothing in the script to change it from on to off.
Please help, can't seem to get it to work.
PIR is being picked up and sends a on status, but the script doesn't seem to be running.
Thanks