mirror of
https://github.com/sudoxnym/sleepd.git
synced 2026-04-14 11:37:11 +00:00
30 lines
964 B
Markdown
30 lines
964 B
Markdown
# 🧪 Deploying sleepd - Sleep As Android Status via HACS
|
|
|
|
## 🛠️ Pre-requisites
|
|
|
|
- Home Assistant (2023.x or newer recommended)
|
|
- HACS installed (https://hacs.xyz/)
|
|
- MQTT broker set up and working
|
|
- Android device running Sleep As Android
|
|
|
|
## 🚀 Installation Steps
|
|
|
|
1. In HACS, go to "Integrations"
|
|
2. Click the 3-dot menu > Custom repositories
|
|
3. Paste: `https://github.com/sudoxnym/sleepd`
|
|
4. Set Category to "Integration"
|
|
5. Click "Add"
|
|
6. Refresh, search for `sleepd - Sleep As Android Status`, and install
|
|
7. Restart Home Assistant
|
|
8. Go to Settings > Devices & Services > Add Integration > search "sleepd"
|
|
9. Configure the integration with your MQTT topic and states
|
|
|
|
## 🧪 Testing
|
|
|
|
- Trigger sleep/wake events from Sleep As Android
|
|
- Confirm sensor states update in Home Assistant
|
|
- Optional: Use HA Companion App to link button services
|
|
|
|
## 📄 More
|
|
|
|
See the [README](./README.md) for configuration, supported devices, and example automations.
|