Wierd temp/Hum
-
Hi.
I updated some temp/hum(DHT22) sensors with nodemanager a month ago. And at the same time I removed the LED and the regulator on the Arduino pro mini. But now I have problems with my sensors. It send some strange values to Domoticz, see attached picture. I have the problem on all sensors but the time between the low value is different and it is also not at the same time on two sensors. Can anyone please give me a hint on what to do?
#include "config.h" #include <MySensors.h> #include "NodeManager.h" NodeManager nodeManager; void before() { Serial.begin(MY_BAUD_RATE); nodeManager.setSleep(SLEEP,1,MINUTES); nodeManager.setBatteryMin(1.8); nodeManager.setBatteryMax(2.4); nodeManager.setBatteryInternalVcc(true); nodeManager.setBatteryPin(A0); nodeManager.registerSensor(SENSOR_DHT22, 3); nodeManager.before(); } void presentation() { nodeManager.presentation(); } void setup() { nodeManager.setup(); } void loop() { nodeManager.loop(); } void receive(const MyMessage &message) { nodeManager.receive(message); } void receiveTime(unsigned long ts) { nodeManager.receiveTime(ts); }
-
I think that could be a sensor reading error
-
Ok.
I thought I could put a filter in domoticz but maybe it's easier to do that in the sensor instead
Just realized that I haven't checked NodeMangager source code. Is there any check of Nan value?
Or do I need to wake up the node a short time before reading DHT?
-
Dht sensors are usually not very quick. I tried nodemanager for one of my nodes but I got sketch size issue so I haven't put too much time into it.
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting • 26 Feb 2025, 00:32 • dpcons 26 Feb 2025, 06:22 -
NODs stop responding, but ping works.
Troubleshooting • 8 Mar 2025, 19:47 • Marcin 8 Mar 2025, 19:47 -
DHT22 wrong sensor type in Home Assistant
Troubleshooting • 3 days ago • Commodoreuno a day ago -
Getting system time from the controller
Troubleshooting • 27 Feb 2025, 01:39 • dpcons 3 Mar 2025, 01:00 -
Ghost Child
Troubleshooting • 29 days ago • FcNanoLed 26 days ago