mirror of
https://github.com/sudoxnym/sleepd.git
synced 2026-04-14 19:47:29 +00:00
43 lines
1.8 KiB
Markdown
43 lines
1.8 KiB
Markdown
[](https://hacs.xyz/docs/faq/custom_repositories)<br>
|
|
<h1>SAAS - Sleep As Android Status</h1>
|
|
<h4>Description:</h4></br>
|
|
Sleep As Android Status is my solution for wake/sleep state within HA. It listens for the Sleep As Android MQTT Messages, so it does require being on the same network.</br></br>
|
|
|
|
<h7>When finished this integration will create 7 entities and 1 device per user:</h7></br></br>
|
|
Message Received *State</br>
|
|
Wake Status</br>
|
|
Sound</br>
|
|
Disturbance</br>
|
|
Alarm</br>
|
|
Lullaby</br>
|
|
Sleep Tracking</br>
|
|
|
|
|
|
This should intelligently and dynamically allow for state changes in the Wake Status Sensor.</br></br>
|
|
|
|
|
|
<h2>Installation:</h2>
|
|
|
|
|
|
Add https://www.github.com/sudoxnym/saas to your Custom Repositories in HACS</br>
|
|
|
|
Search and Download SAAS - Sleep As Android Status</br>
|
|
Restart Home Assistant</br>
|
|
[](https://my.home-assistant.io/redirect/config_flow_start/?domain=saas)<br>
|
|
Add Integration: SAAS - Sleep As Android Status</br></br>
|
|
|
|
|
|
<h2>Configuration:</h3>
|
|
|
|
Name: Name of user</br>
|
|
Topic: MQTT Topic from Sleep As Android</br>
|
|
QoS: Quality of Service</br></br>
|
|
|
|
Awake Duration: Time in seconds in which awake states = true to indicate awake</br>
|
|
Asleep Duration: Time in seconds in which sleep states = true to indicate asleep</br>
|
|
Awake States: States to indicate being awake</br>
|
|
Asleep States: States to indicate being asleep</br></br>
|
|
|
|
Please report any issues.</br>
|
|
This is my first integration.
|
|
Built this in less than a week, with no prior knowledge of Python.
|