Raspberry pi gateway problem after change of Pi



  • Dear All, my best wishes for a happy new year!

    I had mysensors gateway with NRF24L01 working nicely for 2 years on my Raspberry PI 3B+, MQTT and home assistant, rasbian 64bit (keeping always up to date).
    Recently I've changed my Pi to RPi v4, installed the latest version of rasbian, restored my setup from the old pi, conf, eeprom etc.., plugged the GPIO ribbon with my NRF.
    The mysgw seems to start (except one warning for the pipe?) but none of the sensors manages to connect to my gateway.
    I see the failed attempts from home assistant to send some text message to one sensor.

    This is the log from the gateway

    Dec 31 22:26:17 ERROR Failed to open log pipe.
    Dec 31 22:26:17 INFO  Starting gateway...
    Dec 31 22:26:17 INFO  Protocol version - 2.4.0-alpha
    Dec 31 22:26:17 INFO  EEPROM file /home/bnv/mysensors.eeprom does not exist, creating new file.
    Dec 31 22:26:17 DEBUG MCO:BGN:INIT GW,CP=RNNGL---,FQ=NA,REL=1,VER=2.4.0-alpha
    Dec 31 22:26:17 DEBUG TSF:LRT:OK
    Dec 31 22:26:17 DEBUG TSM:INIT
    Dec 31 22:26:17 DEBUG TSF:WUR:MS=0
    Dec 31 22:26:17 DEBUG TSM:INIT:TSP OK
    Dec 31 22:26:17 DEBUG TSM:INIT:GW MODE
    Dec 31 22:26:17 DEBUG TSM:READY:ID=0,PAR=0,DIS=0
    Dec 31 22:26:17 DEBUG MCO:REG:NOT NEEDED
    Dec 31 22:26:17 DEBUG MCO:BGN:STP
    Dec 31 22:26:17 DEBUG MCO:BGN:INIT OK,TSP=1
    Dec 31 22:26:17 DEBUG GWT:RMQ:CONNECTING...
    Dec 31 22:26:17 ERROR connect: Connection refused
    Dec 31 22:26:17 ERROR failed to connect
    Dec 31 22:26:18 DEBUG !GWT:RMQ:FAIL
    Dec 31 22:26:18 DEBUG TSM:READY:NWD REQ
    Dec 31 22:26:30 DEBUG ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
    Dec 31 22:26:30 DEBUG GWT:RMQ:CONNECTING...
    Dec 31 22:26:30 DEBUG connected to 127.0.0.1
    Dec 31 22:26:30 DEBUG GWT:RMQ:OK
    Dec 31 22:26:30 DEBUG GWT:TPS:TOPIC=hnet-in/0/255/0/0/18,MSG SENT
    Dec 31 22:26:30 DEBUG GWT:IMQ:TOPIC=hnet-out/2/9/1/1/47, MSG RECEIVED
    Dec 31 22:26:30 DEBUG !TSF:RTE:2 UNKNOWN
    Dec 31 22:26:40 DEBUG !TSF:MSG:SEND,0-0-2-2,s=9,c=1,t=47,pt=0,l=7,sg=0,ft=0,st=NACK:Lcloudy
    Dec 31 22:30:00 DEBUG GWT:IMQ:TOPIC=hnet-out/2/9/1/1/47, MSG RECEIVED
    Dec 31 22:30:00 DEBUG !TSF:RTE:2 UNKNOWN
    

    Any ideas what might be the problem or how to debug it?

    best regards



  • After re-installing the previous 32bit raspbian version, the gateway seems to work ok.
    It seems to me there is a problem with the 64bit version.


Log in to reply
 

Suggested Topics

  • 4
  • 9
  • 14
  • 3
  • 2
  • 274

18
Online

11.2k
Users

11.1k
Topics

112.5k
Posts