Power / pulse meter
-
Howdy,
I'm loving the NodeManager for my temperature, humidity and repeater nodes. I've just built a battery power meter node and noticed some weird behavior. I'm using the latest version 1.7.
The pulse sensor can interrupt < 1 second. That is to say, the pulse frequency can be less than 1 second at certain periods of the day. I find that I can't get the sensor to report because the node interrupts and then sleeps and then interrupts again before the sleep expires and wakes to send the report. So in the debug, all you see is the interrupt processing and never a send.
Just for debug, I've set both the sleep and report interval to 1 second and I've seen this behavior. What I would like to do is to set the sleep and report interval to 5 minutes, but I don't think that it would ever report.
Any thoughts?
-
@simbo is this by chance happening because while the node is going to sleep or resume from it the interrupt is lost or because when the value of the interrupt is checked (HIGH or LOW) it is already back to the original value and so the change is not detected? Just trying to understand better, for sure I've never run a test with interrupts in less than one second so this is potentially a bug. Also, any code you can share would help in debugging the issue. Thanks!
-
Does your power meter node have a temperature sensor as well? If so, it smells like a similar problem i've reported here
Suggested Topics
-
Sensors db
My Project • 16 Apr 2014, 07:06 • Dvbit 16 Apr 2014, 17:37 -
Nodemanager: How to control a local output from a local input?
NodeManager • 30 Jan 2022, 21:01 • A3V 5 Feb 2022, 16:24 -
Help needed with connecting MySensors node to Home Assistant
NodeManager • 2 Apr 2023, 10:43 • vivek101 2 Apr 2023, 21:21 -
DS18B20 ESP32 nodemanager problem
NodeManager • 13 Sept 2022, 10:59 • A3V 15 Sept 2022, 22:11 -
Help needed with connecting MySensors node to Home Assistant
NodeManager • 16 May 2024, 09:59 • HJ_SK 19 May 2024, 15:01 -
Battery Level
NodeManager • 7 Aug 2022, 21:11 • bbastos 7 Aug 2022, 21:11