Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 908 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 908 Bytes

Home Assistant + Android Device Controls API

Super-WIP app for controlling Home Assistant using the upcoming Android 11 Quick Access Device Controls feature.

What's working:

  • Fetch devices using Home Assistant's REST API
  • Display current state and get updates via the WebSocket API
  • Supported device types:
    • Light
    • Switch
    • Vacuum (no interaction, just displays state)
    • Camera (no interaction, just displays state)
  • Control devices via single tap and slider

TO-DO:

  • Support more device types (Alarm, Climate, etc.)
  • Configuration UI (connection params are hardcoded for now)
  • Custom UI and controls when long pressing a device

How to use

First, you need a device/emulator running Android 11 beta. Then clone the repo, set your URL and access token in Config.kt and build the app.