"loosing" sensors over time

  • Hi Guys,

    before I come to my problem, first a big appreciation for all the stuff you guys put together here, really amazing. Must have spent lot's of time on this.

    I'm using the Mysensor lib v2.1.1 and am trying to build a network of temperature/humidity/pressure sensors running on batteries.
    I have one Gateway based on a NodeMCU0.9 connected to an NRF24L01+PA+LNA with MY_RF24_PA_LEVEL set to RF24_PA_LOW, no sensor yet (fixed power).
    I have one Repeater based on a Arduino Nano connected to an NRF24L01+PA+LNA with MY_RF24_PA_LEVEL set to RF24_PA_LOW, and a DHT sensor connected (fixed power).
    Also I have 2 more Arduino Nano's (fixed power) connected to an NRF24L01+, one with a DHT, the other with a BME280.
    Finally I have another 6 (and more in the pipeline) Arduino Pro Mini 3.3V connected to an NRF24L01+ with either a 47uF or 220uF low ESR Capacitor and BME280 Sensors connected. Also I measure the batterie power on these devices. These devices are built according to your description of batterie powered devices, removing the LED and powerregulator.

    The final config should only contain the Arduino Pro Mini based batterie powered devices, plus 2 Gateways, or 1 Gateway and a repeater with fixed power.

    My biggest problem seems to be, that in general the whole thing works, but from time to time I'm "losing" the sensors, or some of their measurements. Once I "loose" them, sometimes they come back after quite a while, or not at all.
    The sensors are supposed to send their data every 15 minutes, if there is a change. I switched of DEBUG and pressure readouts, to save batterie power.
    I have no clue why I "loose" the sensors. Maybe it's a collision, maybe ....

    Did I use the correct topology (1 Gateway, 1 repeater and 8 sensors, measuring every 15 minutes), should I use 2 gateways on different frequencies? Why do the sensors get "stuck"/"lost"?

    Any help is welcome.



  • Mod

    @eedlez you need to monitor the debug output of the nodes to see what is going on, or start monitoring the repeater as I noticed some people struggling with repeaters. It will require something attached to serial for a long time until you start seeing any problem

  • Hero Member

    Hello @eedlez, I had a similar problem with battery powered temperature sensors until I started to use a good PA LNA module with RF24_PA_MAX. Then everything became 100% reliable.

Log in to reply

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.