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.
Posts made by Vasilis Vlachoudis
-
RE: Raspberry pi gateway problem after change of Pi
-
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
-
RE: Send timer program to pool filter controller
Thank you @eiten for you suggestion. I will try it.
I wanted to be independent from HA, just as a fail safe in case of problems.
I am not relying on the time keeping of the arduino, but on a real time clock module. -
Send timer program to pool filter controller
Hi all,
I want to replace the simple timer controller of the pool with an arduino based using a real time clock and communicating with home assistant using mysensors/mqtt.
Right now I am able to control the filter relay with the arduino/mysensors like a simple switch. However I want to send a timer program, a list of times to turn on/off the filter per day, and then the arduino will work in autonomous mode.
How can I perform such a communication with mysensors?thanks in advance
-
Send an array of ADC data
In my home automation (with mysensors + home assistant) I am monitoring the 3 phases of the house with CT current sensors and the emonlib, which works nicely.
I wanted from time to time to send a full waveform with mysensors, but I could not find out how to send an array of readings instead of a single entry. Is it possible to do it with mysensors?I want to experiment making an AI to identify from the waveform the device that is consuming the power.