-
Notifications
You must be signed in to change notification settings - Fork 80
Description
Hi
I am having a strange issue where my multi-sensor device seems to stop checking my DHT22 sensor values (TEMP and HUM) when the I set the motion sensors interrupt mode to CHANGE ("motion.setInterruptMode(CHANGE);". The unit does not actually freeze as the interrupt sensors still work but the battery and DHT22 sensor just seem to stop reading and sending data through. I have even tried specifically setting the setReportIntervalMinutes value on each of the sensors. When I set the setInterruptMode back to default then this problem seems to go away. I have lowered all timeouts and sleep intervals for testing.
Below are the logs:
[Starting] Opening the serial port - COM5
[Info] Opened the serial port - COM5
0 NM:INIT:VER=1.8-dev
0 NM:INIT:INO=NodeManager-DoorSensor v0.4
0 NM:INIT:LIB VER=2.3.0 CP=RNNNA---
0 NM:INIT:RBT p=255
20 NM:BFR:INIT
4093 NM:BFR:OK
4112 NM:PRES:CONFIG(200) p=23 t=48
4151 NM:PRES:BATTERY(14) p=30 t=38
4190 NM:PRES:DHT22(1) p=6 t=0
4225 NM:PRES:DHT22(2) p=7 t=1
4294 NM:PRES:DOOR(3) p=0 t=16
4362 NM:PRES:MOTION(4) p=1 t=16
4470 NM:MSG:RECV(200) c=0 t=23 p=CONFIG
4511 NM:PWR:ON p=7
4532 NM:MSG:RECV(14) c=0 t=30 p=BATTERY
4575 NM:PWR:ON p=7
4595 NM:MSG:RECV(1) c=0 t=6 p=DHT22
4632 NM:PWR:ON p=7
4704 NM:PWR:OFF p=6
4724 NM:PWR:OFF p=6
4745 NM:PWR:OFF p=6
4767 NM:PWR:ON p=7
4839 NM:STP:ID=1 M=1
4861 NM:BFR:INT p=3 m=1
4886 NM:BFR:INT p=2 m=1
4911 NM:PWR:OFF p=6
5005 NM:STP:HW V=3319 F=9 M=843
5040 NM:PWR:ON p=7
5566 NM:LOOP:BATTERY(14):SET t=38 v=3.91
5611 NM:MSG:SEND(14) t=38 p=3.91
5652 NM:LOOP:DHT22(1):SET t=0 v=23.30
5699 NM:LOOP:DHT22(2):SET t=1 v=53.00
5738 NM:MSG:SEND(1) t=0 p=23.30
5775 NM:MSG:SEND(2) t=1 p=53.00
5810 NM:PWR:OFF p=6
5830 NM:SLP:SLEEP s=60
5859 NM:MSG:RECV(1) c=1 t=0 p=
5892 NM:PWR:ON p=7
5912 NM:MSG:RECV(2) c=1 t=1 p=
5945 NM:PWR:ON p=7
6014 NM:PWR:OFF p=6
6035 NM:PWR:OFF p=6
8040 NM:LOOP:INT p=2 v=0
8067 NM:SLP:AWAKE
8085 NM:PWR:ON p=7
8155 NM:LOOP:MOTION(4):SET t=16 v=0
8192 NM:MSG:SEND(4) t=16 p=0
8224 NM:PWR:OFF p=6
8245 NM:SLP:SLEEP s=60
8273 NM:MSG:RECV(4) c=1 t=16 p=
8306 NM:PWR:ON p=7
8378 NM:PWR:OFF p=6
10455 NM:LOOP:INT p=2 v=1
10481 NM:SLP:AWAKE
10502 NM:PWR:ON p=7
10573 NM:LOOP:MOTION(4):SET t=16 v=1
10612 NM:MSG:SEND(4) t=16 p=1
10645 NM:PWR:OFF p=6
10668 NM:SLP:SLEEP s=60
10696 NM:MSG:RECV(4) c=1 t=16 p=
10731 NM:PWR:ON p=7
10803 NM:PWR:OFF p=6
12877 NM:LOOP:INT p=2 v=0
12904 NM:SLP:AWAKE
12924 NM:PWR:ON p=7
12996 NM:LOOP:MOTION(4):SET t=16 v=0
13035 NM:MSG:SEND(4) t=16 p=0
13068 NM:PWR:OFF p=6
13090 NM:SLP:SLEEP s=60
13119 NM:MSG:RECV(4) c=1 t=16 p=
13154 NM:PWR:ON p=7
13225 NM:PWR:OFF p=6
15300 NM:LOOP:INT p=2 v=1
15327 NM:SLP:AWAKE
15347 NM:PWR:ON p=7
15419 NM:LOOP:MOTION(4):SET t=16 v=1
15458 NM:MSG:SEND(4) t=16 p=1
15491 NM:PWR:OFF p=6
15513 NM:SLP:SLEEP s=60
15542 NM:MSG:RECV(4) c=1 t=16 p=
15577 NM:PWR:ON p=7
15648 NM:PWR:OFF p=6
17725 NM:LOOP:INT p=2 v=0
17752 NM:SLP:AWAKE
17772 NM:PWR:ON p=7
17844 NM:LOOP:MOTION(4):SET t=16 v=0
17883 NM:MSG:SEND(4) t=16 p=0
17915 NM:PWR:OFF p=6
17938 NM:SLP:SLEEP s=60
17967 NM:MSG:RECV(4) c=1 t=16 p=
18001 NM:PWR:ON p=7
18073 NM:PWR:OFF p=6
20150 NM:LOOP:INT p=2 v=1
20176 NM:SLP:AWAKE
20197 NM:PWR:ON p=7
20267 NM:LOOP:MOTION(4):SET t=16 v=1
20305 NM:MSG:SEND(4) t=16 p=1
20338 NM:PWR:OFF p=6
20361 NM:SLP:SLEEP s=60
20389 NM:MSG:RECV(4) c=1 t=16 p=
20424 NM:PWR:ON p=7
20496 NM:PWR:OFF p=6
22571 NM:SLP:AWAKE
22591 NM:PWR:ON p=7
22661 NM:PWR:OFF p=6
22683 NM:SLP:SLEEP s=60
24893 NM:LOOP:INT p=2 v=0
24920 NM:SLP:AWAKE
24940 NM:PWR:ON p=7
25012 NM:LOOP:MOTION(4):SET t=16 v=0
25051 NM:MSG:SEND(4) t=16 p=0
25083 NM:PWR:OFF p=6
25106 NM:SLP:SLEEP s=60
25135 NM:MSG:RECV(4) c=1 t=16 p=
25169 NM:PWR:ON p=7
25241 NM:PWR:OFF p=6
27318 NM:LOOP:INT p=2 v=1
27344 NM:SLP:AWAKE
27365 NM:PWR:ON p=7
27435 NM:LOOP:MOTION(4):SET t=16 v=1
27473 NM:MSG:SEND(4) t=16 p=1
27506 NM:PWR:OFF p=6
27529 NM:SLP:SLEEP s=60
27557 NM:MSG:RECV(4) c=1 t=16 p=
27592 NM:PWR:ON p=7
27664 NM:PWR:OFF p=6
29739 NM:LOOP:INT p=2 v=0
29765 NM:SLP:AWAKE
29786 NM:PWR:ON p=7
29857 NM:LOOP:MOTION(4):SET t=16 v=0
29896 NM:MSG:SEND(4) t=16 p=0
29929 NM:PWR:OFF p=6
29952 NM:SLP:SLEEP s=60
29980 NM:MSG:RECV(4) c=1 t=16 p=
30015 NM:PWR:ON p=7
30085 NM:PWR:OFF p=6
32161 NM:LOOP:INT p=2 v=1
32188 NM:SLP:AWAKE
32208 NM:PWR:ON p=7
32280 NM:LOOP:MOTION(4):SET t=16 v=1
32319 NM:MSG:SEND(4) t=16 p=1
32352 NM:PWR:OFF p=6
32374 NM:SLP:SLEEP s=60
32403 NM:MSG:RECV(4) c=1 t=16 p=
32438 NM:PWR:ON p=7
32509 NM:PWR:OFF p=6
34584 NM:LOOP:INT p=2 v=0
34611 NM:SLP:AWAKE
34631 NM:PWR:ON p=7
34703 NM:LOOP:MOTION(4):SET t=16 v=0
34742 NM:MSG:SEND(4) t=16 p=0
34775 NM:PWR:OFF p=6
34797 NM:SLP:SLEEP s=60
34828 NM:MSG:RECV(4) c=1 t=16 p=
34863 NM:PWR:ON p=7
34934 NM:PWR:OFF p=6
37009 NM:LOOP:INT p=2 v=1
37036 NM:SLP:AWAKE
37056 NM:PWR:ON p=7
37126 NM:LOOP:MOTION(4):SET t=16 v=1
37165 NM:MSG:SEND(4) t=16 p=1
37197 NM:PWR:OFF p=6
37220 NM:SLP:SLEEP s=60
37249 NM:MSG:RECV(4) c=1 t=16 p=
37283 NM:PWR:ON p=7
37355 NM:PWR:OFF p=6
39432 NM:SLP:AWAKE
39452 NM:PWR:ON p=7
39524 NM:PWR:OFF p=6
39546 NM:SLP:SLEEP s=60
41754 NM:SLP:AWAKE
41775 NM:PWR:ON p=7
41846 NM:PWR:OFF p=6
41869 NM:SLP:SLEEP s=60
44077 NM:SLP:AWAKE
44097 NM:PWR:ON p=7
44169 NM:PWR:OFF p=6
44191 NM:SLP:SLEEP s=60
46399 NM:SLP:AWAKE
46419 NM:PWR:ON p=7
46491 NM:PWR:OFF p=6
46514 NM:SLP:SLEEP s=60
Thanks