Sensors not detected by RPI Serial Gateway



  • I build the RPI Serial Gateway according to https://www.mysensors.org/build/raspberry
    Tried both the master branch and the development branch.

    • Used a fresh radio, not previously used.
    • RPI3 with OS Stretch Lite

    Sadly this gateway is not detected by a sensor that previously worked with the 'MySensors Gateway USB'.
    I already resetted the EEPROM of the sensor/radio.

    Log RPI serial gateway:
    Oct 10 17:59:22 domoticz mysgw[593]: TSF:WUR:MS=0
    Oct 10 17:59:22 domoticz mysgw[593]: TSM:INIT:TSP OK
    Oct 10 17:59:22 domoticz mysgw[593]: TSM:INIT:GW MODE
    Oct 10 17:59:22 domoticz mysgw[593]: TSM:READY:ID=0,PAR=0,DIS=0
    Oct 10 17:59:22 domoticz mysgw[593]: MCO:REG:NOT NEEDED
    Oct 10 17:59:22 domoticz mysgw[593]: MCO:BGN:STP
    Oct 10 17:59:22 domoticz mysgw[593]: MCO:BGN:INIT OK,TSP=1
    Oct 10 17:59:22 domoticz mysgw[593]: TSM:READY:NWD REQ
    Oct 10 17:59:22 domoticz mysgw[593]: TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
    Oct 10 18:14:22 domoticz mysgw[593]: TSF:SAN:OK

    Log of sensor:
    16 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.3.0
    25 MCO:BGN:BFR
    27 TSM:INIT
    28 TSF:WUR:MS=0
    35 TSM:INIT:TSP OK
    36 TSM:FPAR
    38 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    2048 !TSM:FPAR:NO REPLY
    2050 TSM:FPAR
    2052 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    4059 !TSM:FPAR:NO REPLY
    4061 TSM:FPAR
    4063 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    6070 !TSM:FPAR:NO REPLY
    6072 TSM:FPAR
    6074 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    8081 !TSM:FPAR:FAIL
    8082 TSM:FAIL:CNT=1
    8084 TSM:FAIL:DIS
    8086 TSF:TDI:TSL

    Any suggestions ?



  • @bart-haezeleer I have found there are problems with Rpi3 serial port.
    Use a small pro-mini with a cheap serial-to-usb adapter and try with that. I think that will solve your problems. This will also allow you to add hardware signing of messages in the future which cannot be done with a nrf24l01+ directly attached to the pi.


Log in to reply
 

Suggested Topics

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts