Integration
Hepta for Home Assistant
Every open Hepta app and linked TV becomes a Home Assistant media player. Pause the movie when the doorbell rings, dim the lights when playback starts, or start a show from a dashboard.
What you get
- Media players. Title, artwork and progress for each Hepta app and TV, with play, pause, seek, volume, next and stop.
- Start a title anywhere. Movies resume where you left off, and a show starts at the next unwatched episode.
- Your libraries in the Media panel. Browse Hepta in Home Assistant and play titles on any speaker or TV it knows.
- Sensors and a button. What is playing now, streams being transcoded for a device, library sizes, scans, whether Hepta Sync is online, and a button to scan now.
- Private by design. Home Assistant talks only to your server. Its link is limited to playback and the library, and you can unlink it at any time.
Install
- In Home Assistant open HACS › ⋮ › Custom repositories and add
https://github.com/sevanstechnology/hepta-home-assistantas an Integration. Search for Hepta, download it, and restart Home Assistant. - Go to Settings › Devices & services. Hepta usually appears under Discovered. Otherwise choose Add integration › Hepta and enter your Hepta address, for example
http://192.168.1.20:7777. - Home Assistant shows a 6-character code. In Hepta open Admin › Smart home › Enter a link code and type it in. That's it.
Running Hepta in Docker Desktop on Windows or macOS? Automatic discovery does not reach through Docker Desktop, so add Hepta by its address.
Example: pause for the doorbell
automation:
- alias: Pause Hepta for the doorbell
triggers:
- trigger: state
entity_id: binary_sensor.front_doorbell
to: "on"
actions:
- action: media_player.media_pause
target:
entity_id: media_player.living_room_tv
Example: movie lighting
automation:
- alias: Movie lighting
triggers:
- trigger: state
entity_id: media_player.living_room_tv
to: playing
actions:
- action: light.turn_on
target: { area_id: living_room }
data: { brightness_pct: 10 }
Unlinking
Choose Unlink under Admin › Smart home. Home Assistant stops working with Hepta straight away and asks to be linked again.