Zum Hauptinhalt springen

UGC Smart-Home-Integration, kostenlos und Open Source

UGC-Integration für Gladys Assistant

Movies currently playing at your UGC cinema.

Info

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

Movies currently playing at your UGC cinema, as a dashboard widget, with a scene trigger for when a new film joins the program.

Important: unofficial integration​

This integration reads the "now playing" page that ugc.fr already serves publicly to any visitor of its site — the same content you would see by opening your cinema's page in a browser, nothing more. It is not developed, endorsed, or affiliated with UGC. UGC can change its site at any time and break this integration without notice.

No paid API, no credential extracted from an app, no bypass of anti-bot protection is used: only the public endpoint the site already uses for itself.

Configuration​

  1. Open the integration's Configuration tab.
  2. Run the Find my cinema action: leave the field empty to list the 5 UGC cinemas nearest your Gladys house (if it has a location set), or type a city / postal code to search across all of them. The result is shown under the button as Cinema name — City (12.3 km) (ID: 10) (the distance only appears for a proximity search).
  3. Copy the numeric ID of your cinema into the Cinema ID field, then save.

If no Gladys house has a location set, leaving the field empty lists every UGC cinema instead (fallback behavior).

Add the integration's now_playing widget to a Gladys dashboard to see the films currently playing at that cinema: poster, a booking link, today's showtimes (time and version, VF/VOST) and, when ugc.fr has one, a trailer link.

Scene trigger​

The integration also declares a new_film scene trigger: create a scene with this trigger to react when a film not seen before appears in the program (send a message, for example). The trigger exposes the film's title, release date, today's showtimes and booking link as scene variables. The integration checks for new films twice a day.

Known limitations (v1)​

  • One cinema at a time per installation of the integration.
  • Only today's films and showtimes (no view of tomorrow or later days).
  • The cinema list is a hand-maintained static list (see the repository's README): a brand-new UGC cinema may not appear in it yet.

Troubleshooting​

The integration logs everything it does: check the integration logs from the Gladys interface (or docker logs on the host) with LOG_LEVEL=debug for full detail.

Konfigurationseinstellungen​

Diese Einstellungen fragt UGC in seinem Konfigurationsbildschirm in Gladys ab.

EinstellungTypPflichtfeldBeschreibung
UGC cinemasectionNeinThis integration reads the public "now playing" page that ugc.fr already serves to every visitor. It is not an official UGC product, is not affiliated with UGC, and can break without notice if the site changes. Run the action below to find your cinema's ID, then paste it below.
Cinema IDstringJaThe numeric ID shown by the "Find my cinema" action, e.g. 10.

So installierst du UGC in Gladys​

  1. Öffne in Gladys Integrationen: UGC erscheint im Katalog neben den nativen Integrationen, mit einem Community-Badge.
  2. Klicke auf Installieren. Gladys lädt das Docker-Image (ghcr.io/vincentbesseau/gladys-ugc:1.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/vincentBesseau/gladys-ugc.

UGC benötigt Gladys >=5.1.1. 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​

UGC 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 vincentBesseau 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 🙂