domoticz request battery info to node
-
hi,
i have a sensor node with pir and rfm69 wich sleep forever and send motion to gateway .Its possible for domoticz request level battery each hour to node sensor?
-
@mar.conte - isnt it better to wake the node up each hour and report batterystatus to domoticz?
-
but surely ,my project was to question my sensors to see if they were reached through domoticz.
Domoticz creates interesting algorithms "EVENTS" so I thought to interrogate the sensors and if not responded to do domoticz a series of operations
-
@mar.conte - the main problem is that if you use sleep() the radio can not recieve anything because its sleeping. Its possible if you have a live radio to listen for a command.
-
but if you can create a interrupt for the pir you can create it for rfm69?
Rfm69 can wake by interruopt?
-
@mar.conte - I dont think this is implemented in MySensors, but im not the expert here. Just been around and cant remember this has been done. I know there are some new futures lite smartsleep() or something and maybe you can. I let someone else proceed here.
-
@sundberg84
tanks,
smartsleep? example for this?
-
@mar.conte as I said... i dont have any knowledge in this. Follow this link https://www.mysensors.org/download/sensor_api_20#sleeping and wait for other more experts to answer.
-
@sundberg84
tanks have nice day by by
-
For smartsleep take a look at NodeManager which can also change the sleep time from controller
Suggested Topics
-
Vera Gateway Versions
Troubleshooting • 29 Mar 2014, 19:59 • karenbobiv 30 Mar 2014, 07:20 -
Questions about an old setup
Domoticz • 4 May 2022, 02:55 • dbemowsk 9 May 2022, 17:30 -
Trying to automate in Domoticz
Domoticz • 25 Feb 2022, 23:13 • Feliw05 28 Feb 2022, 03:39 -
domoticz tables and mysensors
Domoticz • 7 Feb 2023, 20:55 • ebioz 7 Feb 2023, 20:55 -
eventsystem: problem writing file
Domoticz • 27 Feb 2022, 00:11 • Feliw05 27 Feb 2022, 17:50