Is there any uniqueness parameter to find a sleep node from controller side?
-
MyController supports for sleep nodes and for now, we have to set it manually.
We would like to set it automatically based on node data.Is there any uniqueness parameter sent by a node to identify it is a sleeping node?
-
When node goes to sleep, doesn't it send something to controller?
-
I think that in the z-wave standard node are reporting their capabilities. I don't see anything like that in the serial protocol documentation of MySensors. I think that node capability should be reported during presentation. So maybe there should be new internal command type ?
-
Hi,
when using smartsleep parameter of sleep(), a msg is sent before (and after):
- I_PRE_SLEEP_NOTIFICATION
- I_POST_SLEEP_NOTIFICATION
https://www.mysensors.org/apidocs/group__MyMessagegrp.html#ggaa6f265dd19e9cad90979fef252e17a87a105639edd79e6f1d0104986aa6370de7
https://github.com/mysensors/MySensors/blob/af3452f91c15b60cc7666b6225fa7342f08a6f52/core/MySensorsCore.cpp#L595
https://github.com/mysensors/MySensors/blob/af3452f91c15b60cc7666b6225fa7342f08a6f52/core/MySensorsCore.cpp#L647