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
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
PJON and Minicore not working
Development • 7 days ago • Trand 7 days ago -
Counting Incoming and Outgoing Messages from a Gateway
Development • 10 Dec 2024, 21:57 • Trand 14 Dec 2024, 20:23 -
Sending offset to node
Development • 31 Jan 2025, 00:59 • bsl88k 4 Feb 2025, 12:14 -
Gateway without a radio
Development • 12 Jan 2025, 23:19 • OldSurferDude 14 Jan 2025, 22:07 -
Saving last known good state, but not in EEPROM
Development • 30 Jan 2024, 18:46 • OldSurferDude 15 Jan 2025, 08:51