mirror of
https://github.com/sudoxnym/saas.git
synced 2026-04-14 19:46:43 +00:00
Update README.md
Prerelease
This commit is contained in:
parent
f9b54201c8
commit
841b97e84b
1 changed files with 38 additions and 20 deletions
58
README.md
58
README.md
|
|
@ -1,24 +1,42 @@
|
||||||
SAAS - Sleep As Android Status
|
<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 INTEGRATION IS FUNCTIONAL BUT NOT FINISHED!
|
This should intelligently and dynamically allow for state changes in the Wake Status Sensor.</br></br>
|
||||||
|
|
||||||
|
|
||||||
|
<h2>Installation:</h2>
|
||||||
|
|
||||||
|
[](https://hacs.xyz/docs/faq/custom_repositories)<br>
|
||||||
|
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.
|
Built this in less than a week, with no prior knowledge of Python.
|
||||||
|
|
||||||
When finished this integration will create 6 sensors per user. (x works, O needs work)
|
|
||||||
|
|
||||||
x State
|
|
||||||
|
|
||||||
x Sound
|
|
||||||
|
|
||||||
x Disturbance
|
|
||||||
|
|
||||||
x Alarm Event
|
|
||||||
|
|
||||||
x Sleep Tracking
|
|
||||||
|
|
||||||
O Lullaby State
|
|
||||||
|
|
||||||
O Wake Status
|
|
||||||
|
|
||||||
This should intelligently and dynamically allow for state changes. As of right now some states work and some don't.
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue