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 -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28 -
Some sensors permanently fail after one/two years
Troubleshooting • 25 Jul 2024, 17:17 • Kokosnoot 25 Jul 2024, 17:17 -
Raspberry Pi 5: invalid GPIO 9
Troubleshooting • 27 Aug 2024, 13:20 • igo 27 Aug 2024, 13:20 -
Extraneous info in Debug log
Troubleshooting • 28 Jun 2024, 22:42 • Gibber 28 Jun 2024, 22:42