Zum Hauptinhalt springen

Programme Télé Smart-Home-Integration, kostenlos und Open Source

Programme Télé-Integration für Gladys Assistant

French TV guide (TNT): what is on now, next and tonight on your favourite channels.

Info

Die Dokumentation dieser Integration wird von ihrem Autor geschrieben und ist bisher nur auf Englisch verfügbar.

This integration shows the TV guide of the French TNT channels in Gladys: what is on now, what comes next and what is on tonight.

What you get​

One device per selected channel (for example "Programme TV TF1"), with 3 text sensors:

  • En cours (now) — the programme on air, with its times (JT 20h (20:00 - 20:45));
  • À suivre (next) — the next programme (20:45 · Petits plats en équilibre);
  • Ce soir (tonight) — the programme on air at 21:10, Paris time (21:10 · Koh-Lanta).

Times are always displayed in the Paris time zone.

Configuration​

  1. Open the Configuration tab of the integration.
  2. Tick the channels to follow (30 TNT channels available).
  3. Save: the devices show up in the Discovery tab, ready to be added.

The sensors are updated every minute. The full guide (8 days) is downloaded at most every 6 hours.

Dashboard widget​

Add the TV guide widget to a dashboard (Gladys 5.1 or later). Settings:

  • Show: Now (with the time left) or Tonight (21:10);
  • Channels: up to 8 channels; leave empty to use the channels of the integration configuration.

Tap a row to read the programme summary. The widget refreshes itself when a programme ends.

Scenes​

Trigger "A TV programme starts" — starts a scene when a programme begins. Filters (empty = any):

  • Channels: one or more channels;
  • Exact title: e.g. Koh-Lanta (exact match, case included; "contains" is not possible).

Variables for the following actions: channel, title, sub-title, category, start time, end time, duration (min). Example: "When Koh-Lanta starts on TF1, turn on the TV and send me a message".

The trigger works for all 30 channels, even the ones not ticked in the configuration. A programme is detected within a minute of its start.

Action "Get the TV programme of a channel" — returns to the scene what is on now, next and tonight (full text, title only, time). Example: send every evening at 20:00 "Tonight on France 2: …".

Actions​

  • Test the TV guide — downloads the guide right now and shows what is on the first selected channel.

Data source​

The guide comes from the free XMLTV feed of xmltvfr.fr (TNT file). No account, no API key. The integration needs Internet access.

Troubleshooting​

  • "Aucun programme": the source has no data for this channel at that time.
  • "Disconnected" status: the guide download failed. If an older guide is in memory it keeps being used; a new try is made 15 minutes later.
  • Check the integration logs from the Gladys UI (or docker logs on the host) with LOG_LEVEL=debug for the full details.

Konfigurationseinstellungen​

Diese Einstellungen fragt Programme Télé in seinem Konfigurationsbildschirm in Gladys ab.

EinstellungTypPflichtfeldBeschreibung
Getting startedsectionNeinPick the channels to follow: each one becomes a device with 3 sensors (now, next, tonight). The guide comes from the free XMLTV feed of xmltvfr.fr. No account, no API key.
Channelsmulti_selectJaOne Gladys device is created per selected channel.

So installierst du Programme Télé in Gladys​

  1. Öffne in Gladys Integrationen: Programme Télé erscheint im Katalog neben den nativen Integrationen, mit einem Community-Badge.
  2. Klicke auf Installieren. Gladys lädt das Docker-Image (ghcr.io/prohand/gladys-programmetele:2.0.0) herunter, startet es in einer vom Kern isolierten Sandbox und erzeugt die Oberfläche der Integration (Geräte, Erkennung und Konfiguration).
  3. Öffne den Bildschirm Konfiguration der Integration, fülle die Einstellungen aus und speichere.
  4. Du kannst sie auch direkt über die URL ihres Repositorys installieren: https://github.com/prohand/gladys-programmetele.

Programme Télé benötigt Gladys >=5.1.0. Der Katalog in Gladys wird stündlich aktualisiert, eine neue Version ist also spätestens eine Stunde nach ihrer Veröffentlichung verfügbar.

Du nutzt Gladys noch nicht? Es ist kostenlos und Open Source: folge der Installationsanleitung, um loszulegen.

Über externe Integrationen​

Programme Télé ist eine externe Integration: eine Community-Integration, die als Docker-Container verpackt und auf GitHub veröffentlicht wird. Gladys installiert sie mit einem Klick und führt sie in einer vom Kern isolierten Sandbox aus. Sie wird von prohand veröffentlicht und gepflegt, nicht vom Gladys-Kernteam.

Abonniere den Newsletter von Gladys Assistant

Ein paar E-Mails im Monat zu neuen Releases und Neuigkeiten aus dem Projekt. Verschickt von Pierre-Gilles Leymarie, dem Gründer des Projekts. Jederzeit abbestellbar 🙂