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 -
Getting system time from the controller
Troubleshooting ā¢ 27 Feb 2025, 01:39 ā¢ dpcons 29 days ago -
Forum Search not working?
Troubleshooting ā¢ 4 Oct 2023, 23:33 ā¢ Gibber 2 Sept 2024, 20:28 -
JSN-SR04T-V3.0 Coax cable extended
Troubleshooting ā¢ 12 days ago ā¢ bocalexandru 11 days ago -
Echo request is not set
Troubleshooting ā¢ 12 Aug 2024, 15:36 ā¢ kamilb85 3 Sept 2024, 08:58 -
Can not compile MySensors on esp8266
Troubleshooting ā¢ 24 Aug 2024, 15:35 ā¢ TheoL 29 Aug 2024, 20:47