Skip to main content

Dune HD smart home integration, free and open source

Dune HD integration for Gladys Assistant

Dune HD media players: what plays, volume, remote control keys and scenes.

Follow and control your Dune HD media players from Gladys, on your local network, through their documented IP Control protocol: what plays, volume, power, remote control keys, scenes when a movie starts or ends.

Developed without the hardware, against the protocol documentation: feedback welcome on the Gladys forum.

What you get​

One device per player, with:

  • Power: on / standby. A player in deep standby (power off) does not answer the network: it shows as off and can only be woken by its remote or its power button.
  • Screen: what the player shows (menu, black screen, playback of a file, a DVD or a Blu-ray, standby, off).
  • Music player of Gladys 5.3: playback (play, pause, stop), title, subtitle, poster, duration and position (seek), volume and mute. The dashboard "Music" box shows it like any player.
  • Remote keys as buttons: play, pause, stop, previous, next, rewind, fast forward, arrows, OK, back, main menu, pop-up menu, info.

The player is read every 5 seconds; only what changes is sent to Gladys.

Configuration​

  1. On each player, read its IP address in Setup → Information and, ideally, reserve it in your router (DHCP).
  2. In Gladys, open the integration's Configuration and type the address of up to three players. A Google-certified ATV model (Homatics, BOXY…) uses port 11080: type address:11080; on these models only the Dune HD Media Center app answers.
  3. Choose the language of the names (features, texts), then save. Click Test the players.
  4. In Discover, add the players to Gladys.

There is nothing to turn on: the protocol needs no account and no password. Volume and mute need a firmware from 2011 or later (protocol 2); the model name, the captions and the poster a firmware from 2019 or later (protocol 5).

Actions​

  • Test the players: asks each configured player for its status and shows its model and firmware, or which ones do not answer.

Scenes​

Triggers:

  • Playback started: the player starts a movie, a file, a stream or a disc, or moves to the next one. Filter by player and by media (video, audio). Variables: title, media, player name.
  • Playback ended: the player leaves the playback (end of the movie, stop, back to the menu, standby). Same filters and variables.

Actions:

  • Play a media: starts a media from its address on the player, e.g. smb://nas/Movies/film.mkv, nfs://192.168.1.5:/volume1/Movies:/film.mkv or a radio stream http://….
  • Press a remote key: sends a key of the Dune HD remote (power on, standby, audio track, subtitles, zoom…).

A scene that starts a playback when a playback starts loops: filter it.

Dashboard​

The Dune HD widget shows what the player shows or plays, the position, the volume, and four buttons by priority: play/pause, stop and volume while something plays, otherwise volume and power. Each group of buttons can be hidden in the widget settings.

Troubleshooting​

  • Off (not answering): the player is in deep standby, unplugged, or its address changed. Check it in Setup → Information and in the configuration.
  • The volume stays empty: the firmware is too old to report it (protocol 1), or the player only reports it during a playback (protocol 2 to 4).
  • No title, always "video": firmware before 2011 (protocol 1) reports neither the file nor the captions; a move to the next file is not seen either.
  • A key does nothing: keys are sent as the remote's infrared codes; some only act on some screens or models.
  • More details in the logs: start the integration with LOG_LEVEL=debug.

Configuration settings​

These are the settings Dune HD asks for in its configuration screen in Gladys.

SettingTypeRequiredDescription
Your Dune HD playerssectionNoGladys talks to the players on your network through their IP Control protocol, nothing to turn on. Type the address of each player (up to three); a fixed address (DHCP reservation) is best. Developed without the hardware: feedback welcome.
Player 1 addressstringNoIP address shown in Setup, Information. Add :11080 for a Google-certified ATV model.
Player 2 addressstringNoIP address shown in Setup, Information. Add :11080 for a Google-certified ATV model.
Player 3 addressstringNoIP address shown in Setup, Information. Add :11080 for a Google-certified ATV model.
Language of the namesselectNoOf the features (fixed when the device is added) and of the texts sent by the integration.

How to install Dune HD in Gladys​

  1. In Gladys, open Integrations: Dune HD appears in the catalog, next to the native integrations, with a community badge.
  2. Click Install. Gladys pulls the Docker image (ghcr.io/guim31/gladys-dune-hd:1.0.0), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration).
  3. Open the Configuration screen of the integration, fill in the settings, and save.
  4. You can also install it directly from its repository URL: https://github.com/guim31/gladys-dune-hd.

Dune HD requires Gladys >=5.3.0. The catalog inside Gladys refreshes every hour, so a new version becomes available at most one hour after its release.

Not running Gladys yet? It is free and open source: follow the installation guide to get started.

About external integrations​

Dune HD is an external integration: a community integration packaged as a Docker container and published on GitHub, that Gladys installs in one click and runs in a sandbox isolated from its core. It is published and maintained by guim31, not by the Gladys core team.

Subscribe to the Gladys Assistant newsletter

A few emails per month about new releases and project news. Sent by Pierre-Gilles Leymarie, founder of the project. Unsubscribe anytime 🙂