Skip to main content

Skolengo (ENT) smart home integration, free and open source

Skolengo (ENT) integration for Gladys Assistant

School timetable and homework from Skolengo/Kosmos ENT platforms

School timetable and homework from Skolengo/Kosmos ENT platforms (complements PRONOTE and EcoleDirecte). Cloud service, France only.

Installation​

  1. In Gladys, open Integrations, then the external integrations store.
  2. Search for Skolengo (ENT) and click Install.
  3. Wait for the container to start: the integration shows up in the list.

Configuration​

Log in to your school's Skolengo ENT once, outside Gladys, to obtain an OpenID Connect refresh token (the same login the Skolengo mobile app uses). Then open the Configuration tab and fill in: the discovery URL (.well-known/openid-configuration) of your ENT, the client ID (and secret if required), the refresh token and the student ID. Time zone, days ahead (default 14) and refresh interval (default 15 minutes, minimum 5) are optional. Click Test the connection: the integration reads your data and shows its status. If Skolengo refuses the token, paste a new one. The service rotates the token, the integration stores the new one itself.

Usage​

Once configured, add the Skolengo device from the discovery screen. It has five read-only sensors: pending homework, lessons today, cancelled lessons today (counters), next lesson and next homework (texts). They are refreshed at the chosen interval and can be used in dashboards and scenes. The timetable and homework endpoints are those of the Skolengo mobile app; they are not an official public API and may change.

Scenes and dashboards​

Triggers: New homework (filter by subject; variables: subject, title, due date) and Lesson cancelled (variables: subject, title, start, room). They fire once per new item, never on the first read after a start. Action: Refresh Skolengo reads the data now and returns the pending homework, the lessons today and the cancelled lessons today. Widget: School overview shows the counters, the next lesson and homework, the pending homework list and a refresh button.

Limits​

Only the first 10 new items of one read fire a trigger. The list of already seen homework is kept in memory: after a restart, the first read starts again silently.

Help​

A question or a problem? Ask on the Gladys community forum or open an issue on the GitHub repository.

Configuration settings​

These are the settings Skolengo (ENT) asks for in its configuration screen in Gladys.

SettingTypeRequiredDescription
Getting startedsectionNoLog in to your Skolengo ENT once, outside Gladys, to get an OpenID Connect refresh token, then fill in the fields below. See the documentation for the steps.
OpenID Connect discovery URLstringYesThe .well-known/openid-configuration address of your school's ENT.
Client IDstringYesOAuth client identifier used to obtain the refresh token.
Client secretsecretNoOAuth client secret, if your ENT requires one.
Refresh tokensecretYesLong-lived token from your ENT login. Paste a new one if the integration reports refused credentials.
Student IDstringYesSkolengo identifier of the pupil to follow (the user id of the token).
API addressstringNoSkolengo mobile API. Keep the default unless your ENT differs.
Time zonestringNoIANA time zone of the school, used for "today" and lesson times.
Days aheadnumberNoHow many days of timetable and homework are read.
Refresh interval (s)numberNoHow often Skolengo is read, in seconds (5 minutes minimum).

How to install Skolengo (ENT) in Gladys​

  1. In Gladys, open Integrations: Skolengo (ENT) appears in the catalog, next to the native integrations, with a community badge.
  2. Click Install. Gladys pulls the Docker image (ghcr.io/gboulvin/gladys-skolengo-ent:1.1.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/gboulvin/gladys-skolengo-ent.

Skolengo (ENT) 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​

Skolengo (ENT) 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 gboulvin, 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 🙂