Skip to content

Commit f45e982

Browse files
brahmafearMartinHjelmare
authored andcommitted
Heartbeats section added (home-assistant#1730)
* Heartbeats section added Added basic documentation of smartSleep functionality within HA based on receiving a heartbeat signal form MySensor node. * Heartbeat info clarified. Heartbeat section updated based on comments. * MyS library api link updated Single link to access all versions of MySensors code and API reference.
1 parent 0c5e5af commit f45e982

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

source/_components/mysensors.markdown

+6-1
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,11 @@ void receive(const MyMessage &message) {
171171
}
172172
```
173173

174+
### {% linkable_title Heartbeats %}
175+
176+
Sending a heartbeat from the MySensors device to Home Assistant activates the SmartSleep functionality in Home Assistant. This means that messages are buffered and only sent to the device upon receiving a heartbeat from the device. State changes are stored so that only the last requested state change is sent to the device. Other types of messages are queued in a FIFO queue. SmartSleep is useful for battery powered actuators that are waiting for commands. See the MySensors library API for information on how to send heartbeats and sleep device.
177+
178+
174179
Visit the [library api] of MySensors for more information.
175180

176-
[library api]: https://www.mysensors.org/download/sensor_api_15
181+
[MySensors library api]: http://www.mysensors.org/download

0 commit comments

Comments
 (0)