Integración domótica CGR, gratuita y de código abierto

Movies currently playing at your CGR cinema.
La documentación de esta integración la escribe su autor y, por ahora, solo está disponible en inglés.
Movies currently playing at your CGR cinema, as a dashboard widget, with a scene trigger for when a new film joins the program.
Important: unofficial integration
This integration reads the showtimes data that cgrcinemas.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 CGR. CGR 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 endpoints the site already uses for itself.
Configuration
- Open the integration's Configuration tab.
- Run the Find my cinema action: leave the field empty to list the 5 CGR
cinemas nearest your Gladys house (if it has a location set), or type a
city to search across all of them. The result is shown under the button
as
Cinema name — City (12.3 km) (ID: P0905)(the distance only appears for a proximity search). - Copy the 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 CGR cinema instead (fallback behavior).
Add the integration's now_playing widget to a Gladys dashboard to see the films playing today at that cinema: poster, a booking link, today's showtimes (time and version, VF/VO/VOST) and, when cgrcinemas.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 CGR 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.
Parámetros de configuración
Estos son los parámetros que CGR te pide en su pantalla de configuración en Gladys.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| CGR cinema | section | No | This integration reads the public showtimes data that cgrcinemas.fr already serves to every visitor. It is not an official CGR product, is not affiliated with CGR, and can break without notice if the site changes. Run the action below to find your cinema's ID, then paste it below. |
| Cinema ID | string | Sí | The ID shown by the "Find my cinema" action, e.g. P0905. |
Cómo instalar CGR en Gladys
- En Gladys, abre Integraciones: CGR aparece en el catálogo junto a las integraciones nativas, con una insignia de comunidad.
- Haz clic en Instalar. Gladys descarga la imagen Docker (
ghcr.io/vincentbesseau/gladys-cgr:1.1.0), la ejecuta en un entorno aislado del núcleo y genera la interfaz de la integración (dispositivos, descubrimiento y configuración). - Abre la pantalla de Configuración de la integración, rellena los parámetros y guarda.
- También puedes instalarla directamente desde la URL de su repositorio: https://github.com/vincentBesseau/gladys-cgr.
CGR requiere Gladys >=5.1.1. El catálogo de Gladys se actualiza cada hora, así que una nueva versión está disponible como máximo una hora después de publicarse.
¿Todavía no usas Gladys? Es gratuito y de código abierto: sigue la guía de instalación para empezar.
Sobre las integraciones externas
CGR es una integración externa: una integración comunitaria empaquetada como contenedor Docker y publicada en GitHub. Gladys la instala con un clic y la ejecuta en un entorno aislado del núcleo. La publica y mantiene vincentBesseau, no el equipo principal de Gladys.
- Explorar todas las integraciones externas
- Descubrir las integraciones nativas incluidas en Gladys
- Crear y publicar tu propia integración externa
- Código fuente en GitHub — fuente de esta documentación