Sensors are added to this component. Therefore the configuration for this component has changed. Check the configuration section below!
A media player component for Home Assistant that creates a media player and a sensor for each Ziggo Media Box Next in your account.
- You need a Ziggo account with a Ziggo Media Box Next.
- The energy mode needs to be set to high ("Hoog" in Dutch), otherwise you are not able to switch the device on in the media player.
- Make sure you've installed HACS
- In the integrations tab, search for ZiggoNext.
- Install the Integration.
- Add ziggonext entry to configuration (see below)
- Open the directory (folder) for your HA configuration (where you find configuration.yaml).
- If you do not have a custom_components directory (folder) there, you need to create it.
- In the custom_components directory (folder) create a new folder called ziggonext.
- Download all the files from the custom_components/ziggonext/ directory (folder) in this repository.
- Place the files you downloaded in the new directory (folder) you created.
- Add ziggonext entry to configuration (see below)
- Restart Home Assistant
ziggonext:
username: !secret ziggo_username
password: !secret ziggo_password
The id's for media_players and sensors are generated based on the name provided by Ziggo. You can adjust your box name in the settings on the ziggogo.tv website.
Parameter | Type | Required | Description |
---|---|---|---|
username | string | yes | Your Ziggo username |
password | string | yes | Your Ziggo password |
country_code | string | no (default 'nl') | Your country code. Currently supported: nl, ch, be-nl, be-fr* |
* Not tested
service: media_player.play_media
service_data:
entity_id: media_player.ziggobeneden
media_content_id: 401 # Any channel number, 'Netflix' or 'Videoland'
media_content_type: channel # 'channel' when media_content_id is channelnumber, 'app' when media_content_id is 'Netflix' or 'Videoland'
This service can be called to start a recording. Note that this shows a pop-up on screen and confirmation is required.
service: ziggonext.record
service_data:
entity_id: media_player.ziggobeneden
This service can be called to rewind or fast-forward. Note that this command can be called multiple times to speed up. To stop this action, you can call the standard media_player.play service on the same entity.
service: ziggonext.rewind
service_data:
entity_id: media_player.ziggobeneden
service: ziggonext.fast_forward
service_data:
entity_id: media_player.ziggobeneden
- The excellent start from IIStevowII for a single settopbox inspired me!
- The nodejs script NextRemoteJs from basst85 used as reference to compare results.
- Contributions by: