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