Ethernet gateway 1.4 not responding to sensors during inclusionmode
-
I had everything working with 1.3 version and decided to upgrade to 1.4 for better quality of communication but I can't get it to work for 100%.
When debugging I see that all messages from my humidity sensor are acknowledged by the gateway when resetting the sensor, meaning "st=ok". BUT.... almost all messages go wrong (st=fail) when I set the gateway into Inclusionmode!
Sometimes some of the messages are OK meaning I have to restart the sensor about 10 times to get all the devices to show up in the gateway (in Vera). I didn't have this problem with 1.3, Only one restart was required to show all devices in Vera.
While debugging I also found that the gateway is not receiving the messages from the sensor. In the function MyGateway::processRadioMessage() the if(process()) condition does not become TRUE. Meaning that in MySensor::process() the call to RF24::available(&pipe) is not returning TRUE, indicating no messages are waiting to be processed.
Can someone please explain to me why there is a difference between inclusionmode and "normal mode"? As soon as the inclusionmode is over ALL messages are received and acknowledged again....
(I have caps on all radios, tried with different PA-levels, different radios, exchanged the RF24 library against the one from 1.3 in both sensor and gateway, wall warts on both sensor and gateway, using the ENC-device etc.)
-
A little but oh so important update:
I come to think of that I hadn't tried with a hardware inclusion-button yet. So I just tested that and now it's working perfectly!Up till now I started inclusionmode with the Start button on the Vera-gateway device. Clearly something is wrong when doing this.
@hek: you maybe can find some time to look into the code for this?
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28 -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
Can not compile MySensors on esp8266
Troubleshooting • 24 Aug 2024, 15:35 • TheoL 29 Aug 2024, 20:47 -
DHT22 wrong sensor type in Home Assistant
Troubleshooting • 5 days ago • Commodoreuno a day ago -
NODs stop responding, but ping works.
Troubleshooting • 8 Mar 2025, 19:47 • Marcin 8 Mar 2025, 19:47