Thanks, Sweebee
I have try it but where can i put the resettime. I would like to receive when the PIR is true or high and that i can reset the PIR with a resetTime in the config. Now will reset the PIR by the debug of the AWST.
MOTION
debug [pimatic-homeduino]: contact1: { id: 16846042, all: false, contact: false, unit: 9 }
12:53:50debug [pimatic-homeduino]: pir5: { id: 16846042, all: false, presence: true, unit: 9 }
12:53:50debug [pimatic-homeduino]: switch1: { id: 16846042, all: false, state: true, unit: 9 }
12:53:50debug [pimatic-homeduino]: received: [ 264, 1080, 2564, 9452 ] 020001010000010001000100010001000100010100000100010001000101000100000100010100010000010100010000010100000100010100010000010001010003
12:53:50debug [pimatic-homeduino]: data: "RF receive 264 2564 1080 9452 0 0 0 0 010002020000020002000200020002000200020200000200020002000202000200000200020200020000020200020000
DEBUG SENDING FROM AWST-6000 after 5 seconds
debug [pimatic-homeduino]: contact1: { id: 16846042, all: false, contact: true, unit: 9 }
12:58:28debug [pimatic-homeduino]: pir5: { id: 16846042, all: false, presence: false, unit: 9 }
12:58:28debug [pimatic-homeduino]: switch1: { id: 16846042, all: false, state: false, unit: 9 }
12:58:28debug [pimatic-homeduino]: received: [ 268, 1084, 2552, 9532 ] 020001010000010001000100010001000100010100000100010001000101000100000100010100010000010100010000010100000100010001010000010001010003
12:58:28debug [pimatic-homeduino]: data: "RF receive 268 2552 1084 9532 0 0 0 0 010002020000020002000200020002000200020200000200020002000202000200000200020200020000020200020000
I would like to reset the pir after 1/2 hour but on the AWST is is the max 10 minutes.
THANKS gerrit