@Denverado I think it is for the beam width, not to sure, I've never adjusted them
Posts made by esawyja
-
RE: Hardware design for 3.3V ProMini and 5v sensor
-
RE: Message is send twice
@core_c correction, after I typed and posted this, the serial log started again and it did send the message, this is weird
14026 MCO:SLP:MS=0,SMS=0,I1=1,M1=1,I2=255,M2=255 14032 MCO:SLP:TPD 14034 MCO:SLP:WUP=1 14047 TSF:MSG:SEND,11-11-0-0,s=7,c=1,t=38,pt=7,l=5,sg=0,ft=0,st=OK:0.85 14055 MCO:SLP:MS=3000,SMS=0,I1=1,M1=1,I2=255,M2=255 14059 MCO:SLP:TPD 14061 MCO:SLP:WUP=-1 14065 MCO:SLP:MS=2990,SMS=0,I1=1,M1=1,I2=255,M2=255 14071 MCO:SLP:TPD 14073 MCO:SLP:WUP=-1 14075 MCO:SLP:MS=2980,SMS=0,I1=1,M1=1,I2=255,M2=255 14082 MCO:SLP:TPD 14084 MCO:SLP:WUP=-1 14086 MCO:SLP:MS=2969,SMS=0,I1=1,M1=1,I2=255,M2=255 14092 MCO:SLP:TPD 14094 MCO:SLP:WUP=-1 14098 MCO:SLP:MS=2957,SMS=0,I1=1,M1=1,I2=255,M2=255 14102 MCO:SLP:TPD 14104 MCO:SLP:WUP=-1 14108 MCO:SLP:MS=2947,SMS=0,I1=1,M1=1,I2=255,M2=255 14114 MCO:SLP:TPD 14116 MCO:SLP:WUP=-1 14118 MCO:SLP:MS=2937,SMS=0,I1=1,M1=1,I2=255,M2=255 14125 MCO:SLP:TPD 14127 MCO:SLP:WUP=-1 14129 MCO:SLP:MS=2926,SMS=0,I1=1,M1=1,I2=255,M2=255 14135 MCO:SLP:TPD 14137 MCO:SLP:WUP=-1 14141 MCO:SLP:MS=2914,SMS=0,I1=1,M1=1,I2=255,M2=255 14145 MCO:SLP:TPD 14147 MCO:SLP:WUP=-1 14151 MCO:SLP:MS=2904,SMS=0,I1=1,M1=1,I2=255,M2=255 14157 MCO:SLP:TPD 14159 MCO:SLP:WUP=-1 14161 MCO:SLP:MS=2894,SMS=0,I1=1,M1=1,I2=255,M2=255 14168 MCO:SLP:TPD
-
RE: Message is send twice
@core_c I'm still having problems with this, the generator running or not works a treat, but if I just reboot the node and leave it, it goes through the sleep from what I can see, but then nothing happens after that, it does not send the battery level, it just hangs. Also the #define BATTERY_REPORT_INTERVAL 3000 does not work correctly, I've set it to 3000 as a test and it definitely took longer than 3000 MS, the complete serial log is pasted below, I did not trigger the generator during this period
0 MCO:BGN:INIT NODE,CP=RRNNA--,VER=2.1.1 4 TSM:INIT 4 TSF:WUR:MS=1000 8 TSM:INIT:TSP OK 10 TSM:INIT:STATID=11 12 TSF:SID:OK,ID=11 14 TSM:FPAR 145 TSF:MSG:SEND,11-11-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 395 TSF:MSG:READ,0-0-11,s=255,c=3,t=8,pt=1,l=1,sg=0:0 401 TSF:MSG:FPAR OK,ID=0,D=1 1007 MCO:BGN:STP 1007 !MCO:SND:NODE NOT REG 2152 TSM:FPAR:OK 2152 TSM:ID 2154 TSM:ID:OK 2156 TSM:UPL 2164 TSF:MSG:SEND,11-11-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1 2215 TSF:MSG:READ,0-0-11,s=255,c=3,t=25,pt=1,l=1,sg=0:1 2222 TSF:MSG:PONG RECV,HP=1 2224 TSM:UPL:OK 2226 TSM:READY:ID=11,PAR=0,DIS=1 2238 TSF:MSG:SEND,11-11-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 2289 TSF:MSG:READ,0-0-11,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 2304 TSF:MSG:SEND,11-11-0-0,s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=OK:2.1.1 2320 TSF:MSG:SEND,11-11-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0 4327 MCO:REG:REQ 4335 TSF:MSG:SEND,11-11-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2 4386 TSF:MSG:READ,0-0-11,s=255,c=3,t=27,pt=1,l=1,sg=0:1 4392 MCO:PIM:NODE REG=1 11018 TSF:MSG:SEND,11-11-0-0,s=6,c=1,t=2,pt=2,l=2,sg=0,ft=0,st=OK:0 Generator message sent 11026 MCO:BGN:INIT OK,TSP=1 11030 MCO:SLP:MS=2996,SMS=0,I1=1,M1=1,I2=255,M2=255 11036 MCO:SLP:TPD 11038 MCO:SLP:WUP=-1 11042 MCO:SLP:MS=2984,SMS=0,I1=1,M1=1,I2=255,M2=255 11046 MCO:SLP:TPD 11051 MCO:SLP:WUP=-1 11053 MCO:SLP:MS=2973,SMS=0,I1=1,M1=1,I2=255,M2=255 11059 MCO:SLP:TPD 11061 MCO:SLP:WUP=-1 11063 MCO:SLP:MS=2963,SMS=0,I1=1,M1=1,I2=255,M2=255 11069 MCO:SLP:TPD 11071 MCO:SLP:WUP=-1 11073 MCO:SLP:MS=2953,SMS=0,I1=1,M1=1,I2=255,M2=255 11079 MCO:SLP:TPD 11081 MCO:SLP:WUP=-1 11085 MCO:SLP:MS=2941,SMS=0,I1=1,M1=1,I2=255,M2=255 11089 MCO:SLP:TPD 11094 MCO:SLP:WUP=-1 11096 MCO:SLP:MS=2930,SMS=0,I1=1,M1=1,I2=255,M2=255 11102 MCO:SLP:TPD 11104 MCO:SLP:WUP=-1 11106 MCO:SLP:MS=2920,SMS=0,I1=1,M1=1,I2=255,M2=255 11112 MCO:SLP:TPD 11114 MCO:SLP:WUP=-1 11118 MCO:SLP:MS=2908,SMS=0,I1=1,M1=1,I2=255,M2=255 11122 MCO:SLP:TPD 11124 MCO:SLP:WUP=-1 11128 MCO:SLP:MS=2898,SMS=0,I1=1,M1=1,I2=255,M2=255 11134 MCO:SLP:TPD 11137 MCO:SLP:WUP=-1 11139 MCO:SLP:MS=2887,SMS=0,I1=1,M1=1,I2=255,M2=255 11145 MCO:SLP:TPD 11147 MCO:SLP:WUP=-1 11149 MCO:SLP:MS=2877,SMS=0,I1=1,M1=1,I2=255,M2=255 11155 MCO:SLP:TPD 11157 MCO:SLP:WUP=-1 11161 MCO:SLP:MS=2865,SMS=0,I1=1,M1=1,I2=255,M2=255 11165 MCO:SLP:TPD 11167 MCO:SLP:WUP=-1 11171 MCO:SLP:MS=2855,SMS=0,I1=1,M1=1,I2=255,M2=255 11177 MCO:SLP:TPD 11180 MCO:SLP:WUP=-1 11182 MCO:SLP:MS=2844,SMS=0,I1=1,M1=1,I2=255,M2=255 11188 MCO:SLP:TPD 11190 MCO:SLP:WUP=-1 11192 MCO:SLP:MS=2834,SMS=0,I1=1,M1=1,I2=255,M2=255 11198 MCO:SLP:TPD 11200 MCO:SLP:WUP=-1 11204 MCO:SLP:MS=2822,SMS=0,I1=1,M1=1,I2=255,M2=255 11208 MCO:SLP:TPD 11212 MCO:SLP:WUP=-1 11214 MCO:SLP:MS=2812,SMS=0,I1=1,M1=1,I2=255,M2=255 11220 MCO:SLP:TPD 11223 MCO:SLP:WUP=-1 11225 MCO:SLP:MS=2801,SMS=0,I1=1,M1=1,I2=255,M2=255 11231 MCO:SLP:TPD 11233 MCO:SLP:WUP=-1 11235 MCO:SLP:MS=2791,SMS=0,I1=1,M1=1,I2=255,M2=255 11241 MCO:SLP:TPD 11243 MCO:SLP:WUP=-1 11247 MCO:SLP:MS=2779,SMS=0,I1=1,M1=1,I2=255,M2=255 11251 MCO:SLP:TPD 11255 MCO:SLP:WUP=-1 11257 MCO:SLP:MS=2769,SMS=0,I1=1,M1=1,I2=255,M2=255 11264 MCO:SLP:TPD 11266 MCO:SLP:WUP=-1 11268 MCO:SLP:MS=2758,SMS=0,I1=1,M1=1,I2=255,M2=255 11274 MCO:SLP:TPD 11276 MCO:SLP:WUP=-1 11278 MCO:SLP:MS=2748,SMS=0,I1=1,M1=1,I2=255,M2=255 11284 MCO:SLP:TPD 11286 MCO:SLP:WUP=-1 11290 MCO:SLP:MS=2736,SMS=0,I1=1,M1=1,I2=255,M2=255 11294 MCO:SLP:TPD 11298 MCO:SLP:WUP=-1 11300 MCO:SLP:MS=2726,SMS=0,I1=1,M1=1,I2=255,M2=255 11307 MCO:SLP:TPD 11309 MCO:SLP:WUP=-1 11311 MCO:SLP:MS=2715,SMS=0,I1=1,M1=1,I2=255,M2=255 11317 MCO:SLP:TPD 11319 MCO:SLP:WUP=-1 11323 MCO:SLP:MS=2703,SMS=0,I1=1,M1=1,I2=255,M2=255 11327 MCO:SLP:TPD 11329 MCO:SLP:WUP=-1 11333 MCO:SLP:MS=2693,SMS=0,I1=1,M1=1,I2=255,M2=255 11339 MCO:SLP:TPD 11341 MCO:SLP:WUP=-1 11343 MCO:SLP:MS=2683,SMS=0,I1=1,M1=1,I2=255,M2=255 11350 MCO:SLP:TPD 11352 MCO:SLP:WUP=-1 11354 MCO:SLP:MS=2672,SMS=0,I1=1,M1=1,I2=255,M2=255 11360 MCO:SLP:TPD 11362 MCO:SLP:WUP=-1 11366 MCO:SLP:MS=2660,SMS=0,I1=1,M1=1,I2=255,M2=255 11370 MCO:SLP:TPD 11372 MCO:SLP:WUP=-1 11376 MCO:SLP:MS=2650,SMS=0,I1=1,M1=1,I2=255,M2=255 11382 MCO:SLP:TPD 11384 MCO:SLP:WUP=-1 11386 MCO:SLP:MS=2640,SMS=0,I1=1,M1=1,I2=255,M2=255 11393 MCO:SLP:TPD 11395 MCO:SLP:WUP=-1 11397 MCO:SLP:MS=2629,SMS=0,I1=1,M1=1,I2=255,M2=255 11403 MCO:SLP:TPD 11405 MCO:SLP:WUP=-1 11409 MCO:SLP:MS=2617,SMS=0,I1=1,M1=1,I2=255,M2=255 11413 MCO:SLP:TPD 11415 MCO:SLP:WUP=-1 11419 MCO:SLP:MS=2607,SMS=0,I1=1,M1=1,I2=255,M2=255 11425 MCO:SLP:TPD 11427 MCO:SLP:WUP=-1 11429 MCO:SLP:MS=2597,SMS=0,I1=1,M1=1,I2=255,M2=255 11436 MCO:SLP:TPD 11438 MCO:SLP:WUP=-1 11440 MCO:SLP:MS=2586,SMS=0,I1=1,M1=1,I2=255,M2=255 11446 MCO:SLP:TPD 11448 MCO:SLP:WUP=-1 11452 MCO:SLP:MS=2574,SMS=0,I1=1,M1=1,I2=255,M2=255 11456 MCO:SLP:TPD 11458 MCO:SLP:WUP=-1 11462 MCO:SLP:MS=2564,SMS=0,I1=1,M1=1,I2=255,M2=255 11468 MCO:SLP:TPD 11470 MCO:SLP:WUP=-1 11472 MCO:SLP:MS=2554,SMS=0,I1=1,M1=1,I2=255,M2=255 11479 MCO:SLP:TPD 11481 MCO:SLP:WUP=-1 11483 MCO:SLP:MS=2543,SMS=0,I1=1,M1=1,I2=255,M2=255 11489 MCO:SLP:TPD 11491 MCO:SLP:WUP=-1 11495 MCO:SLP:MS=2531,SMS=0,I1=1,M1=1,I2=255,M2=255 11499 MCO:SLP:TPD 11503 MCO:SLP:WUP=-1 11505 MCO:SLP:MS=2521,SMS=0,I1=1,M1=1,I2=255,M2=255 11511 MCO:SLP:TPD 11513 MCO:SLP:WUP=-1 11515 MCO:SLP:MS=2511,SMS=0,I1=1,M1=1,I2=255,M2=255 11522 MCO:SLP:TPD 11524 MCO:SLP:WUP=-1 11526 MCO:SLP:MS=2500,SMS=0,I1=1,M1=1,I2=255,M2=255 11532 MCO:SLP:TPD 11534 MCO:SLP:WUP=-1 11538 MCO:SLP:MS=2488,SMS=0,I1=1,M1=1,I2=255,M2=255 11542 MCO:SLP:TPD 11544 MCO:SLP:WUP=-1 11548 MCO:SLP:MS=2478,SMS=0,I1=1,M1=1,I2=255,M2=255 11554 MCO:SLP:TPD 11556 MCO:SLP:WUP=-1 11558 MCO:SLP:MS=2468,SMS=0,I1=1,M1=1,I2=255,M2=255 11565 MCO:SLP:TPD 11567 MCO:SLP:WUP=-1 11569 MCO:SLP:MS=2457,SMS=0,I1=1,M1=1,I2=255,M2=255 11575 MCO:SLP:TPD 11577 MCO:SLP:WUP=-1 11581 MCO:SLP:MS=2445,SMS=0,I1=1,M1=1,I2=255,M2=255 11585 MCO:SLP:TPD 11589 MCO:SLP:WUP=-1 11591 MCO:SLP:MS=2435,SMS=0,I1=1,M1=1,I2=255,M2=255 11597 MCO:SLP:TPD 11599 MCO:SLP:WUP=-1 11601 MCO:SLP:MS=2425,SMS=0,I1=1,M1=1,I2=255,M2=255 11608 MCO:SLP:TPD 11610 MCO:SLP:WUP=-1 11612 MCO:SLP:MS=2414,SMS=0,I1=1,M1=1,I2=255,M2=255 11618 MCO:SLP:TPD 11620 MCO:SLP:WUP=-1 11624 MCO:SLP:MS=2402,SMS=0,I1=1,M1=1,I2=255,M2=255 11628 MCO:SLP:TPD 11632 MCO:SLP:WUP=-1 11634 MCO:SLP:MS=2392,SMS=0,I1=1,M1=1,I2=255,M2=255 11640 MCO:SLP:TPD 11642 MCO:SLP:WUP=-1 11644 MCO:SLP:MS=2382,SMS=0,I1=1,M1=1,I2=255,M2=255 11651 MCO:SLP:TPD 11653 MCO:SLP:WUP=-1 11655 MCO:SLP:MS=2371,SMS=0,I1=1,M1=1,I2=255,M2=255 11661 MCO:SLP:TPD 11663 MCO:SLP:WUP=-1 11667 MCO:SLP:MS=2359,SMS=0,I1=1,M1=1,I2=255,M2=255 11671 MCO:SLP:TPD 11675 MCO:SLP:WUP=-1 11677 MCO:SLP:MS=2349,SMS=0,I1=1,M1=1,I2=255,M2=255 11683 MCO:SLP:TPD 11685 MCO:SLP:WUP=-1 11687 MCO:SLP:MS=2339,SMS=0,I1=1,M1=1,I2=255,M2=255 11694 MCO:SLP:TPD 11696 MCO:SLP:WUP=-1 11698 MCO:SLP:MS=2328,SMS=0,I1=1,M1=1,I2=255,M2=255 11704 MCO:SLP:TPD 11706 MCO:SLP:WUP=-1 11710 MCO:SLP:MS=2316,SMS=0,I1=1,M1=1,I2=255,M2=255 11714 MCO:SLP:TPD 11716 MCO:SLP:WUP=-1 11720 MCO:SLP:MS=2306,SMS=0,I1=1,M1=1,I2=255,M2=255 11726 MCO:SLP:TPD 11728 MCO:SLP:WUP=-1 11730 MCO:SLP:MS=2296,SMS=0,I1=1,M1=1,I2=255,M2=255 11737 MCO:SLP:TPD 11739 MCO:SLP:WUP=-1 11741 MCO:SLP:MS=2285,SMS=0,I1=1,M1=1,I2=255,M2=255 11747 MCO:SLP:TPD 11749 MCO:SLP:WUP=-1 11753 MCO:SLP:MS=2273,SMS=0,I1=1,M1=1,I2=255,M2=255 11757 MCO:SLP:TPD 11759 MCO:SLP:WUP=-1 11763 MCO:SLP:MS=2263,SMS=0,I1=1,M1=1,I2=255,M2=255 11769 MCO:SLP:TPD 11771 MCO:SLP:WUP=-1 11773 MCO:SLP:MS=2253,SMS=0,I1=1,M1=1,I2=255,M2=255 11780 MCO:SLP:TPD 11782 MCO:SLP:WUP=-1 11784 MCO:SLP:MS=2242,SMS=0,I1=1,M1=1,I2=255,M2=255 11790 MCO:SLP:TPD 11792 MCO:SLP:WUP=-1 11796 MCO:SLP:MS=2230,SMS=0,I1=1,M1=1,I2=255,M2=255 11800 MCO:SLP:TPD 11802 MCO:SLP:WUP=-1 11806 MCO:SLP:MS=2220,SMS=0,I1=1,M1=1,I2=255,M2=255 11812 MCO:SLP:TPD 11814 MCO:SLP:WUP=-1 11816 MCO:SLP:MS=2210,SMS=0,I1=1,M1=1,I2=255,M2=255 11823 MCO:SLP:TPD 11825 MCO:SLP:WUP=-1 11827 MCO:SLP:MS=2199,SMS=0,I1=1,M1=1,I2=255,M2=255 11833 MCO:SLP:TPD 11835 MCO:SLP:WUP=-1 11839 MCO:SLP:MS=2187,SMS=0,I1=1,M1=1,I2=255,M2=255 11843 MCO:SLP:TPD 11845 MCO:SLP:WUP=-1 11849 MCO:SLP:MS=2177,SMS=0,I1=1,M1=1,I2=255,M2=255 11855 MCO:SLP:TPD 11857 MCO:SLP:WUP=-1 11859 MCO:SLP:MS=2167,SMS=0,I1=1,M1=1,I2=255,M2=255 11866 MCO:SLP:TPD 11868 MCO:SLP:WUP=-1 11870 MCO:SLP:MS=2156,SMS=0,I1=1,M1=1,I2=255,M2=255 11876 MCO:SLP:TPD 11878 MCO:SLP:WUP=-1 11882 MCO:SLP:MS=2146,SMS=0,I1=1,M1=1,I2=255,M2=255 11886 MCO:SLP:TPD 11888 MCO:SLP:WUP=-1 11892 MCO:SLP:MS=2134,SMS=0,I1=1,M1=1,I2=255,M2=255 11898 MCO:SLP:TPD 11900 MCO:SLP:WUP=-1 11902 MCO:SLP:MS=2124,SMS=0,I1=1,M1=1,I2=255,M2=255 11909 MCO:SLP:TPD 11911 MCO:SLP:WUP=-1 11913 MCO:SLP:MS=2113,SMS=0,I1=1,M1=1,I2=255,M2=255 11919 MCO:SLP:TPD 11921 MCO:SLP:WUP=-1 11923 MCO:SLP:MS=2103,SMS=0,I1=1,M1=1,I2=255,M2=255 11929 MCO:SLP:TPD 11931 MCO:SLP:WUP=-1 11935 MCO:SLP:MS=2091,SMS=0,I1=1,M1=1,I2=255,M2=255 11939 MCO:SLP:TPD 11943 MCO:SLP:WUP=-1 11945 MCO:SLP:MS=2081,SMS=0,I1=1,M1=1,I2=255,M2=255 11952 MCO:SLP:TPD 11954 MCO:SLP:WUP=-1 11956 MCO:SLP:MS=2070,SMS=0,I1=1,M1=1,I2=255,M2=255 11962 MCO:SLP:TPD 11964 MCO:SLP:WUP=-1 11966 MCO:SLP:MS=2060,SMS=0,I1=1,M1=1,I2=255,M2=255 11972 MCO:SLP:TPD 11974 MCO:SLP:WUP=-1 11978 MCO:SLP:MS=2048,SMS=0,I1=1,M1=1,I2=255,M2=255 11982 MCO:SLP:TPD 11984 MCO:SLP:WUP=-1 11988 MCO:SLP:MS=2038,SMS=0,I1=1,M1=1,I2=255,M2=255 11995 MCO:SLP:TPD 11997 MCO:SLP:WUP=-1 11999 MCO:SLP:MS=2027,SMS=0,I1=1,M1=1,I2=255,M2=255 12005 MCO:SLP:TPD 12007 MCO:SLP:WUP=-1 12009 MCO:SLP:MS=2017,SMS=0,I1=1,M1=1,I2=255,M2=255 12015 MCO:SLP:TPD 12017 MCO:SLP:WUP=-1 12019 MCO:SLP:MS=2007,SMS=0,I1=1,M1=1,I2=255,M2=255 12025 MCO:SLP:TPD 12027 MCO:SLP:WUP=-1 12032 MCO:SLP:MS=1994,SMS=0,I1=1,M1=1,I2=255,M2=255 12036 MCO:SLP:TPD 12040 MCO:SLP:WUP=-1 12042 MCO:SLP:MS=1984,SMS=0,I1=1,M1=1,I2=255,M2=255 12048 MCO:SLP:TPD 12050 MCO:SLP:WUP=-1 12052 MCO:SLP:MS=1974,SMS=0,I1=1,M1=1,I2=255,M2=255 12058 MCO:SLP:TPD 12060 MCO:SLP:WUP=-1 12062 MCO:SLP:MS=1964,SMS=0,I1=1,M1=1,I2=255,M2=255 12068 MCO:SLP:TPD 12070 MCO:SLP:WUP=-1 12075 MCO:SLP:MS=1951,SMS=0,I1=1,M1=1,I2=255,M2=255 12079 MCO:SLP:TPD 12083 MCO:SLP:WUP=-1 12085 MCO:SLP:MS=1941,SMS=0,I1=1,M1=1,I2=255,M2=255 12091 MCO:SLP:TPD 12093 MCO:SLP:WUP=-1 12095 MCO:SLP:MS=1931,SMS=0,I1=1,M1=1,I2=255,M2=255 12101 MCO:SLP:TPD 12103 MCO:SLP:WUP=-1 12105 MCO:SLP:MS=1921,SMS=0,I1=1,M1=1,I2=255,M2=255 12111 MCO:SLP:TPD 12113 MCO:SLP:WUP=-1 12118 MCO:SLP:MS=1908,SMS=0,I1=1,M1=1,I2=255,M2=255 12122 MCO:SLP:TPD 12126 MCO:SLP:WUP=-1 12128 MCO:SLP:MS=1898,SMS=0,I1=1,M1=1,I2=255,M2=255 12134 MCO:SLP:TPD 12136 MCO:SLP:WUP=-1 12138 MCO:SLP:MS=1888,SMS=0,I1=1,M1=1,I2=255,M2=255 12144 MCO:SLP:TPD 12146 MCO:SLP:WUP=-1 12148 MCO:SLP:MS=1878,SMS=0,I1=1,M1=1,I2=255,M2=255 12154 MCO:SLP:TPD 12156 MCO:SLP:WUP=-1 12161 MCO:SLP:MS=1865,SMS=0,I1=1,M1=1,I2=255,M2=255 12165 MCO:SLP:TPD 12169 MCO:SLP:WUP=-1 12171 MCO:SLP:MS=1855,SMS=0,I1=1,M1=1,I2=255,M2=255 12177 MCO:SLP:TPD 12179 MCO:SLP:WUP=-1 12181 MCO:SLP:MS=1845,SMS=0,I1=1,M1=1,I2=255,M2=255 12187 MCO:SLP:TPD 12189 MCO:SLP:WUP=-1 12191 MCO:SLP:MS=1835,SMS=0,I1=1,M1=1,I2=255,M2=255 12197 MCO:SLP:TPD 12199 MCO:SLP:WUP=-1 12204 MCO:SLP:MS=1822,SMS=0,I1=1,M1=1,I2=255,M2=255 12208 MCO:SLP:TPD 12210 MCO:SLP:WUP=-1 12214 MCO:SLP:MS=1812,SMS=0,I1=1,M1=1,I2=255,M2=255 12220 MCO:SLP:TPD 12222 MCO:SLP:WUP=-1 12224 MCO:SLP:MS=1802,SMS=0,I1=1,M1=1,I2=255,M2=255 12230 MCO:SLP:TPD 12232 MCO:SLP:WUP=-1 12234 MCO:SLP:MS=1792,SMS=0,I1=1,M1=1,I2=255,M2=255 12240 MCO:SLP:TPD 12242 MCO:SLP:WUP=-1 12247 MCO:SLP:MS=1779,SMS=0,I1=1,M1=1,I2=255,M2=255 12251 MCO:SLP:TPD 12253 MCO:SLP:WUP=-1 12257 MCO:SLP:MS=1769,SMS=0,I1=1,M1=1,I2=255,M2=255 12263 MCO:SLP:TPD 12265 MCO:SLP:WUP=-1 12267 MCO:SLP:MS=1759,SMS=0,I1=1,M1=1,I2=255,M2=255 12273 MCO:SLP:TPD 12275 MCO:SLP:WUP=-1 12277 MCO:SLP:MS=1749,SMS=0,I1=1,M1=1,I2=255,M2=255 12283 MCO:SLP:TPD 12285 MCO:SLP:WUP=-1 12290 MCO:SLP:MS=1736,SMS=0,I1=1,M1=1,I2=255,M2=255 12294 MCO:SLP:TPD 12296 MCO:SLP:WUP=-1 12300 MCO:SLP:MS=1726,SMS=0,I1=1,M1=1,I2=255,M2=255 12306 MCO:SLP:TPD 12308 MCO:SLP:WUP=-1 12310 MCO:SLP:MS=1716,SMS=0,I1=1,M1=1,I2=255,M2=255 12316 MCO:SLP:TPD 12318 MCO:SLP:WUP=-1 12320 MCO:SLP:MS=1706,SMS=0,I1=1,M1=1,I2=255,M2=255 12326 MCO:SLP:TPD 12328 MCO:SLP:WUP=-1 12333 MCO:SLP:MS=1693,SMS=0,I1=1,M1=1,I2=255,M2=255 12337 MCO:SLP:TPD 12339 MCO:SLP:WUP=-1 12343 MCO:SLP:MS=1683,SMS=0,I1=1,M1=1,I2=255,M2=255 12349 MCO:SLP:TPD 12351 MCO:SLP:WUP=-1 12353 MCO:SLP:MS=1673,SMS=0,I1=1,M1=1,I2=255,M2=255 12359 MCO:SLP:TPD 12361 MCO:SLP:WUP=-1 12363 MCO:SLP:MS=1663,SMS=0,I1=1,M1=1,I2=255,M2=255 12369 MCO:SLP:TPD 12371 MCO:SLP:WUP=-1 12374 MCO:SLP:MS=1652,SMS=0,I1=1,M1=1,I2=255,M2=255 12380 MCO:SLP:TPD 12382 MCO:SLP:WUP=-1 12386 MCO:SLP:MS=1640,SMS=0,I1=1,M1=1,I2=255,M2=255 12390 MCO:SLP:TPD 12394 MCO:SLP:WUP=-1 12396 MCO:SLP:MS=1630,SMS=0,I1=1,M1=1,I2=255,M2=255 12402 MCO:SLP:TPD 12404 MCO:SLP:WUP=-1 12406 MCO:SLP:MS=1620,SMS=0,I1=1,M1=1,I2=255,M2=255 12412 MCO:SLP:TPD 12414 MCO:SLP:WUP=-1 12417 MCO:SLP:MS=1609,SMS=0,I1=1,M1=1,I2=255,M2=255 12423 MCO:SLP:TPD 12425 MCO:SLP:WUP=-1 12429 MCO:SLP:MS=1597,SMS=0,I1=1,M1=1,I2=255,M2=255 12433 MCO:SLP:TPD 12437 MCO:SLP:WUP=-1 12439 MCO:SLP:MS=1587,SMS=0,I1=1,M1=1,I2=255,M2=255 12445 MCO:SLP:TPD 12447 MCO:SLP:WUP=-1 12449 MCO:SLP:MS=1577,SMS=0,I1=1,M1=1,I2=255,M2=255 12455 MCO:SLP:TPD 12457 MCO:SLP:WUP=-1 12460 MCO:SLP:MS=1566,SMS=0,I1=1,M1=1,I2=255,M2=255 12466 MCO:SLP:TPD 12468 MCO:SLP:WUP=-1 12472 MCO:SLP:MS=1554,SMS=0,I1=1,M1=1,I2=255,M2=255 12476 MCO:SLP:TPD 12478 MCO:SLP:WUP=-1 12482 MCO:SLP:MS=1544,SMS=0,I1=1,M1=1,I2=255,M2=255 12488 MCO:SLP:TPD 12490 MCO:SLP:WUP=-1 12492 MCO:SLP:MS=1534,SMS=0,I1=1,M1=1,I2=255,M2=255 12498 MCO:SLP:TPD 12500 MCO:SLP:WUP=-1 12503 MCO:SLP:MS=1523,SMS=0,I1=1,M1=1,I2=255,M2=255 12509 MCO:SLP:TPD 12511 MCO:SLP:WUP=-1 12515 MCO:SLP:MS=1511,SMS=0,I1=1,M1=1,I2=255,M2=255 12519 MCO:SLP:TPD 12521 MCO:SLP:WUP=-1 12525 MCO:SLP:MS=1501,SMS=0,I1=1,M1=1,I2=255,M2=255 12531 MCO:SLP:TPD 12533 MCO:SLP:WUP=-1 12535 MCO:SLP:MS=1491,SMS=0,I1=1,M1=1,I2=255,M2=255 12541 MCO:SLP:TPD 12544 MCO:SLP:WUP=-1 12546 MCO:SLP:MS=1480,SMS=0,I1=1,M1=1,I2=255,M2=255 12552 MCO:SLP:TPD 12554 MCO:SLP:WUP=-1 12558 MCO:SLP:MS=1468,SMS=0,I1=1,M1=1,I2=255,M2=255 12562 MCO:SLP:TPD 12564 MCO:SLP:WUP=-1 12568 MCO:SLP:MS=1458,SMS=0,I1=1,M1=1,I2=255,M2=255 12574 MCO:SLP:TPD 12576 MCO:SLP:WUP=-1 12578 MCO:SLP:MS=1448,SMS=0,I1=1,M1=1,I2=255,M2=255 12584 MCO:SLP:TPD 12587 MCO:SLP:WUP=-1 12589 MCO:SLP:MS=1437,SMS=0,I1=1,M1=1,I2=255,M2=255 12595 MCO:SLP:TPD 12597 MCO:SLP:WUP=-1 12601 MCO:SLP:MS=1425,SMS=0,I1=1,M1=1,I2=255,M2=255 12605 MCO:SLP:TPD 12607 MCO:SLP:WUP=-1 12611 MCO:SLP:MS=1415,SMS=0,I1=1,M1=1,I2=255,M2=255 12617 MCO:SLP:TPD 12619 MCO:SLP:WUP=-1 12621 MCO:SLP:MS=1405,SMS=0,I1=1,M1=1,I2=255,M2=255 12627 MCO:SLP:TPD 12630 MCO:SLP:WUP=-1 12632 MCO:SLP:MS=1394,SMS=0,I1=1,M1=1,I2=255,M2=255 12638 MCO:SLP:TPD 12640 MCO:SLP:WUP=-1 12644 MCO:SLP:MS=1382,SMS=0,I1=1,M1=1,I2=255,M2=255 12648 MCO:SLP:TPD 12650 MCO:SLP:WUP=-1 12654 MCO:SLP:MS=1372,SMS=0,I1=1,M1=1,I2=255,M2=255 12658 MCO:SLP:TPD 12662 MCO:SLP:WUP=-1 12664 MCO:SLP:MS=1362,SMS=0,I1=1,M1=1,I2=255,M2=255 12670 MCO:SLP:TPD 12673 MCO:SLP:WUP=-1 12675 MCO:SLP:MS=1351,SMS=0,I1=1,M1=1,I2=255,M2=255 12681 MCO:SLP:TPD 12683 MCO:SLP:WUP=-1 12685 MCO:SLP:MS=1341,SMS=0,I1=1,M1=1,I2=255,M2=255 12691 MCO:SLP:TPD 12693 MCO:SLP:WUP=-1 12697 MCO:SLP:MS=1329,SMS=0,I1=1,M1=1,I2=255,M2=255 12701 MCO:SLP:TPD 12705 MCO:SLP:WUP=-1 12707 MCO:SLP:MS=1319,SMS=0,I1=1,M1=1,I2=255,M2=255 12713 MCO:SLP:TPD 12716 MCO:SLP:WUP=-1 12718 MCO:SLP:MS=1308,SMS=0,I1=1,M1=1,I2=255,M2=255 12724 MCO:SLP:TPD 12726 MCO:SLP:WUP=-1 12728 MCO:SLP:MS=1298,SMS=0,I1=1,M1=1,I2=255,M2=255 12734 MCO:SLP:TPD 12736 MCO:SLP:WUP=-1 12740 MCO:SLP:MS=1286,SMS=0,I1=1,M1=1,I2=255,M2=255 12744 MCO:SLP:TPD 12748 MCO:SLP:WUP=-1 12750 MCO:SLP:MS=1276,SMS=0,I1=1,M1=1,I2=255,M2=255 12756 MCO:SLP:TPD 12759 MCO:SLP:WUP=-1 12761 MCO:SLP:MS=1265,SMS=0,I1=1,M1=1,I2=255,M2=255 12767 MCO:SLP:TPD 12769 MCO:SLP:WUP=-1 12771 MCO:SLP:MS=1255,SMS=0,I1=1,M1=1,I2=255,M2=255 12777 MCO:SLP:TPD 12779 MCO:SLP:WUP=-1 12783 MCO:SLP:MS=1243,SMS=0,I1=1,M1=1,I2=255,M2=255 12787 MCO:SLP:TPD 12791 MCO:SLP:WUP=-1 12793 MCO:SLP:MS=1233,SMS=0,I1=1,M1=1,I2=255,M2=255 12800 MCO:SLP:TPD 12802 MCO:SLP:WUP=-1 12804 MCO:SLP:MS=1222,SMS=0,I1=1,M1=1,I2=255,M2=255 12810 MCO:SLP:TPD 12812 MCO:SLP:WUP=-1 12814 MCO:SLP:MS=1212,SMS=0,I1=1,M1=1,I2=255,M2=255 12820 MCO:SLP:TPD 12822 MCO:SLP:WUP=-1 12826 MCO:SLP:MS=1200,SMS=0,I1=1,M1=1,I2=255,M2=255 12830 MCO:SLP:TPD 12832 MCO:SLP:WUP=-1 12836 MCO:SLP:MS=1190,SMS=0,I1=1,M1=1,I2=255,M2=255 12843 MCO:SLP:TPD 12845 MCO:SLP:WUP=-1 12847 MCO:SLP:MS=1179,SMS=0,I1=1,M1=1,I2=255,M2=255 12853 MCO:SLP:TPD 12855 MCO:SLP:WUP=-1 12857 MCO:SLP:MS=1169,SMS=0,I1=1,M1=1,I2=255,M2=255 12863 MCO:SLP:TPD 12865 MCO:SLP:WUP=-1 12869 MCO:SLP:MS=1157,SMS=0,I1=1,M1=1,I2=255,M2=255 12873 MCO:SLP:TPD 12875 MCO:SLP:WUP=-1 12879 MCO:SLP:MS=1147,SMS=0,I1=1,M1=1,I2=255,M2=255 12886 MCO:SLP:TPD 12888 MCO:SLP:WUP=-1 12890 MCO:SLP:MS=1136,SMS=0,I1=1,M1=1,I2=255,M2=255 12896 MCO:SLP:TPD 12898 MCO:SLP:WUP=-1 12900 MCO:SLP:MS=1126,SMS=0,I1=1,M1=1,I2=255,M2=255 12906 MCO:SLP:TPD 12908 MCO:SLP:WUP=-1 12912 MCO:SLP:MS=1114,SMS=0,I1=1,M1=1,I2=255,M2=255 12916 MCO:SLP:TPD 12918 MCO:SLP:WUP=-1 12922 MCO:SLP:MS=1104,SMS=0,I1=1,M1=1,I2=255,M2=255 12929 MCO:SLP:TPD 12931 MCO:SLP:WUP=-1 12933 MCO:SLP:MS=1093,SMS=0,I1=1,M1=1,I2=255,M2=255 12939 MCO:SLP:TPD 12941 MCO:SLP:WUP=-1 12943 MCO:SLP:MS=1083,SMS=0,I1=1,M1=1,I2=255,M2=255 12949 MCO:SLP:TPD 12951 MCO:SLP:WUP=-1 12955 MCO:SLP:MS=1071,SMS=0,I1=1,M1=1,I2=255,M2=255 12959 MCO:SLP:TPD 12961 MCO:SLP:WUP=-1 12965 MCO:SLP:MS=1061,SMS=0,I1=1,M1=1,I2=255,M2=255 12972 MCO:SLP:TPD 12974 MCO:SLP:WUP=-1 12976 MCO:SLP:MS=1050,SMS=0,I1=1,M1=1,I2=255,M2=255 12982 MCO:SLP:TPD 12984 MCO:SLP:WUP=-1 12986 MCO:SLP:MS=1040,SMS=0,I1=1,M1=1,I2=255,M2=255 12992 MCO:SLP:TPD 12994 MCO:SLP:WUP=-1 12998 MCO:SLP:MS=1028,SMS=0,I1=1,M1=1,I2=255,M2=255 13002 MCO:SLP:TPD 13004 MCO:SLP:WUP=-1 13008 MCO:SLP:MS=1018,SMS=0,I1=1,M1=1,I2=255,M2=255 13015 MCO:SLP:TPD 13017 MCO:SLP:WUP=-1 13019 MCO:SLP:MS=1007,SMS=0,I1=1,M1=1,I2=255,M2=255 13025 MCO:SLP:TPD 13027 MCO:SLP:WUP=-1 13029 MCO:SLP:MS=997,SMS=0,I1=1,M1=1,I2=255,M2=255 13035 MCO:SLP:TPD 13037 MCO:SLP:WUP=-1 13039 MCO:SLP:MS=987,SMS=0,I1=1,M1=1,I2=255,M2=255 13045 MCO:SLP:TPD 13047 MCO:SLP:WUP=-1 13051 MCO:SLP:MS=975,SMS=0,I1=1,M1=1,I2=255,M2=255 13056 MCO:SLP:TPD 13058 MCO:SLP:WUP=-1 13062 MCO:SLP:MS=964,SMS=0,I1=1,M1=1,I2=255,M2=255 13068 MCO:SLP:TPD 13070 MCO:SLP:WUP=-1 13072 MCO:SLP:MS=954,SMS=0,I1=1,M1=1,I2=255,M2=255 13078 MCO:SLP:TPD 13080 MCO:SLP:WUP=-1 13082 MCO:SLP:MS=944,SMS=0,I1=1,M1=1,I2=255,M2=255 13088 MCO:SLP:TPD 13090 MCO:SLP:WUP=-1 13092 MCO:SLP:MS=934,SMS=0,I1=1,M1=1,I2=255,M2=255 13099 MCO:SLP:TPD 13101 MCO:SLP:WUP=-1 13105 MCO:SLP:MS=921,SMS=0,I1=1,M1=1,I2=255,M2=255 13109 MCO:SLP:TPD 13111 MCO:SLP:WUP=-1 13115 MCO:SLP:MS=911,SMS=0,I1=1,M1=1,I2=255,M2=255 13121 MCO:SLP:TPD 13123 MCO:SLP:WUP=-1 13125 MCO:SLP:MS=901,SMS=0,I1=1,M1=1,I2=255,M2=255 13131 MCO:SLP:TPD 13133 MCO:SLP:WUP=-1 13135 MCO:SLP:MS=891,SMS=0,I1=1,M1=1,I2=255,M2=255 13142 MCO:SLP:TPD 13144 MCO:SLP:WUP=-1 13146 MCO:SLP:MS=880,SMS=0,I1=1,M1=1,I2=255,M2=255 13152 MCO:SLP:TPD 13154 MCO:SLP:WUP=-1 13158 MCO:SLP:MS=868,SMS=0,I1=1,M1=1,I2=255,M2=255 13162 MCO:SLP:TPD 13164 MCO:SLP:WUP=-1 13168 MCO:SLP:MS=858,SMS=0,I1=1,M1=1,I2=255,M2=255 13174 MCO:SLP:TPD 13176 MCO:SLP:WUP=-1 13178 MCO:SLP:MS=848,SMS=0,I1=1,M1=1,I2=255,M2=255 13185 MCO:SLP:TPD 13187 MCO:SLP:WUP=-1 13189 MCO:SLP:MS=837,SMS=0,I1=1,M1=1,I2=255,M2=255 13195 MCO:SLP:TPD 13197 MCO:SLP:WUP=-1 13199 MCO:SLP:MS=827,SMS=0,I1=1,M1=1,I2=255,M2=255 13205 MCO:SLP:TPD 13207 MCO:SLP:WUP=-1 13211 MCO:SLP:MS=815,SMS=0,I1=1,M1=1,I2=255,M2=255 13215 MCO:SLP:TPD 13217 MCO:SLP:WUP=-1 13221 MCO:SLP:MS=805,SMS=0,I1=1,M1=1,I2=255,M2=255 13228 MCO:SLP:TPD 13230 MCO:SLP:WUP=-1 13232 MCO:SLP:MS=794,SMS=0,I1=1,M1=1,I2=255,M2=255 13238 MCO:SLP:TPD 13240 MCO:SLP:WUP=-1 13242 MCO:SLP:MS=784,SMS=0,I1=1,M1=1,I2=255,M2=255 13248 MCO:SLP:TPD 13250 MCO:SLP:WUP=-1 13252 MCO:SLP:MS=774,SMS=0,I1=1,M1=1,I2=255,M2=255 13258 MCO:SLP:TPD 13260 MCO:SLP:WUP=-1 13264 MCO:SLP:MS=762,SMS=0,I1=1,M1=1,I2=255,M2=255 13268 MCO:SLP:TPD 13271 MCO:SLP:WUP=-1 13275 MCO:SLP:MS=751,SMS=0,I1=1,M1=1,I2=255,M2=255 13279 MCO:SLP:TPD 13283 MCO:SLP:WUP=-1 13285 MCO:SLP:MS=741,SMS=0,I1=1,M1=1,I2=255,M2=255 13291 MCO:SLP:TPD 13293 MCO:SLP:WUP=-1 13295 MCO:SLP:MS=731,SMS=0,I1=1,M1=1,I2=255,M2=255 13301 MCO:SLP:TPD 13303 MCO:SLP:WUP=-1 13305 MCO:SLP:MS=721,SMS=0,I1=1,M1=1,I2=255,M2=255 13312 MCO:SLP:TPD 13314 MCO:SLP:WUP=-1 13318 MCO:SLP:MS=708,SMS=0,I1=1,M1=1,I2=255,M2=255 13322 MCO:SLP:TPD 13324 MCO:SLP:WUP=-1 13328 MCO:SLP:MS=698,SMS=0,I1=1,M1=1,I2=255,M2=255 13332 MCO:SLP:TPD 13336 MCO:SLP:WUP=-1 13338 MCO:SLP:MS=688,SMS=0,I1=1,M1=1,I2=255,M2=255 13344 MCO:SLP:TPD 13346 MCO:SLP:WUP=-1 13348 MCO:SLP:MS=678,SMS=0,I1=1,M1=1,I2=255,M2=255 13355 MCO:SLP:TPD 13357 MCO:SLP:WUP=-1 13359 MCO:SLP:MS=667,SMS=0,I1=1,M1=1,I2=255,M2=255 13365 MCO:SLP:TPD 13367 MCO:SLP:WUP=-1 13371 MCO:SLP:MS=655,SMS=0,I1=1,M1=1,I2=255,M2=255 13375 MCO:SLP:TPD 13377 MCO:SLP:WUP=-1 13381 MCO:SLP:MS=645,SMS=0,I1=1,M1=1,I2=255,M2=255 13385 MCO:SLP:TPD 13389 MCO:SLP:WUP=-1 13391 MCO:SLP:MS=635,SMS=0,I1=1,M1=1,I2=255,M2=255 13398 MCO:SLP:TPD 13400 MCO:SLP:WUP=-1 13402 MCO:SLP:MS=624,SMS=0,I1=1,M1=1,I2=255,M2=255 13408 MCO:SLP:TPD 13410 MCO:SLP:WUP=-1 13412 MCO:SLP:MS=614,SMS=0,I1=1,M1=1,I2=255,M2=255 13418 MCO:SLP:TPD 13420 MCO:SLP:WUP=-1 13424 MCO:SLP:MS=602,SMS=0,I1=1,M1=1,I2=255,M2=255 13428 MCO:SLP:TPD 13430 MCO:SLP:WUP=-1 13434 MCO:SLP:MS=592,SMS=0,I1=1,M1=1,I2=255,M2=255 13438 MCO:SLP:TPD 13441 MCO:SLP:WUP=-1 13445 MCO:SLP:MS=581,SMS=0,I1=1,M1=1,I2=255,M2=255 13451 MCO:SLP:TPD 13453 MCO:SLP:WUP=-1 13455 MCO:SLP:MS=571,SMS=0,I1=1,M1=1,I2=255,M2=255 13461 MCO:SLP:TPD 13463 MCO:SLP:WUP=-1 13465 MCO:SLP:MS=561,SMS=0,I1=1,M1=1,I2=255,M2=255 13471 MCO:SLP:TPD 13473 MCO:SLP:WUP=-1 13475 MCO:SLP:MS=551,SMS=0,I1=1,M1=1,I2=255,M2=255 13481 MCO:SLP:TPD 13484 MCO:SLP:WUP=-1 13488 MCO:SLP:MS=538,SMS=0,I1=1,M1=1,I2=255,M2=255 13492 MCO:SLP:TPD 13494 MCO:SLP:WUP=-1 13498 MCO:SLP:MS=528,SMS=0,I1=1,M1=1,I2=255,M2=255 13504 MCO:SLP:TPD 13506 MCO:SLP:WUP=-1 13508 MCO:SLP:MS=518,SMS=0,I1=1,M1=1,I2=255,M2=255 13514 MCO:SLP:TPD 13516 MCO:SLP:WUP=-1 13518 MCO:SLP:MS=508,SMS=0,I1=1,M1=1,I2=255,M2=255 13524 MCO:SLP:TPD 13527 MCO:SLP:WUP=-1 13529 MCO:SLP:MS=497,SMS=0,I1=1,M1=1,I2=255,M2=255 13535 MCO:SLP:TPD 13537 MCO:SLP:WUP=-1 13541 MCO:SLP:MS=485,SMS=0,I1=1,M1=1,I2=255,M2=255 13545 MCO:SLP:TPD 13547 MCO:SLP:WUP=-1 13551 MCO:SLP:MS=475,SMS=0,I1=1,M1=1,I2=255,M2=255 13555 MCO:SLP:TPD 13559 MCO:SLP:WUP=-1 13561 MCO:SLP:MS=465,SMS=0,I1=1,M1=1,I2=255,M2=255 13568 MCO:SLP:TPD 13570 MCO:SLP:WUP=-1 13572 MCO:SLP:MS=454,SMS=0,I1=1,M1=1,I2=255,M2=255 13578 MCO:SLP:TPD 13580 MCO:SLP:WUP=-1 13582 MCO:SLP:MS=444,SMS=0,I1=1,M1=1,I2=255,M2=255 13588 MCO:SLP:TPD 13590 MCO:SLP:WUP=-1 13594 MCO:SLP:MS=432,SMS=0,I1=1,M1=1,I2=255,M2=255 13598 MCO:SLP:TPD 13600 MCO:SLP:WUP=-1 13604 MCO:SLP:MS=422,SMS=0,I1=1,M1=1,I2=255,M2=255 13608 MCO:SLP:TPD 13613 MCO:SLP:WUP=-1 13615 MCO:SLP:MS=411,SMS=0,I1=1,M1=1,I2=255,M2=255 13621 MCO:SLP:TPD 13623 MCO:SLP:WUP=-1 13625 MCO:SLP:MS=401,SMS=0,I1=1,M1=1,I2=255,M2=255 13631 MCO:SLP:TPD 13633 MCO:SLP:WUP=-1 13635 MCO:SLP:MS=391,SMS=0,I1=1,M1=1,I2=255,M2=255 13641 MCO:SLP:TPD 13643 MCO:SLP:WUP=-1 13647 MCO:SLP:MS=379,SMS=0,I1=1,M1=1,I2=255,M2=255 13651 MCO:SLP:TPD 13654 MCO:SLP:WUP=-1 13658 MCO:SLP:MS=368,SMS=0,I1=1,M1=1,I2=255,M2=255 13662 MCO:SLP:TPD 13664 MCO:SLP:WUP=-1 13668 MCO:SLP:MS=358,SMS=0,I1=1,M1=1,I2=255,M2=255 13674 MCO:SLP:TPD 13676 MCO:SLP:WUP=-1 13678 MCO:SLP:MS=348,SMS=0,I1=1,M1=1,I2=255,M2=255 13684 MCO:SLP:TPD 13686 MCO:SLP:WUP=-1 13688 MCO:SLP:MS=338,SMS=0,I1=1,M1=1,I2=255,M2=255 13694 MCO:SLP:TPD 13697 MCO:SLP:WUP=-1 13699 MCO:SLP:MS=327,SMS=0,I1=1,M1=1,I2=255,M2=255 13705 MCO:SLP:TPD 13707 MCO:SLP:WUP=-1 13711 MCO:SLP:MS=315,SMS=0,I1=1,M1=1,I2=255,M2=255 13715 MCO:SLP:TPD 13717 MCO:SLP:WUP=-1 13721 MCO:SLP:MS=305,SMS=0,I1=1,M1=1,I2=255,M2=255 13727 MCO:SLP:TPD 13729 MCO:SLP:WUP=-1 13731 MCO:SLP:MS=295,SMS=0,I1=1,M1=1,I2=255,M2=255 13737 MCO:SLP:TPD 13740 MCO:SLP:WUP=-1 13742 MCO:SLP:MS=284,SMS=0,I1=1,M1=1,I2=255,M2=255 13748 MCO:SLP:TPD 13750 MCO:SLP:WUP=-1 13752 MCO:SLP:MS=274,SMS=0,I1=1,M1=1,I2=255,M2=255 13758 MCO:SLP:TPD 13760 MCO:SLP:WUP=-1 13764 MCO:SLP:MS=262,SMS=0,I1=1,M1=1,I2=255,M2=255 13768 MCO:SLP:TPD 13770 MCO:SLP:WUP=-1 13774 MCO:SLP:MS=252,SMS=0,I1=1,M1=1,I2=255,M2=255 13778 MCO:SLP:TPD 13783 MCO:SLP:WUP=-1 13785 MCO:SLP:MS=241,SMS=0,I1=1,M1=1,I2=255,M2=255 13791 MCO:SLP:TPD 13793 MCO:SLP:WUP=-1 13795 MCO:SLP:MS=231,SMS=0,I1=1,M1=1,I2=255,M2=255 13801 MCO:SLP:TPD 13803 MCO:SLP:WUP=-1 13805 MCO:SLP:MS=221,SMS=0,I1=1,M1=1,I2=255,M2=255 13811 MCO:SLP:TPD 13813 MCO:SLP:WUP=-1 13817 MCO:SLP:MS=209,SMS=0,I1=1,M1=1,I2=255,M2=255 13821 MCO:SLP:TPD 13824 MCO:SLP:WUP=-1 13828 MCO:SLP:MS=198,SMS=0,I1=1,M1=1,I2=255,M2=255 13832 MCO:SLP:TPD 13836 MCO:SLP:WUP=-1 13838 MCO:SLP:MS=188,SMS=0,I1=1,M1=1,I2=255,M2=255 13844 MCO:SLP:TPD 13846 MCO:SLP:WUP=-1 13848 MCO:SLP:MS=178,SMS=0,I1=1,M1=1,I2=255,M2=255 13854 MCO:SLP:TPD 13856 MCO:SLP:WUP=-1 13858 MCO:SLP:MS=168,SMS=0,I1=1,M1=1,I2=255,M2=255 13864 MCO:SLP:TPD 13867 MCO:SLP:WUP=-1 13869 MCO:SLP:MS=157,SMS=0,I1=1,M1=1,I2=255,M2=255 13875 MCO:SLP:TPD 13877 MCO:SLP:WUP=-1 13881 MCO:SLP:MS=145,SMS=0,I1=1,M1=1,I2=255,M2=255 13885 MCO:SLP:TPD 13887 MCO:SLP:WUP=-1 13891 MCO:SLP:MS=135,SMS=0,I1=1,M1=1,I2=255,M2=255 13895 MCO:SLP:TPD 13899 MCO:SLP:WUP=-1 13901 MCO:SLP:MS=125,SMS=0,I1=1,M1=1,I2=255,M2=255 13907 MCO:SLP:TPD 13910 MCO:SLP:WUP=-1 13912 MCO:SLP:MS=114,SMS=0,I1=1,M1=1,I2=255,M2=255 13918 MCO:SLP:TPD 13920 MCO:SLP:WUP=-1 13922 MCO:SLP:MS=104,SMS=0,I1=1,M1=1,I2=255,M2=255 13928 MCO:SLP:TPD 13930 MCO:SLP:WUP=-1 13932 MCO:SLP:MS=94,SMS=0,I1=1,M1=1,I2=255,M2=255 13938 MCO:SLP:TPD 13940 MCO:SLP:WUP=-1 13944 MCO:SLP:MS=82,SMS=0,I1=1,M1=1,I2=255,M2=255 13948 MCO:SLP:TPD 13950 MCO:SLP:WUP=-1 13955 MCO:SLP:MS=71,SMS=0,I1=1,M1=1,I2=255,M2=255 13959 MCO:SLP:TPD 13961 MCO:SLP:WUP=-1 13965 MCO:SLP:MS=61,SMS=0,I1=1,M1=1,I2=255,M2=255 13969 MCO:SLP:TPD 13971 MCO:SLP:WUP=-1 13975 MCO:SLP:MS=51,SMS=0,I1=1,M1=1,I2=255,M2=255 13979 MCO:SLP:TPD 13983 MCO:SLP:WUP=-1 13985 MCO:SLP:MS=41,SMS=0,I1=1,M1=1,I2=255,M2=255 13991 MCO:SLP:TPD 13993 MCO:SLP:WUP=-1 13996 MCO:SLP:MS=30,SMS=0,I1=1,M1=1,I2=255,M2=255 14002 MCO:SLP:TPD 14004 MCO:SLP:WUP=-1 14006 MCO:SLP:MS=20,SMS=0,I1=1,M1=1,I2=255,M2=255 14012 MCO:SLP:TPD 14014 MCO:SLP:WUP=-1 14016 MCO:SLP:MS=10,SMS=0,I1=1,M1=1,I2=255,M2=255 14022 MCO:SLP:TPD 14024 MCO:SLP:WUP=-1 14026 MCO:SLP:MS=0,SMS=0,I1=1,M1=1,I2=255,M2=255 14032 MCO:SLP:TPD
I'm sorry for asking for help again @core_c but I have no idea what I'm doing wrong....
-
RE: Message is send twice
@core_c Thanks, I will try all the changes, thanks again for the code!!
-
RE: Message is send twice
@core_c Thanks so much, I will try these changes!
-
RE: Message is send twice
@core_c I'm sorry I do not understand, must I replace this in loop
sleep(digitalPinToInterrupt(GENERATOR_PIN), CHANGE, sleep_time_left);
With this in setup?
attachInterrupt(digitalPinToInterrupt(GENERATOR_PIN), generator_pin_interrupt_handler, CHANGE);
Sorry for all the questions!! This is sooo confusing to me, it also seems that the battery level is not sending, I left it running for 12 hours plus and never got a reading, the line
#define BATTERY_REPORT_INTERVAL 60000
Does this define that the battery level must be send ever 60000 milli seconds? -
RE: Message is send twice
@core_c Thanks for that
I had to change the battery reading routine to this below, else when it gets to the routine, it stays there and never get back to the loop, I hope it makes sensevoid read_batt() { wait(15000); int sensorValue = analogRead(BATTERY_SENSE_PIN); float batteryV = sensorValue * volt_value; send(batt_msg.set(batteryV,2)); long sleep_time_left = battery_report_time - millis(); battery_report_time = millis() + BATTERY_REPORT_INTERVAL; sleep_time_left = BATTERY_REPORT_INTERVAL; return; }
If I add this to setup, I get the following error
battery_report_time = millis() + BATTERY_REPORT_INTERVAL; Serial.print("Battery report time is = "); Serial.println(battery_report_time); attachInterrupt(digitalPinToInterrupt(GENERATOR_PIN), generator_pin_interrupt_handler, CHANGE); }
gen_run_sketch:54: error: 'generator_pin_interrupt_handler' was not declared in this scope attachInterrupt(digitalPinToInterrupt(GENERATOR_PIN), generator_pin_interrupt_handler, CHANGE); ^ exit status 1 'generator_pin_interrupt_handler' was not declared in this scope
-
RE: Message is send twice
@core_c Sorry me again, here I made
#define BATTERY_REPORT_INTERVAL 2000
and printed the valuebattery_report_time = millis() + BATTERY_REPORT_INTERVAL;
Serial.print("Battery report time is = ");
Serial.println(battery_report_time);It looks like the sleep uses the time left over, as it prints faster and faster on the serial port and then the MS value just increases 10 fold
21035 TSF:MSG:SEND,11-11-0-0,s=6,c=1,t=2,pt=2,l=2,sg=0,ft=0,st=OK:0 Battery report time is = 23043 21043 MCO:BGN:INIT OK,TSP=1 21049 MCO:SLP:MS=1994,SMS=0,I1=1,M1=1,I2=255,M2=255 21053 MCO:SLP:TPD 21057 MCO:SLP:WUP=1 21059 MCO:SLP:MS=1984,SMS=0,I1=1,M1=1,I2=255,M2=255 21065 MCO:SLP:TPD 21067 MCO:SLP:WUP=-1 21069 MCO:SLP:MS=1974,SMS=0,I1=1,M1=1,I2=255,M2=255 21075 MCO:SLP:TPD 21078 MCO:SLP:WUP=-1 21080 MCO:SLP:MS=1963,SMS=0,I1=1,M1=1,I2=255,M2=255 21086 MCO:SLP:TPD 21088 MCO:SLP:WUP=-1 21092 MCO:SLP:MS=1951,SMS=0,I1=1,M1=1,I2=255,M2=255 21096 MCO:SLP:TPD 21100 MCO:SLP:WUP=-1 ...... ...... 22878 MCO:SLP:MS=165,SMS=0,I1=1,M1=1,I2=255,M2=255 22882 MCO:SLP:TPD 22884 MCO:SLP:WUP=-1 22888 MCO:SLP:MS=155,SMS=0,I1=1,M1=1,I2=255,M2=255 22892 MCO:SLP:TPD 22896 MCO:SLP:WUP=-1 22898 MCO:SLP:MS=145,SMS=0,I1=1,M1=1,I2=255,M2=255 22904 MCO:SLP:TPD 22906 MCO:SLP:WUP=-1 22908 MCO:SLP:MS=135,SMS=0,I1=1,M1=1,I2=255,M2=255 22915 MCO:SLP:TPD 22917 MCO:SLP:WUP=-1 22919 MCO:SLP:MS=124,SMS=0,I1=1,M1=1,I2=255,M2=255 22925 MCO:SLP:TPD 22927 MCO:SLP:WUP=-1 22931 MCO:SLP:MS=112,SMS=0,I1=1,M1=1,I2=255,M2=255 22935 MCO:SLP:TPD 22937 MCO:SLP:WUP=-1 22941 MCO:SLP:MS=102,SMS=0,I1=1,M1=1,I2=255,M2=255 22945 MCO:SLP:TPD 22947 MCO:SLP:WUP=-1 22951 MCO:SLP:MS=92,SMS=0,I1=1,M1=1,I2=255,M2=255 22958 MCO:SLP:TPD 22960 MCO:SLP:WUP=-1 22962 MCO:SLP:MS=81,SMS=0,I1=1,M1=1,I2=255,M2=255 22968 MCO:SLP:TPD 22970 MCO:SLP:WUP=-1 22972 MCO:SLP:MS=71,SMS=0,I1=1,M1=1,I2=255,M2=255 22978 MCO:SLP:TPD 22980 MCO:SLP:WUP=-1 22982 MCO:SLP:MS=61,SMS=0,I1=1,M1=1,I2=255,M2=255 22988 MCO:SLP:TPD 22990 MCO:SLP:WUP=-1 22992 MCO:SLP:MS=51,SMS=0,I1=1,M1=1,I2=255,M2=255 22999 MCO:SLP:TPD 23001 MCO:SLP:WUP=-1 23005 MCO:SLP:MS=38,SMS=0,I1=1,M1=1,I2=255,M2=255 23009 MCO:SLP:TPD 23011 MCO:SLP:WUP=-1 23015 MCO:SLP:MS=28,SMS=0,I1=1,M1=1,I2=255,M2=255 23019 MCO:SLP:TPD 23021 MCO:SLP:WUP=-1 23025 MCO:SLP:MS=18,SMS=0,I1=1,M1=1,I2=255,M2=255 23029 MCO:SLP:TPD 23031 MCO:SLP:WUP=-1 23035 MCO:SLP:MS=8,SMS=0,I1=1,M1=1,I2=255,M2=255 23040 MCO:SLP:TPD 23044 MCO:SLP:WUP=-1 23046 MCO:SLP:MS=4294967293,SMS=0,I1=1,M1=1,I2=255,M2=255 23052 MCO:SLP:TPD
After this, there is nothing more on the serial port
-
RE: Message is send twice
@core_c This works a treat, but I don't get the battery readings, if I look at the debug log, the MS seems to become quite large
71362 MCO:SLP:MS=9681,SMS=0,I1=1,M1=1,I2=255,M2=255 71366 MCO:SLP:TPD 71370 MCO:SLP:WUP=-1 71372 MCO:SLP:MS=9671,SMS=0,I1=1,M1=1,I2=255,M2=255 71378 MCO:SLP:TPD 71380 MCO:SLP:WUP=1 71383 MCO:SLP:MS=9660,SMS=0,I1=1,M1=1,I2=255,M2=255 71389 MCO:SLP:TPD 71391 MCO:SLP:WUP=1 Generator RUNNING - SENDING 71401 TSF:MSG:SEND,11-11-0-0,s=6,c=1,t=2,pt=2,l=2,sg=0,ft=0,st=OK:1 Generator message sent 81424 MCO:SLP:MS=4294966915,SMS=0,I1=1,M1=1,I2=255,M2=255 81430 MCO:SLP:TPD 81432 MCO:SLP:WUP=1 81434 MCO:SLP:MS=4294966905,SMS=0,I1=1,M1=1,I2=255,M2=255 81440 MCO:SLP:TPD 81444 MCO:SLP:WUP=1 Generator NOT running - SENDING... 81498 TSF:MSG:SEND,11-11-0-0,s=6,c=1,t=2,pt=2,l=2,sg=0,ft=0,st=OK:0 Generator message sent 91521 MCO:SLP:MS=4294956818,SMS=0,I1=1,M1=1,I2=255,M2=255 91527 MCO:SLP:TPD
Any suggestions please?
-
RE: Message is send twice
@core_c thanks so much, I will try it ASAP and provide feedback, thanks again!
-
RE: Message is send twice
@core_c thanks, just a bit worried about my programming skills, yes the reason for the double send is that sometimes I get st=NACK and I'm worried about missing the start , stop message, hence I send the message twice, I don't know how to detect the st=NACK, thanks for the help
-
RE: Message is send twice
@core_c Hi
Does it really matter, it's just the way the external circuitry is set up, it pulls to a low when the generator is running, I get get it working with this below, but I'm afraid my coding skills are not that good
void loop() { bool tripped = digitalRead(GENERATOR_PIN) == HIGH; Serial.print("value of tripped = "); Serial.println(tripped); wait(1000); if ((tripped == 0) && ( tripped != oldValue)) { Serial.println("Generator RUNNING - Not sending"); wait(1000); bool tripped = digitalRead(GENERATOR_PIN) == HIGH; if (tripped == 0) { Serial.println("Generator RUNNING - SENDING"); send(msgGENERATOR.set(1)); wait(10000); send(msgGENERATOR.set(1)); oldValue = tripped; read_batt(); } } if ((tripped == 1) && ( tripped != oldValue)) { Serial.println("Generator NOT running - Not sending"); wait(1000); bool tripped = digitalRead(GENERATOR_PIN) == HIGH; if (tripped == 1) { Serial.println("Generator NOT running - SENDING...."); send(msgGENERATOR.set(0)); wait(10000); send(msgGENERATOR.set(0)); oldValue = tripped; read_batt(); } } sleep(digitalPinToInterrupt(GENERATOR_PIN), CHANGE, SLEEP_TIME); } void read_batt() { wait(15000); int sensorValue = analogRead(BATTERY_SENSE_PIN); float batteryV = sensorValue * volt_value; send(batt_msg.set(batteryV,2)); return; }
-
RE: Message is send twice
@core_c I spoke to soon, looks like it detects the change, but does not do anything, I made the unsigned long SLEEP_TIME = 0;
0 MCO:BGN:INIT NODE,CP=RRNNA--,VER=2.1.1 4 TSM:INIT 4 TSF:WUR:MS=0 8 TSM:INIT:TSP OK 10 TSM:INIT:STATID=11 12 TSF:SID:OK,ID=11 14 TSM:FPAR 145 TSF:MSG:SEND,11-11-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 405 TSF:MSG:READ,0-0-11,s=255,c=3,t=8,pt=1,l=1,sg=0:0 411 TSF:MSG:FPAR OK,ID=0,D=1 2152 TSM:FPAR:OK 2152 TSM:ID 2154 TSM:ID:OK 2156 TSM:UPL 2164 TSF:MSG:SEND,11-11-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1 2215 TSF:MSG:READ,0-0-11,s=255,c=3,t=25,pt=1,l=1,sg=0:1 2222 TSF:MSG:PONG RECV,HP=1 2224 TSM:UPL:OK 2226 TSM:READY:ID=11,PAR=0,DIS=1 2238 TSF:MSG:SEND,11-11-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 2289 TSF:MSG:READ,0-0-11,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 2304 TSF:MSG:SEND,11-11-0-0,s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=OK:2.1.1 2320 TSF:MSG:SEND,11-11-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0 4335 TSF:MSG:SEND,11-11-0-0,s=6,c=0,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 4349 TSF:MSG:SEND,11-11-0-0,s=7,c=0,t=30,pt=0,l=0,sg=0,ft=0,st=OK: 4358 MCO:REG:REQ 4368 TSF:MSG:SEND,11-11-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2 4417 TSF:MSG:READ,0-0-11,s=255,c=3,t=27,pt=1,l=1,sg=0:1 4423 MCO:PIM:NODE REG=1 4427 MCO:BGN:STP interupt 1 5429 MCO:BGN:INIT OK,TSP=1 1 Generator NOT running - SENDING.... 5441 TSF:MSG:SEND,11-11-0-0,s=6,c=1,t=2,pt=2,l=2,sg=0,ft=0,st=OK:0 5648 MCO:SLP:MS=0,SMS=0,I1=1,M1=1,I2=255,M2=255 5652 MCO:SLP:TPD 5654 MCO:SLP:WUP=1 5857 MCO:SLP:MS=0,SMS=0,I1=1,M1=1,I2=255,M2=255 5861 MCO:SLP:TPD 5863 MCO:SLP:WUP=1 6066 MCO:SLP:MS=0,SMS=0,I1=1,M1=1,I2=255,M2=255 6070 MCO:SLP:TPD
-
RE: Message is send twice
@core_c Thanks so much, this did the trick, thanks again!!!
-
Message is send twice
Hi all,
I'm trying to detect when my generator runs, the external detection circuit works with no problems, but when the ProMini starts, it sends the message twice to the controller, although there was not a state change, see me code belowvoid loop() { bool tripped = digitalRead(GENERATOR_PIN) == HIGH; wait(1000); if (tripped == 0) { wait(5000); Serial.println("Generator RUNNING"); send(msgGENERATOR.set(1)); sleep(digitalPinToInterrupt(GENERATOR_PIN), CHANGE, SLEEP_TIME); //send(msgGENERATOR.set(tripped?"1":"0")); } if (tripped == 1) { Serial.println("Generator NOT running - Not sending"); wait(5000); bool tripped = digitalRead(GENERATOR_PIN) == HIGH; if (tripped == 1) { Serial.println("Generator NOT running - SENDING...."); send(msgGENERATOR.set(0)); sleep(digitalPinToInterrupt(GENERATOR_PIN), CHANGE, SLEEP_TIME); } } }
The serial port output demonstrate the problem, I'm checking twice if the generator is running, but it does not seem to break out of the loop, any help please!!
0 MCO:BGN:INIT NODE,CP=RRNNA--,VER=2.1.1 4 TSM:INIT 4 TSF:WUR:MS=0 8 TSM:INIT:TSP OK 10 TSM:INIT:STATID=11 12 TSF:SID:OK,ID=11 14 TSM:FPAR 145 TSF:MSG:SEND,11-11-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 587 TSF:MSG:READ,0-0-11,s=255,c=3,t=8,pt=1,l=1,sg=0:0 593 TSF:MSG:FPAR OK,ID=0,D=1 2152 TSM:FPAR:OK 2152 TSM:ID 2154 TSM:ID:OK 2156 TSM:UPL 2164 TSF:MSG:SEND,11-11-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1 2215 TSF:MSG:READ,0-0-11,s=255,c=3,t=25,pt=1,l=1,sg=0:1 2222 TSF:MSG:PONG RECV,HP=1 2224 TSM:UPL:OK 2226 TSM:READY:ID=11,PAR=0,DIS=1 2238 TSF:MSG:SEND,11-11-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 2289 TSF:MSG:READ,0-0-11,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 2304 TSF:MSG:SEND,11-11-0-0,s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=OK:2.1.1 2320 TSF:MSG:SEND,11-11-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0 4335 TSF:MSG:SEND,11-11-0-0,s=6,c=0,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 4349 TSF:MSG:SEND,11-11-0-0,s=7,c=0,t=30,pt=0,l=0,sg=0,ft=0,st=OK: 4358 MCO:REG:REQ 4368 TSF:MSG:SEND,11-11-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2 4417 TSF:MSG:READ,0-0-11,s=255,c=3,t=27,pt=1,l=1,sg=0:1 4423 MCO:PIM:NODE REG=1 4427 MCO:BGN:STP 5427 MCO:BGN:INIT OK,TSP=1 Generator NOT running - Not sending Generator NOT running - SENDING.... 11440 TSF:MSG:SEND,11-11-0-0,s=6,c=1,t=2,pt=2,l=2,sg=0,ft=0,st=OK:0 11446 MCO:SLP:MS=3600000,SMS=0,I1=1,M1=2,I2=255,M2=255 11452 MCO:SLP:TPD 11454 MCO:SLP:WUP=1 Generator NOT running - Not sending Generator NOT running - SENDING.... 17469 TSF:MSG:SEND,11-11-0-0,s=6,c=1,t=2,pt=2,l=2,sg=0,ft=0,st=OK:0 17475 MCO:SLP:MS=3600000,SMS=0,I1=1,M1=2,I2=255,M2=255 17481 MCO:SLP:TPD
-
RE: Hardware design for 3.3V ProMini and 5v sensor
Well it does make sense what you said, yes I'll be making sure that I order the correct one as well, very expensive exercise as I have 12 x JSN-SR04T-2.0 that I will not be able to use..
Thanks for all the help -
RE: Hardware design for 3.3V ProMini and 5v sensor
mmmh I have no idea, I'm struggling to find any info on the JSN-SR04T-2.0
-
RE: Hardware design for 3.3V ProMini and 5v sensor
Hi all
Hope this will be of help to someone, I did connect the level convertor, did not make any change to the incorrect values, but then I saw that some off my JSN-SR04T are marked JSN-SR04T-2.0.
Eventually figured out that the JSN-SR04T-2.0 does not work with my design, there are some reports of other people not getting them to work either, see
http://forum.arduino.cc/index.php?topic=474759.0 , but no resolve.
So the circuit design above seems to be fine, except that it does not work with the JSN-SR04T-2.0,
The only differences I can see are the following
JSN-SR04T-2.0 - Crystal at 8,000 and the chip marked 7B499, 8S003F3P6, PHL703
JSN-SR04T - Crystal at 11,0592 but no markings on the chips
See some comparison pictures below
and the markings
-
RE: Hardware design for 3.3V ProMini and 5v sensor
Hi all,
Thanks for the info, did some more testing last night, even when I power from an external source, still not getting correct values, tried it on 2 of the sensors. Also connected my meter to the 5v pins on the SR04T and I'm getting a solid 5V, I've added a delay to the transistor switch and measured for about 5 seconds and took a reading during that time and the 5V stayed solid, so I guess the only other thing is the level convertor, shall try that over the weekend and give some feedback. Thanks again for the advice and help -
RE: Hardware design for 3.3V ProMini and 5v sensor
mmmh can't seem to find anything on the switching of GND, anyone else, could you comment please
-
Hardware design for 3.3V ProMini and 5v sensor
Hi all,
I'm trying to get a battery powered 3.3V MiniPro board working with a 5V JSN-SR04T Ultrasonic sensor, I'm using a DC-DC Step Up Boost Module 3v3 to power the ProMini and a 2N2222 transistor to switch on the DC-DC Step Up Boost Module 5V for the 5V JSN-SR04T, the 2N2222 switches with a 1K resistor on the base from PIN 5 on the ProMini. All this because the JSN-SR04T seems to stay on all the time, so to save some battery, I switch on the Step Up boost module, take the reading and switch it off again, but I'm getting strange readings, my questions
a ) Must there be a level convertor on the Echo and Trig pins, seeing the ProMini is 3.3V and the Ultrasonic is 5V
b ) I think it might be power related, as when I drive the Ultrasonic from an external supply, it seems to work ok, could it be that the 2N2222 is not powerful enough?
c ) The Boost module is off all the time, except when I take the readings and I switch it ON with GND, should I rather keep it on all the time and just switch the +5V line to the Ultrasonic sensor using the transistor when I take a reading?In the drawing below, 1B5 <> 4B5 is the Boost module
1B3 <> is the 3.3 Step up Boost module
and 1U- <> 4U is the Ultrasonic sensorAny help / suggestions would be appropriated please
-
RE: Measuring and Reporting Battery Level
@sundberg84 aaah ok so across R2, thanks so much!
-
Measuring and Reporting Battery Level
Measuring and Reporting Battery Level
Use a 1MΩ (R1) and 470KΩ (R2) resistor in series, connected to the positive terminal on the battery and ground and then connected the tap point to the A0 input on the CPU.
The tap point could be bypassed with a 0.1 uF capacitor to keep the noise level low, at this otherwise high impedance point.
The ADC is set to use the internal reference value of 1.1V - so Vmax at ADCmax = 1.1*(16+4703)/4703 = 3.44V
The battery power value must be converted to a percentage compatable with your Controller.
See the following example on how to measure battery level on A0 and report it to the Controller.
I get different values from one Pro-Mini to the others, the resistors are all the same values and tolerances, "The tap point could be bypassed with a 0.1 uF capacitor to keep the noise level low, at this otherwise high impedance point." How would you connect this capacitor?
I got mine like this below, is this correct please?
-
RE: Detect Generator running
Thanks All,
I got it sort of working using the original circuit with this sketch below, using another variable with last runstate, sorry my coding is shocking.,...#define MY_DEBUG #define MY_RADIO_RFM69 #define MY_RFM69_FREQUENCY RF69_433MHZ // Define for frequency setting. Needed if you're radio module isn't 868Mhz (868Mhz is default in lib) #define MY_IS_RFM69HW // Mandatory if you radio module is the high power version (RFM69HW and RFM69HCW), Comment it if it's not the case //#define MY_RFM69_NETWORKID 101 // Default is 100 in lib. Uncomment it and set your preferred network id if needed #include <MySensors.h> unsigned long SLEEP_TIME = 3600000; // Every hour Sleep time between reports (in milliseconds) #define DIGITAL_INPUT_SENSOR 3 // The digital input you attached your motion sensor. (Only 2 and 3 generates interrupt!) #define CHILD_ID 15 // Id of the sensor child int laststate=0; // Initialize motion message MyMessage msg(CHILD_ID, V_TRIPPED); void setup() { pinMode(DIGITAL_INPUT_SENSOR, INPUT); // sets the motion sensor digital pin as input } void presentation() { // Send the sketch version information to the gateway and Controller sendSketchInfo("Motion Sensor", "8.0"); // Register all sensors to gw (they will be created as child devices) present(CHILD_ID, S_MOTION); } void loop() { // Read digital motion value bool tripped = digitalRead(DIGITAL_INPUT_SENSOR) == LOW; if ( tripped==1) { laststate=1; Serial.print("Generator State = "); Serial.println(tripped); } if (( tripped==1 ) & (laststate==1)) { //Serial.println("Still Running"); delay(60000); } if (tripped==0) { laststate=0; Serial.println("Generator OFF"); //send(msg.set(tripped?"1":"0")); // Send tripped value to gw // Sleep until interrupt comes in on motion sensor. Send update every two minute. sleep(digitalPinToInterrupt(DIGITAL_INPUT_SENSOR), HIGH, SLEEP_TIME); } }
-
Detect Generator running
Hi all,
I'm using the circuit below to detect when my generator is running, I can see PIN 3 goes low, the signal PIN2 from the circuit is connected to D3 on the Pro-Mini
I'm using the motion sketch to test with and the interrupt is seen when AC voltage is activated, but while the AC voltage is on, I get switching between high and low, how can I change the program to detect when the AC voltage is present, send a message and go to sleep. When the pin changes state again, IE AC voltage is not present anymore, the interrupt is detected and another message is send and go back to sleep until the next interrupt
Below is the code I'm using
#define MY_DEBUG #define MY_RADIO_RFM69 #define MY_RFM69_FREQUENCY RF69_433MHZ // Define for frequency setting. Needed if you're radio module isn't 868Mhz (868Mhz is default in lib) #define MY_IS_RFM69HW // Mandatory if you radio module is the high power version (RFM69HW and RFM69HCW), Comment it if it's not the case //#define MY_RFM69_NETWORKID 101 // Default is 100 in lib. Uncomment it and set your preferred network id if needed #include <MySensors.h> unsigned long SLEEP_TIME = 120000; // Sleep time between reports (in milliseconds) #define DIGITAL_INPUT_SENSOR 3 // The digital input you attached your motion sensor. (Only 2 and 3 generates interrupt!) #define CHILD_ID 15 // Id of the sensor child // Initialize motion message MyMessage msg(CHILD_ID, V_TRIPPED); void setup() { pinMode(DIGITAL_INPUT_SENSOR, INPUT); // sets the motion sensor digital pin as input } void presentation() { // Send the sketch version information to the gateway and Controller sendSketchInfo("Motion Sensor", "8.0"); // Register all sensors to gw (they will be created as child devices) present(CHILD_ID, S_MOTION); } void loop() { // Read digital motion value bool tripped = digitalRead(DIGITAL_INPUT_SENSOR) == HIGH; Serial.println(tripped); //send(msg.set(tripped?"1":"0")); // Send tripped value to gw // Sleep until interrupt comes in on motion sensor. Send update every two minute. sleep(digitalPinToInterrupt(DIGITAL_INPUT_SENSOR), CHANGE, SLEEP_TIME); }
The Serial output is below showing the switching between high and low
0 MCO:BGN:INIT NODE,CP=RRNNA--,VER=2.1.1 4 TSM:INIT 4 TSF:WUR:MS=0 8 TSM:INIT:TSP OK 10 TSF:SID:OK,ID=10 12 TSM:FPAR 143 TSF:MSG:SEND,10-10-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 282 TSF:MSG:READ,0-0-10,s=255,c=3,t=8,pt=1,l=1,sg=0:0 288 TSF:MSG:FPAR OK,ID=0,D=1 2150 TSM:FPAR:OK 2150 TSM:ID 2152 TSM:ID:OK 2154 TSM:UPL 2162 TSF:MSG:SEND,10-10-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1 2213 TSF:MSG:READ,0-0-10,s=255,c=3,t=25,pt=1,l=1,sg=0:1 2220 TSF:MSG:PONG RECV,HP=1 2224 TSM:UPL:OK 2226 TSM:READY:ID=10,PAR=0,DIS=1 2236 TSF:MSG:SEND,10-10-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 2287 TSF:MSG:READ,0-0-10,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 2304 TSF:MSG:SEND,10-10-0-0,s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=OK:2.1.1 2318 TSF:MSG:SEND,10-10-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0 4335 TSF:MSG:SEND,10-10-0-0,s=255,c=3,t=11,pt=0,l=13,sg=0,ft=0,st=OK:Motion Sensor 4354 TSF:MSG:SEND,10-10-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:8.0 4368 TSF:MSG:SEND,10-10-0-0,s=15,c=0,t=1,pt=0,l=0,sg=0,ft=0,st=OK: 4376 MCO:REG:REQ 4384 TSF:MSG:SEND,10-10-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2 4435 TSF:MSG:READ,0-0-10,s=255,c=3,t=27,pt=1,l=1,sg=0:1 4442 MCO:PIM:NODE REG=1 4446 MCO:BGN:STP 4448 MCO:BGN:INIT OK,TSP=1 1 4450 MCO:SLP:MS=120000,SMS=0,I1=1,M1=1,I2=255,M2=255 4456 MCO:SLP:TPD 4458 MCO:SLP:WUP=1 1 4460 MCO:SLP:MS=120000,SMS=0,I1=1,M1=1,I2=255,M2=255 4466 MCO:SLP:TPD 4468 MCO:SLP:WUP=1 1 4470 MCO:SLP:MS=120000,SMS=0,I1=1,M1=1,I2=255,M2=255 4476 MCO:SLP:TPD 4478 MCO:SLP:WUP=1 0 4483 MCO:SLP:MS=120000,SMS=0,I1=1,M1=1,I2=255,M2=255 4487 MCO:SLP:TPD 4489 MCO:SLP:WUP=1 0 4493 MCO:SLP:MS=120000,SMS=0,I1=1,M1=1,I2=255,M2=255 4497 MCO:SLP:TPD 4499 MCO:SLP:WUP=1 1 4503 MCO:SLP:MS=120000,SMS=0,I1=1,M1=1,I2=255,M2=255 4509 MCO:SLP:TPD 4511 MCO:SLP:WUP=1 1 4513 MCO:SLP:MS=120000,SMS=0,I1=1,M1=1,I2=255,M2=255 4519 MCO:SLP:TPD 4521 MCO:SLP:WUP=1 0 4524 MCO:SLP:MS=120000,SMS=0,I1=1,M1=1,I2=255,M2=255 4530 MCO:SLP:TPD 4532 MCO:SLP:WUP=1 1
Any help or ideas on how to do this would be appreciated please
-
RE: Sending Sensor data to Cloud with GSM module
Ok in a effort to learn MQTT, what I did is the following, I used my RFM69 sensor (that did work on a Serial Gateway, see the values received above) and with that to build a MQTT gateway, I used an Arduino Mega with a W5100 Ethernet Shield and connected the RFM69 radio to the Mega, using the pinouts of the RFM69 & Arduino page and also included a level converter on the NSS, SCK MOSI and MISO pins
Radio is powered by 3.3V and I uploaded this sketch below to the Mega/** * The MySensors Arduino library handles the wireless radio link and protocol * between your home built sensors/actuators and HA controller of choice. * The sensors forms a self healing radio network with optional repeaters. Each * repeater and gateway builds a routing tables in EEPROM which keeps track of the * network topology allowing messages to be routed to nodes. * * Created by Henrik Ekblad <henrik.ekblad@mysensors.org> * Copyright (C) 2013-2015 Sensnology AB * Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors * * Documentation: http://www.mysensors.org * Support Forum: http://forum.mysensors.org * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. * ******************************* * * REVISION HISTORY * Version 1.0 - Henrik Ekblad * * DESCRIPTION * The W5100 MQTT gateway sends radio network (or locally attached sensors) data to your MQTT broker. * The node also listens to MY_MQTT_TOPIC_PREFIX and sends out those messages to the radio network * * LED purposes: * - To use the feature, uncomment WITH_LEDS_BLINKING in MyConfig.h * - RX (green) - blink fast on radio message recieved. In inclusion mode will blink fast only on presentation recieved * - TX (yellow) - blink fast on radio message transmitted. In inclusion mode will blink slowly * - ERR (red) - fast blink on error during transmission error or recieve crc error * * See http://www.mysensors.org/build/esp8266_gateway for wiring instructions. * nRF24L01+ ESP8266 * VCC VCC * CE GPIO4 * CSN/CS GPIO15 * SCK GPIO14 * MISO GPIO12 * MOSI GPIO13 * * Not all ESP8266 modules have all pins available on their external interface. * This code has been tested on an ESP-12 module. * The ESP8266 requires a certain pin configuration to download code, and another one to run code: * - Connect REST (reset) via 10K pullup resistor to VCC, and via switch to GND ('reset switch') * - Connect GPIO15 via 10K pulldown resistor to GND * - Connect CH_PD via 10K resistor to VCC * - Connect GPIO2 via 10K resistor to VCC * - Connect GPIO0 via 10K resistor to VCC, and via switch to GND ('bootload switch') * * Inclusion mode button: * - Connect GPIO5 via switch to GND ('inclusion switch') * * Hardware SHA204 signing is currently not supported! * * Make sure to fill in your ssid and WiFi password below for ssid & pass. */ // Enable debug prints to serial monitor #define MY_DEBUG // Enables and select radio type (if attached) //#define MY_RADIO_NRF24 #define MY_RADIO_RFM69 // Define for using RFM69 radio #define MY_RFM69_FREQUENCY RF69_433MHZ #define MY_IS_RFM69HW #define MY_GATEWAY_MQTT_CLIENT // Set this node's subscribe and publish topic prefix #define MY_MQTT_PUBLISH_TOPIC_PREFIX "mygateway1-out" #define MY_MQTT_SUBSCRIBE_TOPIC_PREFIX "mygateway1-in" // Set MQTT client id #define MY_MQTT_CLIENT_ID "mysensors-1" // W5100 Ethernet module SPI enable (optional if using a shield/module that manages SPI_EN signal) //#define MY_W5100_SPI_EN 4 // Enable Soft SPI for NRF radio (note different radio wiring is required) // The W5100 ethernet module seems to have a hard time co-operate with // radio on the same spi bus. #if !defined(MY_W5100_SPI_EN) && !defined(ARDUINO_ARCH_SAMD) #define MY_SOFTSPI #define MY_SOFT_SPI_SCK_PIN 14 #define MY_SOFT_SPI_MISO_PIN 16 #define MY_SOFT_SPI_MOSI_PIN 15 #endif // When W5100 is connected we have to move CE/CSN pins for NRF radio #ifndef MY_RF24_CE_PIN #define MY_RF24_CE_PIN 5 #endif #ifndef MY_RF24_CS_PIN #define MY_RF24_CS_PIN 6 #endif // Enable these if your MQTT broker requires usenrame/password //#define MY_MQTT_USER "username" //#define MY_MQTT_PASSWORD "password" // Enable MY_IP_ADDRESS here if you want a static ip address (no DHCP) #define MY_IP_ADDRESS 192,168,1,88 // If using static ip you need to define Gateway and Subnet address as well #define MY_IP_GATEWAY_ADDRESS 192,168,1,1 #define MY_IP_SUBNET_ADDRESS 255,255,255,0 // MQTT broker ip address or url. Define one or the other. //#define MY_CONTROLLER_URL_ADDRESS "m20.cloudmqtt.com" #define MY_CONTROLLER_IP_ADDRESS 192, 168, 1, 9 // The MQTT broker port to to open #define MY_PORT 1883 #define MY_GATEWAY_W5100 /* // Enable inclusion mode #define MY_INCLUSION_MODE_FEATURE // Enable Inclusion mode button on gateway //#define MY_INCLUSION_BUTTON_FEATURE // Set inclusion mode duration (in seconds) #define MY_INCLUSION_MODE_DURATION 60 // Digital pin used for inclusion mode button //#define MY_INCLUSION_MODE_BUTTON_PIN 3 // Set blinking period #define MY_DEFAULT_LED_BLINK_PERIOD 300 // Flash leds on rx/tx/err // Uncomment to override default HW configurations //#define MY_DEFAULT_ERR_LED_PIN 16 // Error led pin //#define MY_DEFAULT_RX_LED_PIN 16 // Receive led pin //#define MY_DEFAULT_TX_LED_PIN 16 // the PCB, on board LED */ #include <Ethernet.h> #include <MySensors.h> void setup() { } void presentation() { // Present locally attached sensors here } void loop() { // Send locally attached sensors data here }
I then installed MQTT on a raspberry PI on IP 192.168.1.9, from the Mega's serial port, it looks to me that the radio initializes OK and the Mega is connected to my LAN with IP 192.168.1.88, see below
0;255;3;0;9;MCO:BGN:INIT GW,CP=RRNGA--,VER=2.1.1 0;255;3;0;9;TSM:INIT 0;255;3;0;9;TSF:WUR:MS=0 0;255;3;0;9;TSM:INIT:TSP OK 0;255;3;0;9;TSM:INIT:GW MODE 0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0 0;255;3;0;9;MCO:REG:NOT NEEDED IP: 192.168.1.88 0;255;3;0;9;MCO:BGN:STP 0;255;3;0;9;MCO:BGN:INIT OK,TSP=1 IP: 192.168.1.88 0;255;3;0;9;Attempting MQTT connection... 0;255;3;0;9;MQTT connected 0;255;3;0;9;Sending message on topic: mygateway1-out/0/255/0/0/18
But when I activate the sensor, I don''t see anything as I did before on the Mega and also nothing in the MQTT server logs or subscription
root@raspberrypi:~# mosquitto_sub -v -t 'mygateway1-out/#' mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1
and the log
root@raspberrypi:~# kill -9 28003 root@raspberrypi:~# /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf & [1] 29149 root@raspberrypi:~# tail -f /var/log/mosquitto/mosquitto.log 1490722311: New client connected from 192.168.1.88 as mysensors-1 (c1, k15). 1490722482: Client mysensors-1 has exceeded timeout, disconnecting. 1490722482: Socket error on client mysensors-1, disconnecting. 1490722739: Saving in-memory database to /var/lib/mosquitto/mosquitto.db. 1490722757: Socket error on client mosqsub/28798-raspberry, disconnecting. 1490722980: mosquitto version 1.4.11 (build date Mon, 20 Feb 2017 22:49:47 +0000) starting 1490722980: Config loaded from /etc/mosquitto/mosquitto.conf. 1490722980: Opening ipv4 listen socket on port 1883. 1490722980: Opening ipv6 listen socket on port 1883. 1490722984: New connection from ::1 on port 1883. 1490722984: New client connected from ::1 as mosqsub/29150-raspberry (c1, k60). 1490723068: New connection from 192.168.1.88 on port 1883. 1490723068: New client connected from 192.168.1.88 as mysensors-1 (c1, k15). 1490723375: Client mysensors-1 has exceeded timeout, disconnecting. 1490723375: Socket error on client mysensors-1, disconnecting. 1490723398: New connection from 192.168.1.88 on port 1883.
Any ideas please, must the Mega get a NODE_ID? I seem to recall I could only get sensor data on the serial gateway after a assigned a NODE_ID to the sensor, any advice please would be appreciated
Regards -
RE: Sending Sensor data to Cloud with GSM module
I've read about MQTT, but I'm afraid it is above my pay grade Is there no way of capturing the data what gets displayed on the serial port of the gateway, or rather, what does MySensors use as the serial port, all I need is some kind of trap what will say if I receive this
10;3;1;0;16;0 for example,
initialize the GSM module and post the sensor value using curl or something, could someone point me in the right direction please, my head is spinning -
RE: Sending Sensor data to Cloud with GSM module
Thanks @mfalkvidd , Let me read up on that a bit
-
RE: How to use SoftwareSerial Library?
Hi @kduino
I think my problem is similar, what I want to do is to send the received sensor data on the serial gateway to a GSM modem for insertion into a Cloud server, but I have no idea of how to capture the data on the serial gateway, IE I can see the sensor values, but how would I trap the data for sending to the GSM modem? Any advice would be appreciated please -
Sending Sensor data to Cloud with GSM module
Hi all,
Any ideas on how to do this please, I have a serial gateway running with a GSM module and a "button pressed" sensor. When I press the button I can see this below on the serial monitor.
0;255;3;0;14;Gateway startup complete.
0;255;0;0;18;2.1.1
Serial Setup Complete!
Serial Setup to A6 Complete!
10;3;1;0;16;0
10;3;1;0;16;1
Without using a controller, how can I "capture" the sensor data and send it to my server in the cloud via the GSM module? I can get the communication with the GSM module working, its just the capture of the MySensors data that I have no idea of how to do...
Any ideas will be appreciated.. -
RE: 💬 RFM69 Relay Actuator Node (mains powered)
Hi
Nice design, what will the rated watts be, I think the relay (RM50-SP) is 10A at 240VAC? So will that be 2400W max? Also the relay coil voltage, will you use a 5V coil as I can only see RM50-SPs in 24V? -
Log Parser
Love the new log parser, would be nice to have a stand-alone one as well that can run locally on my computer?
-
RE: 💬 4-channel switcher/dimmer
Would this be able to switch about 3000W at 230VAC? Trying to control heater elements with triacs
-
RE: Raspberry PI 3 - Serial Gateway failing with Serial - write failed: Resource temporarily unavailable
mmmh I havent, but I don't use either on this implementation... Has not happened again.... Confusing...
-
RE: Saving to EEPROM
Ok now I'm more confused, but thanks, I will figure it out
-
RE: Saving to EEPROM
Thanks @AWI
So for
#define LowTempState 10 //Naming the position LowTempState at position 10 in EEPROM
#define HighTempState 20
#define HeaterONOFF 30I need to do something like this if it is possible?
#define LowTempState 10, 11 //Naming the position LowTempState at position 10 in EEPROM
#define HighTempState 20, 21
#define HeaterONOFF 30Or do I just declare the trigger as 2 bytes with
uint_8_t temHighTrigger=loadState(HighTempState); //So this will read from position 10 for 16 bits?
uint_8_t temLowTrigger=loadState(LowTempState); //This one will start at 20 and read 21 as well?
int HeaterStatus=loadState(HeaterONOFF); //This one will read only position 30?Regards
-
RE: Saving to EEPROM
Hi
I'm struggling to get my head around this, when I do this#define LowTempState 0
#define HighTempState 0
#define HeaterONOFF 0Does this define the position in EEPROM, as per the documentation, so what I'm doing here is completely incorrect? What I need to do it to give it a value where to save with the #define statements?
The documentation states
void saveState(uint8_t pos, uint8_t value);pos - The position to store value in (0-255)
value - Value to store in positionSo if I do this
#define LowTempState 10 //Naming the position LowTempState at position 10 in EEPROM
#define HighTempState 20
#define HeaterONOFF 30
I have to save the values to the EEPROM addresses with
saveState(HighTempState, 40);
saveState(LowTempState, 30);
saveState(HeaterONOFF, 0);
So the above with save the values 40, 30 and 0 to their positions 10, 20 and 30 in EEPROM?I have to read the state with
int temHighTrigger=loadState(HighTempState);
int temLowTrigger=loadState(LowTempState);
int HeaterStatus=loadState(HeaterONOFF);
So temHighTrigger will now contain 40? temLowTrigger will now contain 30 and the HeaterStatus will be 0?Retrieving a state (from local EEPROM).
uint8_t loadState(uint8_t pos);Sorry for all the questions, my head is spinning....
-
RE: Saving to EEPROM
Hi
I think the relay example get the previous state from the EEPROM, I need to get the state from the controller after it was set for the 1st time from the controller?void before()
{
for (int sensor=1, pin=RELAY_1; sensor<=NUMBER_OF_RELAYS; sensor++, pin++) {
// Then set relay pins in output mode
pinMode(pin, OUTPUT);
// Set relay to last known state (using eeprom storage)
digitalWrite(pin, loadState(sensor)?RELAY_ON:RELAY_OFF);
}
}An example with lots of comments that is being done will help a lot please
Regards
-
Saving to EEPROM
Hi all,
Could someone please explain how to save a state to EEPROM, I have a hot water heater that I have to "dumb up", my problem is the saving off the last state, IE when there is a power interruption and the sensor reboots, how do I read the previous state and the previous LOW and HIGH temperature settings. For example I use these statements
#define LowTempState 0
#define HighTempState 0
#define HeaterONOFF 0So the heater will not be switched on when you install it the 1st time, but then once the sensor is up and running, you would set the state and temperature from the controller and save that, but I want to prevent the heater from being ON and heating and causing damage when you install it for the 1st time. If I can explain more.. If this is a new installation, run the
#define LowTempState 10
#define HighTempState 20
#define HeaterONOFF 0
But once it is connected and running and the temperature and state is set from the controller, save those values and when there is a power failure and the sensor reboots, use the saved values to come up with.. I hope this makes sense?Is there some example code somewhere that I might check please...
Regards
-
Raspberry PI 3 - Serial Gateway failing with Serial - write failed: Resource temporarily unavailable
Hi all,
Has anyone seen this before on a Raspberry PI, when I restart it is fine again
root@mmm_gateway:~# systemctl status mysgw
● mysgw.service - MySensors Gateway daemon
Loaded: loaded (/etc/systemd/system/mysgw.service; enabled)
Active: active (running) since Mon 2017-02-20 10:06:27 SAST; 20h ago
Main PID: 577 (mysgw)
CGroup: /system.slice/mysgw.service
└─577 /usr/local/bin/mysgwFeb 20 10:50:01 mmm_gateway mysgw[577]: Serial - write failed: Resource temporarily unavailable
Feb 20 10:50:01 mmm_gateway mysgw[577]: Serial - write failed: Resource temporarily unavailable
Feb 20 10:50:01 mmm_gateway mysgw[577]: Serial - write failed: Resource temporarily unavailable
Feb 20 10:50:05 mmm_gateway mysgw[577]: Serial - write failed: Resource temporarily unavailable
Feb 20 10:50:06 mmm_gateway mysgw[577]: Serial - write failed: Resource temporarily unavailable
Feb 20 10:50:06 mmm_gateway mysgw[577]: Serial - write failed: Resource temporarily unavailable
Feb 20 10:50:06 mmm_gateway mysgw[577]: Serial - write failed: Resource temporarily unavailable
Feb 20 10:50:07 mmm_gateway mysgw[577]: Serial - write failed: Resource temporarily unavailable
Feb 20 10:50:07 mmm_gateway mysgw[577]: Serial - write failed: Resource temporarily unavailable
Feb 20 10:50:09 mmm_gateway mysgw[577]: Serial - write failed: Resource temporarily unavailable
root@mmm_gateway:~#
root@mmm_gateway:~# systemctl restart mysgw
root@mmm_gateway:~# systemctl status mysgw
● mysgw.service - MySensors Gateway daemon
Loaded: loaded (/etc/systemd/system/mysgw.service; enabled)
Active: active (running) since Tue 2017-02-21 07:03:21 SAST; 1s ago
Main PID: 30189 (mysgw)
CGroup: /system.slice/mysgw.service
└─30189 /usr/local/bin/mysgwFeb 21 07:03:21 mmm_gateway systemd[1]: Started MySensors Gateway daemon.
Feb 21 07:03:21 mmm_gateway mysgw[30189]: Starting gateway...
Feb 21 07:03:21 mmm_gateway mysgw[30189]: Protocol version - 2.1.1
root@mmm_gateway:~#I don't see any errors in /var/log/messages
Thanks!
-
NRF24L01+PA+LNA with Raspberry PI 3
Hi all,
I have a NRF24L01+PA+LNA that I connected to a Raspberry PI 3 using the 3.3V output pin of the Raspberry PI 3, PIN 17 and it seems to work, but I have some questions about this- Would be better powering the NRF24L01+PA+LNA from a 5V pin on the PI with a 3.3V regulator, does the 5V pins output more mAs?
- Rather connect the NRF24L01+PA+LNA to the PI supply power adaptor directly with a 3.3V regulator?
- Does the NRF24L01+PA+LNA need a decoupling capacitor as well?
Thanks all
-
NRF24L01+ vs RFM69
Hi all,
Which is the better as far as stability and range, what are the pros and cons for each, In South Africa where I stay, the NRF24L01 is dirt cheap compared to the RFM69. Has anyone done some tests to see which is better?
Regards -
RE: Rain Guage
Hi All,
Can you run this of 2 x AA batteries, does it go into sleep? It seems to fade the LED al the time, so I guess it will drain the batteries quick quickly? Does anyone have experience in powering this?
Regards -
RE: PiDome - Waiting for gateway
I guess PiDome is dead? I see no more activity on PiDome?
-
RE: PiDome - Waiting for gateway
Some errors in the logfile on the PiDome that I do not have a clue what they are about
root@mmm_gateway:/opt/pidome/pidome-server/logs/system# tail -f appLog.txt 2016-11-13 12:24:40,368 [main] WARN org.pidome.server.PiDomeServerBoot - Running server with security manager disabled. This is the case as long the server is in alpha state. 2016-11-13 12:24:40,386 [main] WARN org.pidome.server.PiDomeServerBoot - There is no default locale present in the config file, will default to: en_GB 2016-11-13 12:24:40,387 [main] INFO org.pidome.server.PiDomeServerBoot - Starting server with build: 0.1-SNAPSHOT-2016-09-22.698 on platform: Linux (arm) 2016-11-13 12:24:40,507 [main] INFO com.zaxxer.hikari.HikariDataSource - DBConnectionPool_PiDomeServer - is starting. 2016-11-13 12:24:42,455 [main] INFO org.pidome.misc.utils.TimeUtils - Setting timezone data: Europe/Amsterdam, 51.950000, 4.449999 2016-11-13 12:24:42,575 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Initializing RPC 2016-11-13 12:24:42,897 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: PackageService 2016-11-13 12:24:42,964 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: DashboardService 2016-11-13 12:24:42,966 [main] ERROR org.pidome.server.services.http.rpc.PidomeJSONRPC - RPC namespace 'JSONService' has been misconfigured! 2016-11-13 12:24:42,967 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: JSONService 2016-11-13 12:24:42,995 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: DataModifierService 2016-11-13 12:24:43,081 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: LocationService 2016-11-13 12:24:43,122 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: MessengerService 2016-11-13 12:24:43,170 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: WeatherService 2016-11-13 12:24:43,222 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: RemotesService 2016-11-13 12:24:43,281 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: CategoryService 2016-11-13 12:24:43,320 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: HardwareService 2016-11-13 12:24:43,355 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: AccessControllerService 2016-11-13 12:24:43,442 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: ClientService 2016-11-13 12:24:43,518 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: UserService 2016-11-13 12:24:43,536 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: PluginService 2016-11-13 12:24:43,733 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: DeviceService 2016-11-13 12:24:43,861 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: MediaService 2016-11-13 12:24:43,929 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: EventService 2016-11-13 12:24:43,958 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: UserStatusService 2016-11-13 12:24:43,997 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: UtilityMeasurementService 2016-11-13 12:24:44,022 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: GraphService 2016-11-13 12:24:44,032 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: PlatformService 2016-11-13 12:24:44,089 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: TriggerService 2016-11-13 12:24:44,124 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: AutomationRulesService 2016-11-13 12:24:44,157 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: SystemService 2016-11-13 12:24:44,195 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: ScenesService 2016-11-13 12:24:44,226 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: DayPartService 2016-11-13 12:24:44,272 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: MacroService 2016-11-13 12:24:44,305 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: PresenceService 2016-11-13 12:24:44,349 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done initializing RPC namespace: DevicePluginService 2016-11-13 12:24:44,353 [main] INFO org.pidome.server.services.http.rpc.PidomeJSONRPC - Done Initializing RPC 2016-11-13 12:24:44,360 [main] INFO org.pidome.server.system.extras.SystemExtras - Initializing system extras 2016-11-13 12:24:44,361 [main] INFO org.pidome.server.system.extras.SystemExtras - LED notifications setting: false 2016-11-13 12:24:44,363 [main] INFO org.pidome.server.system.extras.DataNotificationLeds - Led notification pins are disabled. If you want to enable this got to http://pidome.org on how to enable this. 2016-11-13 12:24:44,363 [main] INFO org.pidome.server.system.extras.SystemExtras - Done initializing extras 2016-11-13 12:24:44,383 [main] INFO org.pidome.server.system.network.Network - Autodiscovery of network interface addresses 2016-11-13 12:24:44,409 [main] INFO org.pidome.server.system.network.Network - Network interface loaded 2016-11-13 12:24:44,582 [main] INFO org.pidome.server.system.network.http.HttpServer - Starting 'HTTPS Management Webservice' 2016-11-13 12:24:46,434 [main] INFO org.pidome.server.system.network.http.HttpServer - 'HTTPS Management Webservice' started 2016-11-13 12:24:46,541 [main] INFO org.pidome.server.services.accesscontrollers.AccesControllersService - Loading access controller devices wrappers 2016-11-13 12:24:47,112 [main] INFO org.pidome.server.system.hardware.Hardware - Hardware discovery started 2016-11-13 12:24:47,131 [main] INFO org.pidome.server.system.hardware.peripherals.Peripherals - Trying to load 'Server information layer' hardware driver using saved configuration. 2016-11-13 12:24:47,134 [main] INFO org.pidome.server.system.hardware.peripherals.Peripherals - Using vid 'PiDome' and pid 'ServerDevicePeripheral' for loading Server information layer. 2016-11-13 12:24:47,170 [main] INFO org.pidome.server.system.hardware.drivers.Drivers - Loading peripheral software driver for: Server information layer 2016-11-13 12:24:47,217 [main] ERROR org.pidome.server.system.hardware.devices.Devices - Device sql error: no such column: 'modifiers' 2016-11-13 12:24:47,590 [main] ERROR org.pidome.server.system.hardware.devices.Devices - Problem with loaded device info: null java.lang.NullPointerException at java.io.StringReader.<init>(StringReader.java:50) ~[?:1.8.0_91] at org.json.simple.parser.JSONParser.parse(JSONParser.java:79) ~[json-simple-1.1.1.jar:?] at org.json.simple.parser.JSONParser.parse(JSONParser.java:75) ~[json-simple-1.1.1.jar:?] at org.pidome.server.system.hardware.devices.Devices.loadSingleDeviceInstance(Devices.java:325) [pidome-server.jar:0.1-SNAPSHOT-2016-09-22.698] at org.pidome.server.system.hardware.devices.Devices.loadDriverDevices(Devices.java:224) [pidome-server.jar:0.1-SNAPSHOT-2016-09-22.698] at org.pidome.server.system.hardware.devices.Devices.handleDriverEvent(Devices.java:1752) [pidome-server.jar:0.1-SNAPSHOT-2016-09-22.698] at org.pidome.server.system.hardware.drivers.Drivers._fireDriverEvent(Drivers.java:322) [pidome-server.jar:0.1-SNAPSHOT-2016-09-22.698] at org.pidome.server.system.hardware.drivers.Drivers.setPheripheralSoftwareDriver(Drivers.java:132) [pidome-server.jar:0.1-SNAPSHOT-2016-09-22.698] at org.pidome.server.system.hardware.drivers.Drivers.handlePeripheralEvent(Drivers.java:252) [pidome-server.jar:0.1-SNAPSHOT-2016-09-22.698] at org.pidome.server.system.hardware.peripherals.Peripherals._firePeripheralEvent(Peripherals.java:513) [pidome-server.jar:0.1-SNAPSHOT-2016-09-22.698] at org.pidome.server.system.hardware.peripherals.Peripherals.startPeripheralInitialization(Peripherals.java:348) [pidome-server.jar:0.1-SNAPSHOT-2016-09-22.698] at org.pidome.server.system.hardware.peripherals.Peripherals.finalizeDriverInit(Peripherals.java:207) [pidome-server.jar:0.1-SNAPSHOT-2016-09-22.698] at org.pidome.server.system.hardware.peripherals.Peripherals.loadDriverByVidPid(Peripherals.java:163) [pidome-server.jar:0.1-SNAPSHOT-2016-09-22.698] at org.pidome.server.system.hardware.peripherals.Peripherals.loadPeripheralDriver(Peripherals.java:111) [pidome-server.jar:0.1-SNAPSHOT-2016-09-22.698] at org.pidome.server.system.hardware.peripherals.Peripherals.hardwareChange(Peripherals.java:459) [pidome-server.jar:0.1-SNAPSHOT-2016-09-22.698] at org.pidome.server.system.hardware.Hardware._fireHardwareEvent(Hardware.java:274) [pidome-server.jar:0.1-SNAPSHOT-2016-09-22.698] at org.pidome.server.system.hardware.Hardware.deviceMutation(Hardware.java:236) [pidome-server.jar:0.1-SNAPSHOT-2016-09-22.698] at org.pidome.server.system.hardware.peripherals.server.ServerDevices._fireDeviceEvent(ServerDevices.java:57) [pidome-server.jar:0.1-SNAPSHOT-2016-09-22.698] at org.pidome.server.system.hardware.peripherals.server.ServerDevices.start(ServerDevices.java:63) [pidome-server.jar:0.1-SNAPSHOT-2016-09-22.698] at org.pidome.server.system.hardware.Hardware.discoveryDoneHandler(Hardware.java:280) [pidome-server.jar:0.1-SNAPSHOT-2016-09-22.698] at org.pidome.server.system.hardware.HardwareRoot._fireDiscoveryDoneEvent(HardwareRoot.java:85) [pidome-server.jar:0.1-SNAPSHOT-2016-09-22.698] at org.pidome.server.system.hardware.peripherals.server.ServerDevices.discover(ServerDevices.java:46) [pidome-server.jar:0.1-SNAPSHOT-2016-09-22.698] at org.pidome.server.system.hardware.Hardware.discover(Hardware.java:140) [pidome-server.jar:0.1-SNAPSHOT-2016-09-22.698] at org.pidome.server.system.hardware.Hardware.start(Hardware.java:110) [pidome-server.jar:0.1-SNAPSHOT-2016-09-22.698] at org.pidome.server.services.hardware.DeviceService.start(DeviceService.java:925) [pidome-server.jar:0.1-SNAPSHOT-2016-09-22.698] at org.pidome.server.services.ServiceController.startAllServers(ServiceController.java:172) [pidome-server.jar:0.1-SNAPSHOT-2016-09-22.698] at org.pidome.server.PiDomeServerBoot.main(PiDomeServerBoot.java:123) [pidome-server.jar:0.1-SNAPSHOT-2016-09-22.698] 2016-11-13 12:24:47,619 [main] ERROR org.pidome.server.system.hardware.devices.Devices - Device 'org.pidome.driver.device.pidomeServerDevice', not found in packages or instantiation error: Incorrect device specs loaded: null 2016-11-13 12:24:47,620 [main] INFO org.pidome.server.system.hardware.drivers.Drivers - Driver NativeServerDriver on Server information layer on port {Internally used device map} is ready for use 2016-11-13 12:24:47,709 [USB-discovery] INFO org.pidome.server.system.hardware.Hardware - Started peripherals discovery on USB 2016-11-13 12:24:47,710 [Serial-discovery] INFO org.pidome.server.system.hardware.Hardware - Started peripherals discovery on Serial GPIO 2016-11-13 12:24:47,720 [I2C-discovery] INFO org.pidome.server.system.hardware.Hardware - Started peripherals discovery on I2C 2016-11-13 12:24:47,722 [main] INFO org.pidome.server.system.hardware.peripherals.usb.USBDevices - USB listener started 2016-11-13 12:24:47,741 [main] INFO org.pidome.server.system.userstatus.UserStatusService - Set user status to Awake at 13-11-2016 11:24 2016-11-13 12:24:47,742 [I2C-discovery] INFO org.pidome.server.system.hardware.peripherals.Peripherals - Trying to load 'Raspberry GPIO I2C' hardware driver using saved configuration. 2016-11-13 12:24:47,743 [I2C-discovery] INFO org.pidome.server.system.hardware.peripherals.Peripherals - Using vid 'PiDome' and pid 'GPIOI2C' for loading Raspberry GPIO I2C. 2016-11-13 12:24:47,748 [User-defined-serials-discovery] INFO org.pidome.server.system.hardware.Hardware - Started user defined serial devices discovery 2016-11-13 12:24:47,809 [main] INFO org.pidome.server.system.presence.PresenceService - Set presence to Home at 13-11-2016 11:24 2016-11-13 12:24:47,850 [main] INFO org.pidome.server.services.clients.socketservice.SocketService - Client display terminal server has started 2016-11-13 12:24:47,871 [Serial-discovery] INFO org.pidome.server.system.hardware.peripherals.Peripherals - Trying to load 'Raspberry Pi GPIO Serial' hardware driver using saved configuration. 2016-11-13 12:24:47,873 [Serial-discovery] INFO org.pidome.server.system.hardware.peripherals.Peripherals - Using vid 'PiDome' and pid 'GPIOSerial' for loading Raspberry Pi GPIO Serial. 2016-11-13 12:24:47,888 [main] INFO org.pidome.server.services.plugins.PluginService - Starting plugin service: Data modifiers plugin service 2016-11-13 12:24:47,889 [I2C-discovery] ERROR err - Uncaught exception by Thread[I2C-discovery,5,main]: 2016-11-13 12:24:47,897 [I2C-discovery] ERROR err - java.lang.NumberFormatException: For input string: "a02082" 2016-11-13 12:24:47,905 [I2C-discovery] ERROR err - at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) 2016-11-13 12:24:47,906 [I2C-discovery] ERROR err - at java.lang.Integer.parseInt(Integer.java:580) 2016-11-13 12:24:47,907 [I2C-discovery] ERROR err - at java.lang.Integer.parseInt(Integer.java:615) 2016-11-13 12:24:47,909 [I2C-discovery] ERROR err - at org.pidome.driver.peripherals.pidomeNativeI2CBus.PidomeNativeI2CBus.initDriver(PidomeNativeI2CBus.java:47) 2016-11-13 12:24:47,915 [I2C-discovery] ERROR err - at org.pidome.server.system.hardware.peripherals.PeripheralController.initHardwareDriver(PeripheralController.java:231) 2016-11-13 12:24:47,924 [I2C-discovery] ERROR err - at org.pidome.server.system.hardware.peripherals.PeripheralController.startPeripheralInitialization(PeripheralController.java:194) 2016-11-13 12:24:47,926 [I2C-discovery] ERROR err - at org.pidome.server.system.hardware.peripherals.Peripherals.startPeripheralInitialization(Peripherals.java:343) 2016-11-13 12:24:47,919 [main] INFO org.pidome.server.services.plugins.PluginService - Starting plugin service: Media plugin service 2016-11-13 12:24:47,928 [Serial-discovery] INFO org.pidome.server.system.hardware.Hardware - Done peripherals discovery on Serial GPIO 2016-11-13 12:24:47,928 [User-defined-serials-discovery] INFO org.pidome.server.system.hardware.peripherals.Peripherals - Trying to load 'MySensors_Serial_Port' hardware driver using saved configuration. 2016-11-13 12:24:47,929 [I2C-discovery] ERROR err - at org.pidome.server.system.hardware.peripherals.Peripherals.finalizeDriverInit(Peripherals.java:207) 2016-11-13 12:24:47,931 [I2C-discovery] ERROR err - at org.pidome.server.system.hardware.peripherals.Peripherals.loadDriverByVidPid(Peripherals.java:163) 2016-11-13 12:24:47,932 [I2C-discovery] ERROR err - at org.pidome.server.system.hardware.peripherals.Peripherals.loadPeripheralDriver(Peripherals.java:111) 2016-11-13 12:24:47,933 [I2C-discovery] ERROR err - at org.pidome.server.system.hardware.peripherals.Peripherals.hardwareChange(Peripherals.java:459) 2016-11-13 12:24:47,934 [I2C-discovery] ERROR err - at org.pidome.server.system.hardware.Hardware._fireHardwareEvent(Hardware.java:274) 2016-11-13 12:24:47,935 [I2C-discovery] ERROR err - at org.pidome.server.system.hardware.Hardware.deviceMutation(Hardware.java:236) 2016-11-13 12:24:47,936 [I2C-discovery] ERROR err - at org.pidome.server.system.hardware.peripherals.i2c.I2CDevices._fireDeviceEvent(I2CDevices.java:57) 2016-11-13 12:24:47,937 [I2C-discovery] ERROR err - at org.pidome.server.system.hardware.peripherals.i2c.I2CDevices.start(I2CDevices.java:63) 2016-11-13 12:24:47,938 [User-defined-serials-discovery] INFO org.pidome.driver.peripherals.pidomeNativeUSBSerial.PidomeNativeUSBSerial - Initializing hardware driver: PiDome User custom serial device 2016-11-13 12:24:47,939 [I2C-discovery] ERROR err - at org.pidome.server.system.hardware.Hardware.discoveryDoneHandler(Hardware.java:280) 2016-11-13 12:24:47,961 [I2C-discovery] ERROR err - at org.pidome.server.system.hardware.HardwareRoot._fireDiscoveryDoneEvent(HardwareRoot.java:85) 2016-11-13 12:24:47,962 [I2C-discovery] ERROR err - at org.pidome.server.system.hardware.peripherals.i2c.I2CDevices.discover(I2CDevices.java:46) 2016-11-13 12:24:47,963 [I2C-discovery] ERROR err - at org.pidome.server.system.hardware.Hardware$3.run(Hardware.java:167) 2016-11-13 12:24:47,973 [main] INFO org.pidome.server.services.plugins.PluginService - Starting plugin service: Utility usage plugin service 2016-11-13 12:24:48,007 [main] INFO org.pidome.server.services.plugins.PluginService - Starting plugin service: Messenger plugin service 2016-11-13 12:24:48,045 [main] INFO org.pidome.server.services.plugins.PluginService - Starting plugin service: Remotes plugin service 2016-11-13 12:24:48,125 [main] INFO org.pidome.server.services.plugins.PluginService - Starting plugin service: Devices plugin service 2016-11-13 12:24:48,143 [User-defined-serials-discovery] INFO org.pidome.driver.peripherals.pidomeNativeUSBSerial.PidomeNativeUSBSerial - Serial running in noOp mode (Connection handled by peripheral software driver instead of peripheral hardware driver) on port '/dev/ttyMySensorsGateway': false 2016-11-13 12:24:48,145 [User-defined-serials-discovery] INFO org.pidome.driver.peripherals.pidomeNativeUSBSerial.PidomeNativeUSBSerial - Starting hardware driver: PiDome User custom serial device 2016-11-13 12:24:48,149 [main] INFO org.pidome.server.services.plugins.PluginService - Starting plugin service: Weather plugins service 2016-11-13 12:24:48,162 [PluginService::Start:Devices plugin service] INFO org.pidome.server.services.plugins.PluginService - Starting 'MQTT Server hook' (PiDome MQTT Broker) with the 'Devices plugin service' plugin service 2016-11-13 12:24:48,204 [User-defined-serials-discovery] INFO org.pidome.server.system.hardware.drivers.Drivers - Loading peripheral software driver for: MySensors_Serial_Port 2016-11-13 12:24:48,223 [PluginService::Start:Weather plugins service] INFO org.pidome.server.services.plugins.PluginService - Starting 'PiDome Buienradar' (PiDome Buienradar) with the 'Weather plugins service' plugin service 2016-11-13 12:24:48,394 [User-defined-serials-discovery] INFO org.pidome.server.system.hardware.drivers.Drivers - Driver NativeMySensorsDriver14 on MySensors_Serial_Port on port /dev/ttyMySensorsGateway is ready for use 2016-11-13 12:24:48,396 [User-defined-serials-discovery] INFO org.pidome.server.system.hardware.Hardware - Done user defined serial devices discovery 2016-11-13 12:24:48,414 [main] INFO org.pidome.server.services.network.BroadcastService - Broadcast message: '{"SRV":"192.168.1.48","UP":8080,"DP":11000,"UA":"SRV","SSL":true,"DA":"SRV"}' 2016-11-13 12:24:48,417 [SERVICE:BroadcastServer] INFO org.pidome.server.services.network.BroadcastService - Started, sending every 7.5 seconds 2016-11-13 12:24:48,706 [PluginService::Start:Devices plugin service] INFO org.pidome.server.system.hardware.peripherals.Peripherals - Trying to load 'Emulator for: PiDome MQTT Broker' hardware driver using saved configuration. 2016-11-13 12:24:48,707 [PluginService::Start:Devices plugin service] INFO org.pidome.server.system.hardware.peripherals.Peripherals - Using vid 'PiDome' and pid 'HwPluginEmu' for loading Emulator for: PiDome MQTT Broker. 2016-11-13 12:24:48,730 [PluginService::Start:Devices plugin service] INFO org.pidome.server.system.hardware.drivers.Drivers - Loading peripheral software driver for: Emulator for: PiDome MQTT Broker 2016-11-13 12:24:48,789 [PluginService::Start:Devices plugin service] INFO org.pidome.server.system.hardware.drivers.Drivers - Is emulator plugin, setting plugin links: MQTT Server hook 2016-11-13 12:24:48,790 [PluginService::Start:Devices plugin service] INFO org.pidome.server.system.hardware.drivers.Drivers - Is emulator plugin, setting device instance link 2016-11-13 12:24:48,794 [PluginService::Start:Devices plugin service] INFO org.pidome.server.system.hardware.drivers.Drivers - Assigning the next installed devices to emulator plugin 'MQTT Server hook': {} 2016-11-13 12:24:48,797 [PluginService::Start:Devices plugin service] INFO org.pidome.server.system.hardware.drivers.Drivers - Driver PidomeMQTTBrokerDriver on Emulator for: PiDome MQTT Broker on port 71eb159d-9539-49fb-82be-3a74ac94dc0b is ready for use 2016-11-13 12:24:48,896 [PluginService::Start:Devices plugin service] INFO io.moquette.server.Server - Persistent store file: 2016-11-13 12:24:48,899 [Thread-18] ERROR org.pidome.server.system.hardware.devices.Devices - Device sql error: no such column: 'modifiers' 2016-11-13 12:24:49,097 [Thread-18] ERROR org.pidome.server.system.hardware.devices.Devices - Device sql error: no such column: 'modifiers' 2016-11-13 12:24:49,142 [Thread-18] ERROR org.pidome.server.system.hardware.devices.Devices - Device sql error: no such column: 'modifiers' 2016-11-13 12:24:49,189 [Thread-18] ERROR org.pidome.server.system.hardware.devices.Devices - Device sql error: no such column: 'modifiers' 2016-11-13 12:24:49,208 [DisplayClientSocketSSL] ERROR org.pidome.server.services.clients.socketservice.SocketService - Message server could not be started java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) ~[?:1.8.0_91] at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387) ~[?:1.8.0_91] at java.net.ServerSocket.bind(ServerSocket.java:375) ~[?:1.8.0_91] at java.net.ServerSocket.<init>(ServerSocket.java:237) ~[?:1.8.0_91] at javax.net.ssl.SSLServerSocket.<init>(SSLServerSocket.java:181) ~[?:1.8.0_91] at sun.security.ssl.SSLServerSocketImpl.<init>(SSLServerSocketImpl.java:140) ~[?:1.8.0_91] at sun.security.ssl.SSLServerSocketFactoryImpl.createServerSocket(SSLServerSocketFactoryImpl.java:95) ~[?:1.8.0_91] at org.pidome.server.services.clients.socketservice.SocketService$1.run(SocketService.java:106) [pidome-server.jar:0.1-SNAPSHOT-2016-09-22.698] 2016-11-13 12:24:49,239 [Thread-18] ERROR org.pidome.server.system.hardware.devices.Devices - Device sql error: no such column: 'modifiers' 2016-11-13 12:24:49,271 [Thread-18] ERROR org.pidome.server.system.hardware.devices.Devices - Device sql error: no such column: 'modifiers' 2016-11-13 12:24:49,339 [USB-discovery] INFO org.pidome.server.system.hardware.peripherals.usb.USBDevices - USB listener started 2016-11-13 12:24:49,340 [USB-discovery] INFO org.pidome.server.system.hardware.Hardware - Done peripherals discovery on USB 2016-11-13 12:24:49,352 [Thread-18] ERROR org.pidome.server.system.hardware.devices.Devices - Device sql error: no such column: 'modifiers' 2016-11-13 12:24:49,355 [Rasp USB Monitor] INFO org.pidome.server.system.hardware.peripherals.usb.linux.RaspUsb - Usb listener started 2016-11-13 12:24:49,464 [Thread-18] INFO org.pidome.server.services.automations.AutomationRules - Loaded rule: CPU usage 2016-11-13 12:24:49,930 [PluginService::Start:Devices plugin service] INFO io.moquette.spi.impl.SimpleMessaging - Starting without ACL definition 2016-11-13 12:24:49,981 [PluginService::Start:Devices plugin service] INFO io.moquette.server.netty.NettyAcceptor - Server binded host: 192.168.1.48, port: 1883 2016-11-13 12:24:49,991 [PluginService::Start:Devices plugin service] ERROR org.pidome.plugins.mqtt.pidomeMQTTBroker.PluginBrokerRunner - Could not start MQTT Service using port 1883: Address already in use java.net.BindException: Address already in use at sun.nio.ch.Net.bind0(Native Method) ~[?:1.8.0_91] at sun.nio.ch.Net.bind(Net.java:433) ~[?:1.8.0_91] at sun.nio.ch.Net.bind(Net.java:425) ~[?:1.8.0_91] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) ~[?:1.8.0_91] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) ~[?:1.8.0_91] at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:125) ~[netty-all-4.1.0.Final.jar:4.1.0.Final] at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:543) ~[netty-all-4.1.0.Final.jar:4.1.0.Final] at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1254) ~[netty-all-4.1.0.Final.jar:4.1.0.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:488) ~[netty-all-4.1.0.Final.jar:4.1.0.Final] at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:473) ~[netty-all-4.1.0.Final.jar:4.1.0.Final] at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:965) ~[netty-all-4.1.0.Final.jar:4.1.0.Final] at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:243) ~[netty-all-4.1.0.Final.jar:4.1.0.Final] at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:360) ~[netty-all-4.1.0.Final.jar:4.1.0.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:339) ~[netty-all-4.1.0.Final.jar:4.1.0.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:374) ~[netty-all-4.1.0.Final.jar:4.1.0.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:742) ~[netty-all-4.1.0.Final.jar:4.1.0.Final] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:145) ~[netty-all-4.1.0.Final.jar:4.1.0.Final] at java.lang.Thread.run(Thread.java:745) ~[?:1.8.0_91] 2016-11-13 12:24:49,997 [PluginService::Start:Devices plugin service] INFO org.pidome.server.services.plugins.PluginService - Started plugin: MQTT Server hook 2016-11-13 12:24:50,313 [PluginService::Start:Weather plugins service] INFO org.pidome.server.services.plugins.PluginService - Started plugin: PiDome Buienradar 2016-11-13 12:25:00,582 [TriggerTimeRun::11:25] INFO org.pidome.server.services.triggerservice.TriggerEvent - Executing trigger actions for trigger: Set Morning 2016-11-13 12:25:00,589 [TriggerTimeRun::11:25] INFO org.pidome.server.system.dayparts.DayPartsService - Set daypart to Morning at 13-11-2016 11:25
-
PiDome - Waiting for gateway
Hi all
I have a Raspberry Pi 3 running the PiDome Controller and the Raspberry Pi Serial gateway as per https://www.mysensors.org/build/raspberry
My configuration for the Serial gateway is as followroot@mmm_gateway:~# cd /opt/temp/mmm_gateway/MySensors/examples_linux/ root@mmm_gateway:/opt/temp/mmm_gateway/MySensors/examples_linux# cat mysGateway.cpp #include <iostream> #include <cstdio> #include <unistd.h> // For more options run ./configure --help // Config file //#define MY_LINUX_CONFIG_FILE "/etc/mysensors.dat" // How many clients should be able to connect to this gateway (default 1) #define MY_GATEWAY_MAX_CLIENTS 10 // Serial config // Enable this if you are using an Arduino connected to the USB //#define MY_LINUX_SERIAL_PORT "/dev/ttyACM0" // Enable this if you need to connect to a controller running on the same device #define MY_IS_SERIAL_PTY // Choose a symlink name for the PTY device #define MY_LINUX_SERIAL_PTY "/dev/ttyMySensorsGateway" //MySensorsGateway // Grant access to the specified system group for the serial device #define MY_LINUX_SERIAL_GROUPNAME "tty" // MQTT options //#define MY_CONTROLLER_IP_ADDRESS 192, 168, 178, 68 //#define MY_PORT 1883 //#define MY_MQTT_CLIENT_ID "mysensors-1" //#define MY_MQTT_PUBLISH_TOPIC_PREFIX "mygateway1-out" //#define MY_MQTT_SUBSCRIBE_TOPIC_PREFIX "mygateway1-in" // Enable these if your MQTT broker requires usenrame/password //#define MY_MQTT_USER "username" //#define MY_MQTT_PASSWORD "password" // Flash leds on rx/tx/err #define MY_DEFAULT_ERR_LED_PIN 12 // Error LED pin #define MY_DEFAULT_RX_LED_PIN 16 // Receive LED pin #define MY_DEFAULT_TX_LED_PIN 18 // Transmit LED pin // Inverse the blinking feature //#define MY_WITH_LEDS_BLINKING_INVERSE // Enable software signing //#define MY_SIGNING_SOFT // Enable signing related debug //#define MY_DEBUG_VERBOSE_SIGNING // Enable this to request signatures from nodes that in turn request signatures from gateway //#define MY_SIGNING_REQUEST_SIGNATURES // Enable this to have gateway require all nodes in the network to sign messages sent to it // Note: MY_SIGNING_REQUEST_SIGNATURES must also be set //#define MY_SIGNING_GW_REQUEST_SIGNATURES_FROM_ALL #include <MySensors.h> void setup() { } void presentation() { // Present locally attached sensors here } void loop() { // Send locally attached sensors data here } root@mmm_gateway:/opt/temp/mmm_gateway/MySensors/examples_linux#
I start the Serial Gateway as follow and it starts successfully
root@mmm_gateway:/opt/temp/mmm_gateway/MySensors/examples_linux# ./mysGateway -d mysGateway: Starting gateway... mysGateway: Protocol version - 2.0.1-beta mysGateway: MCO:BGN:INIT GW,CP=RNNG---,VER=2.0.1-beta mysGateway: TSF:LRT:OK mysGateway: TSM:INIT mysGateway: TSM:INIT:TSP OK mysGateway: TSM:INIT:GW MODE mysGateway: TSM:READY mysGateway: MCO:REG:NOT NEEDED mysGateway: MCO:BGN:STP mysGateway: MCO:BGN:INIT OK,ID=0,PAR=0,DIS=0,REG=1 mysGateway: TSF:MSG:READ,120-120-0,s=1,c=1,t=0,pt=7,l=5,sg=0:26.2 mysGateway: TSF:MSG:READ,120-120-0,s=2,c=1,t=1,pt=2,l=2,sg=0:38 mysGateway: TSF:MSG:READ,120-120-0,s=255,c=3,t=0,pt=1,l=1,sg=0:29
As you can see there is a temperature sensor on a SenseBender
The /dev/tty device starts up as well and I can see some information in the file^Cpi@mmm_gateway:~ $ sudo tail -f /dev/ttyMySensorsGateway 0;255;3;0;14;Gateway startup complete. 0;255;0;0;18;2.0.1-beta 120;1;1;0;0;26.2 120;2;1;0;1;38 120;255;3;0;0;29 120;1;1;0;0;26.2 120;2;1;0;1;38 120;1;1;0;0;26.1 120;2;1;0;1;38 120;255;3;0;0;29 106;255;3;0;0;86 106;255;4;0;0;FFFFFFFFFFFFFFFF0300 106;255;0;0;17;2.0.0 106;255;3;0;11;Sensebender Micro 106;255;3;0;12;1.4 106;1;0;0;6; 106;2;0;0;7; 120;255;3;0;0;25 120;255;4;0;0;FFFFFFFFFFFFFFFF0300 120;255;0;0;17;2.0.0 120;255;3;0;6;0 120;255;3;0;11;Sensebender Micro 120;255;3;0;12;1.4 120;1;0;0;6; 120;2;0;0;7;
The PiDome installation seem to be ok as well, I can stop and start it
pi@mmm_gateway:~ $ sudo systemctl status pidome-server.service ● pidome-server.service - LSB: PiDome Home Automation/Domotica server. Loaded: loaded (/etc/init.d/pidome-server) Active: active (running) since Sun 2016-11-13 12:09:45 SAST; 9min ago Process: 2809 ExecStart=/etc/init.d/pidome-server start (code=exited, status=0/SUCCESS) CGroup: /system.slice/pidome-server.service ├─ 717 /opt/pidome/pidome-server/jre/bin/java -Xbootclasspath/p:libs/alpn-boot-8.1.7.v20160121.jar -XshowSettings:properties -Dlog4j.configurationFile=config/log4j2.xml -Djava.awt.headless=true -Dfile.encoding=UTF-8 -jar pidome-server.jar └─2815 /opt/pidome/pidome-server/jre/bin/java -Xbootclasspath/p:libs/alpn-boot-8.1.7.v20160121.jar -XshowSettings:properties -Dlog4j.configurationFile=config/log4j2.xml -Djava.awt.headless=true -Dfile.encoding=UTF-8 -jar pidome-server.jar Nov 13 12:09:45 mmm_gateway pidome-server[2809]: Initializing PiDome server, please wait for server start........ starting up. Nov 13 12:09:45 mmm_gateway systemd[1]: Started LSB: PiDome Home Automation/Domotica server.. pi@mmm_gateway:~ $ sudo systemctl stop pidome-server.service pi@mmm_gateway:~ $ sudo systemctl status pidome-server.service ● pidome-server.service - LSB: PiDome Home Automation/Domotica server. Loaded: loaded (/etc/init.d/pidome-server) Active: inactive (dead) since Sun 2016-11-13 12:19:30 SAST; 4s ago Process: 4338 ExecStop=/etc/init.d/pidome-server stop (code=exited, status=0/SUCCESS) Process: 2809 ExecStart=/etc/init.d/pidome-server start (code=exited, status=0/SUCCESS) Nov 13 12:09:45 mmm_gateway pidome-server[2809]: Initializing PiDome server, please wait for server start........ starting up. Nov 13 12:09:45 mmm_gateway systemd[1]: Started LSB: PiDome Home Automation/Domotica server.. Nov 13 12:19:30 mmm_gateway systemd[1]: Stopping LSB: PiDome Home Automation/Domotica server.... Nov 13 12:19:30 mmm_gateway pidome-server[4338]: Stopping PiDome server, please wait... removing PID file /var/run/pidome.pid, done. Nov 13 12:19:30 mmm_gateway systemd[1]: Stopped LSB: PiDome Home Automation/Domotica server.. pi@mmm_gateway:~ $ sudo systemctl start pidome-server.service pi@mmm_gateway:~ $ sudo systemctl status pidome-server.service ● pidome-server.service - LSB: PiDome Home Automation/Domotica server. Loaded: loaded (/etc/init.d/pidome-server) Active: active (running) since Sun 2016-11-13 12:19:46 SAST; 1s ago Process: 4338 ExecStop=/etc/init.d/pidome-server stop (code=exited, status=0/SUCCESS) Process: 4372 ExecStart=/etc/init.d/pidome-server start (code=exited, status=0/SUCCESS) CGroup: /system.slice/pidome-server.service ├─ 717 /opt/pidome/pidome-server/jre/bin/java -Xbootclasspath/p:libs/alpn-boot-8.1.7.v20160121.jar -XshowSettings:properties -Dlog4j.configurationFile=config/log4j2.xml -Djava.awt.headless=true -Dfile.encoding=UTF-8 -jar pidome-server.jar └─4378 /opt/pidome/pidome-server/jre/bin/java -Xbootclasspath/p:libs/alpn-boot-8.1.7.v20160121.jar -XshowSettings:properties -Dlog4j.configurationFile=config/log4j2.xml -Djava.awt.headless=true -Dfile.encoding=UTF-8 -jar pidome-server.jar Nov 13 12:19:46 mmm_gateway pidome-server[4372]: Initializing PiDome server, please wait for server start........ starting up. Nov 13 12:19:46 mmm_gateway systemd[1]: Started LSB: PiDome Home Automation/Domotica server.. pi@mmm_gateway:~ $
I've defined the custom port, see image
But the driver just says waiting for gateway, never changes
Even when I turn on the device discovery and cycle the SenseBenders, nothing happens
I really like the PiDome interface, but there does not seem to be a lot of information on it, and hence very difficult to troubleshoot, does anyone have an idea on how to fix this please
Regards
-
RE: Can't access PiDome local server
Hi
I had the same problem, try https instead of http, add the security exception and it should work
Regards -
Nubie help please
Hi all,
When can I find an explanation of the values below please? The 106-106 I take is the nodeid, but what about the -0? , s=1 or s=2, Temperature and Humidity, but what are the c=1, t=0,pt and l-5 values?2015-09-25T13:19:37.7152470+02:00 DEBUG MySensors Read: 106-106-0 s=1,c=1,t=0,pt=7,l=5:26.2
2015-09-25T13:19:37.7228050+02:00 INFO MySensors N106S1 Sensor.Temperature 26.2 -
2015-09-25T13:19:37.7363030+02:00 DEBUG MySensors Read: 106-106-0 s=2,c=1,t=1,pt=2,l=2:40
2015-09-25T13:19:37.7410300+02:00 INFO MySensors N106S2 Sensor.Humidity 40Thanks!!
-
What does it all mean?
Hi all,
Sorry for these silly questions, but I'm having a hard time getting my head around the API, in the gateway I get thisInsert Code Here 0;0;3;0;9;gateway started, id=0, parent=0, distance=0 0;0;3;0;14;Gateway startup complete. 0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0: 255;255;3;0;3; 0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0: 255;255;3;0;3; 0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0: 255;255;3;0;3; 0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0: 255;255;3;0;3; 0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0: 255;255;3;0;3; 0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0: 255;255;3;0;3; 0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0: 255;255;3;0;3; 0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0: 255;255;3;0;3; 0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0: 255;255;3;0;3; 0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0: 255;255;3;0;3; 0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0: 255;255;3;0;3; 0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0: 255;255;3;0;3;
What exactly do these mean please?
Also on the MicroBender I get thisSensebender Micro FW 1.2req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: sensor started, id=255, parent=0, distance=1 - Online! req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: isMetric: 1 TempDiff :128.00 HumDiff :nan T: 28.05 H: 26 req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: TempDiff :0.05 HumDiff :0.00 TempDiff :0.05 HumDiff :0.00 TempDiff :0.05 HumDiff :0.00 TempDiff :1.05 HumDiff :0.00 T: 27.97 H: 26 req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: TempDiff :0.97 HumDiff :0.00 T: 27.97 H: 26 req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: TempDiff :0.97 HumDiff :0.00 T: 27.97 H: 26 req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: TempDiff :0.97 HumDiff :0.00 T: 27.96 H: 26 req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: TempDiff :0.96 HumDiff :0.00 T: 27.95 H: 26 req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: TempDiff :0.95 HumDiff :0.00 T: 27.96 H: 26 req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: TempDiff :0.96 HumDiff :0.00 T: 27.95 H: 26 req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: TempDiff :0.95 HumDiff :0.00 T: 27.94 H: 26 req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: TempDiff :0.94 HumDiff :0.00 T: 27.95 H: 26 req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: TempDiff :0.95 HumDiff :0.50 T: 27.96 H: 27 req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: TempDiff :0.96 HumDiff :0.00 T: 27.94 H: 26 req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: TempDiff :0.94 HumDiff :0.50 T: 27.96 H: 26 req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: TempDiff :0.96 HumDiff :0.00 T: 27.96 H: 26 req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: TempDiff :0.96 HumDiff :0.00 T: 27.96 H: 26 req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: TempDiff :0.96 HumDiff :0.00 T: 27.96 H: 26 req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
I've enabled the battery reading in the code, sensor 199, but I struggeling to find out how this all works and where is the battery level?
Thanks in advance