Hello, I am a beginner in node red and would like to save the data from the dht22 sensor in mysql and display via chart. I have already tried a lot but unfortunately without success.
Just a small addendum...
I tried swapping my Pi3B+ install into a Pi 400 with the BCM2711 and it did not work.
I needed both the BCM2835 v 1.68 and to remove the flags from the "configure" script BCM2711 section.
@bjornhallberg said in RFM69 Range issues:
Gateway (rfm69hw) initialization:
#define MY_IS_RFM69HW
#define MY_RFM69_FREQUENCY RFM69_868MHZ
#define MY_RFM69_NEW_DRIVER
Maybe I missed someone pointing this out, but the original poster's gateway initialization looks like it's missing something. These defines are not at all obvious, especially with the HW version. Strange things can happen, including unexpectedly low power. Check the API docs and also another thread.
With the HW version of the RFM69 on the gateway, and the RFM69 new driver, in addition to what you list, you need to also include:
#define MY_RADIO_RFM69
#define MY_RFM69HW true
https://www.mysensors.org/apidocs/group__RFM69SettingGrpPub.html#gaf1455cd3427c9dc4c4564542c3dafc16
https://forum.mysensors.org/topic/11316/rfm69hw-atc-not-working
I faced same issue and was able to solve it by doing a proper presentation of S_INFO widget, as described in sample sketch: https://www.home-assistant.io/integrations/notify.mysensors/
The error message is quite misleading.
@Flyer Sorry, but I can't remember if I had any more problems after I manually fixed the database.
And just a couple months after I had this problem I switched to Home Assistant instead.
Sorry, but I'm afraid I can't help you any further.
If the tests in the sketch do not go any further, there is something wrong with the board itself...
No luck so far. Thanks for all the advice!
For now I have decided to try something else end keep using nRF24 but switch from a ESP8266 gateway to one running on a Raspberry Pi.