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.
o.k., quick update... contrary to what I reported yesterday, it now looks like my gateway is getting sensor readings from the node in question at irregular intervals. strangely enough, when I connect my Mac and launch the serial monitor, the sensor printout still stops after just the few lines above. Has anybody ever experienced something like this before?
Still need to do the hardware swapping to see if this is related to a malfunction of any of the components.
@Robert said in Suspending the node:
Which bootloader should I use?
Only you can decide the best one for what you want.
Is it necessary in my case?
I would say yes it is if you want WDT to operate.
Does users mysensors change the bootloader?
That depends on the need case for each individual requirement. Some do, some don't. The ones that do have a specific reason for doing so, like fota or wdt.
Mysensors has its' own bootloader and I believe that it supports WDT. Optiboot is another popular one but I don't personally know if it supports WDT.
Can you simply connect your baro sensor to relay node and see if something happens? Can you exchange hw/sw with the working (relay) node in any other way? Are both the working node and this one connecting to your repeater node 1 (parent = 1)?
@bjornhallberg Google a bit. There are multiple posts on the net of Arduino's getting stuck in watchdog reboots because it fires and doesn't get disabled correctly on startup. Some bootloaders handle this situation better then others.
Only question is why the watchdog timer would trip...
@scalz
in the second test i used that getting started code to test the radio modules with a library other than mysensors. and they worked. (That code is not mine, i suppose it use the maniacbug library).
So i did investigate to find the differences between mysensors and that library. Only after replacing, in mysensors, the enablefeatures with that code, i got the communication gw-node.