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 -
Roller shutter(s_cover) on Domoticz
Domoticz • 5 Aug 2019, 08:43 • Tmaster 21 Jun 2022, 20:48 -
Blockley in Domoticz-not working correctly. Anyone know how to fix.... ?
Domoticz • 15 Nov 2021, 23:07 • Bren 21 Nov 2021, 18:09 -
S_GAS, send and request problem
Domoticz • 28 Nov 2024, 05:38 • Marcin 28 Nov 2024, 05:38 -
Questions about an old setup
Domoticz • 4 May 2022, 02:55 • dbemowsk 9 May 2022, 17:30