Unable to get MySensors sensors to Work with MyController running on RPi



  • Hello,

    I am running MyController on a Raspberry Pi and I have built a simple MySensors temperature and humidity sensor using the DHT-11 and an Arduino Pro Mini.

    I have the serial gateway setup and I believe it is working, as it does "communicate" with my node but strange things are happening and the Sensor data is not updating.

    For example, when I add the MySensors Temperature sensor node by pressing "Reset", it automatically registers 2 Nodes in MyController, one with ID 0 and another with ID 1.

    The node with ID 0 "connects" itself to the gateway, as you can see here in the topology:
    topology

    The node with ID 1, the TemperatureandHumidity node with the actual sensors registered to it, does not "connect" to the gateway.

    Here is my gateway:

    Here is what the node page looks like: node page

    And the sensor page: sensors

    Here's my serial output from the sensor:

    0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
    3 TSM:INIT
    4 TSF:WUR:MS=0
    11 TSM:INIT:TSP OK
    13 TSF:SID:OK,ID=1
    14 TSM:FPAR
    51 TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    940 TSF:MSG:READ,0-0-1,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    945 TSF:MSG:FPAR OK,ID=0,D=1
    2058 TSM:FPAR:OK
    2059 TSM:ID
    2060 TSM:ID:OK
    2062 TSM:UPL
    2065 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
    2074 TSF:MSG:READ,0-0-1,s=255,c=3,t=25,pt=1,l=1,sg=0:1
    2079 TSF:MSG:PONG RECV,HP=1
    2081 TSM:UPL:OK
    2083 TSM:READY:ID=1,PAR=0,DIS=1
    2088 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
    2095 TSF:MSG:READ,0-0-1,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
    2102 TSF:MSG:SEND,1-1-0-0,s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=OK:2.1.1
    2110 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
    2122 TSF:MSG:READ,0-0-1,s=255,c=3,t=6,pt=0,l=1,sg=0:M
    2130 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=11,pt=0,l=22,sg=0,ft=0,st=OK:TemperatureAndHumidity
    2141 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.1
    2148 TSF:MSG:SEND,1-1-0-0,s=0,c=0,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    2156 TSF:MSG:SEND,1-1-0-0,s=1,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=OK:
    2161 MCO:REG:REQ
    2165 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2
    2171 TSF:MSG:READ,0-0-1,s=255,c=3,t=27,pt=1,l=1,sg=0:1
    2177 MCO:PIM:NODE REG=1
    2179 MCO:BGN:STP
    2182 MCO:SLP:MS=1000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2187 MCO:SLP:TPD
    2188 MCO:SLP:WUP=-1
    2190 MCO:BGN:INIT OK,TSP=1
    2216 TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:21.0
    T: 21.00
    2225 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:47.0
    H: 47.00
    2232 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2237 MCO:SLP:TPD
    2239 MCO:SLP:WUP=-1
    2263 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2268 MCO:SLP:TPD
    2269 MCO:SLP:WUP=-1
    2293 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2298 MCO:SLP:TPD
    2299 MCO:SLP:WUP=-1
    2323 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2328 MCO:SLP:TPD
    2330 MCO:SLP:WUP=-1
    2354 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2359 MCO:SLP:TPD
    2361 MCO:SLP:WUP=-1
    2384 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2390 MCO:SLP:TPD
    2392 MCO:SLP:WUP=-1
    2415 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2420 MCO:SLP:TPD
    2422 MCO:SLP:WUP=-1
    2446 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2451 MCO:SLP:TPD
    2452 MCO:SLP:WUP=-1
    2477 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2482 MCO:SLP:TPD
    2483 MCO:SLP:WUP=-1
    2506 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2511 MCO:SLP:TPD
    2513 MCO:SLP:WUP=-1
    2537 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2542 MCO:SLP:TPD
    2544 MCO:SLP:WUP=-1
    2570 TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:21.0
    T: 21.00
    2579 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:47.0
    H: 47.00
    2585 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2590 MCO:SLP:TPD
    2592 MCO:SLP:WUP=-1
    2618 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:48.0
    H: 48.00
    2625 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2630 MCO:SLP:TPD
    2632 MCO:SLP:WUP=-1
    2656 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2661 MCO:SLP:TPD
    2662 MCO:SLP:WUP=-1
    2685 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2691 MCO:SLP:TPD
    2693 MCO:SLP:WUP=-1
    2716 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2721 MCO:SLP:TPD
    2723 MCO:SLP:WUP=-1
    2749 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:47.0
    H: 47.00
    2756 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2761 MCO:SLP:TPD
    2763 MCO:SLP:WUP=-1
    2787 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2792 MCO:SLP:TPD
    2793 MCO:SLP:WUP=-1
    2818 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2823 MCO:SLP:TPD
    2824 MCO:SLP:WUP=-1
    2847 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2852 MCO:SLP:TPD
    2854 MCO:SLP:WUP=-1
    2878 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2883 MCO:SLP:TPD
    2885 MCO:SLP:WUP=-1
    2909 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2914 MCO:SLP:TPD
    2916 MCO:SLP:WUP=-1
    2941 TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:21.0
    T: 21.00
    2951 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:46.0
    H: 46.00
    2957 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2962 MCO:SLP:TPD
    2964 MCO:SLP:WUP=-1
    2988 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2993 MCO:SLP:TPD
    2995 MCO:SLP:WUP=-1
    3018 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    3023 MCO:SLP:TPD
    3024 MCO:SLP:WUP=-1
    3049 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    3054 MCO:SLP:TPD
    3055 MCO:SLP:WUP=-1
    3080 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    3085 MCO:SLP:TPD
    3086 MCO:SLP:WUP=-1
    3109 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    3115 MCO:SLP:TPD
    3117 MCO:SLP:WUP=-1
    3140 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    3145 MCO:SLP:TPD
    3147 MCO:SLP:WUP=-1
    3171 MCO:SLP:MS=25000,SMS=0,I1=255,M1=255,I2=255,M2=255
    3176 MCO:SLP:TPD
    

    The resource logs in MyController are empty, but I may have the log level set incorrectly.

    Any guidance or help anyone can provide me is greatly appreciated.


  • Mod

    I think there are some elements missing.


Log in to reply
 

Suggested Topics

  • 2
  • 8
  • 1
  • 16
  • 2
  • 2

62
Online

11.4k
Users

11.1k
Topics

112.7k
Posts