Congés professionnels smart home integration, free and open source

Lucca, PayFit or Factorial leave in Gladys: heating and alarm follow your days off
Your days off booked in Lucca, PayFit or Factorial reach Gladys: the alarm stays silent during your holidays, the heating switches to "someone is home" on days off and back to the weekday schedule the evening before you return. Without an HR tool, a manual list does the same, fully locally.
Installation
- In Gladys, open Integrations, then the external integrations store.
- Search for Congés professionnels and click Install.
- Wait for the container to start: the integration shows up in the list.
Configuration
Open the Configuration tab of the integration.
- HR service: Lucca, PayFit, Factorial or the manual list.
- Employee ids: one Gladys device is created for each. Separate them with commas and add a name if you like:
416, 512:Alice. Not needed for the manual list. - The access to the chosen service:
- Lucca: the address (
mycompany.ilucca.net) and an API key created by an administrator allowed to read the leaves. An employee id is the number in the address of their profile. - PayFit: the company id and an API key allowed to read the absences. An employee id is their collaborator id.
- Factorial: an API key. An employee id is the number in the address of their profile.
- Manual list: days separated by commas, e.g.
2026-12-21..2027-01-02, 2027-03-03 am, 2027-03-04 pm.
- Lucca: the address (
- Working schedule: the working days (Monday to Friday by default, untick Wednesday for a part-time job), the public holidays (France, Alsace-Moselle, Germany, Spain or none), the time zone and the evening reminder hour (6 pm by default).
- Save, then click Test the connection: the number of leave periods found shows under the button.
Leave awaiting approval is ignored, unless you tick Count leave awaiting approval. The HR service is read every hour (adjustable, 15 minutes minimum).
The API keys stay in your Gladys and are only sent to the chosen service. For Lucca, only an ilucca.net (or ilucca.ch) address is accepted.
Usage
Add the device from the Discovery tab. Each employee has:
| Feature | Value |
|---|---|
| On leave today / tomorrow | 1 with at least half a day of leave |
| Working day today / tomorrow | 1 on a scheduled day, not a public holiday, not a full day of leave |
| Days until next leave | 0 during a leave, -1 when no leave is planned in the coming year |
| Next leave | text: first day → last day · leave type |
Days of leave separated only by a weekend or a public holiday form one period. Half a day of leave still counts as a working day: check the part of the day with the "Check a day" action.
Scenes and dashboards
Triggers (filterable by employee):
- Leave added: a new leave appears in the HR service. Variables: first and last day, number of days, type, status.
- Leave starts tomorrow: the evening before the first day of leave, at the evening reminder hour. Ideal to turn the alarm off and lower the heating. Variables: dates, number of days, type, part of the first day (
full,morning,afternoon) and return date. - Back to work tomorrow: the evening before the first working day after a leave, at the evening reminder hour. Ideal to set the alarm again and schedule the preheating. Variables: return date, leave dates, number of days.
Each trigger fires once only, even across a restart.
Actions:
- Refresh the leave: reads the HR service now and returns today's and tomorrow's status, the start of the next leave and the days until then.
- Check a day: for today + N days, tells whether the day is worked, on leave (and which part), or a public holiday.
Wake-up scene example: every day at 6:30, condition "Working day today = 1", then turn the bedroom light on.
"Leave overview" dashboard widget: days until the next leave (live), today's and tomorrow's status, the upcoming leave and a Refresh button. Pick the employee in the widget settings.
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 Congés professionnels asks for in its configuration screen in Gladys.
| Setting | Type | Required | Description |
|---|---|---|---|
| Getting started | section | No | Pick the HR service of your company, then list the employees to follow (one Gladys device each). Each service needs an API key created by its administrator. No HR tool? Choose the manual list: your days off typed below, nothing leaves the house. |
| HR service | select | Yes | |
| Employee ids | string | No | Ids the HR service gives the employees, separated by commas, each optionally followed by a name: 416, 512:Alice. Not used by the manual list. |
| Lucca | section | No | Your Lucca address and an API key allowed to read the leaves. The employee id is the number shown in the address of their Lucca profile. |
| Lucca address | string | No | |
| Lucca API key | secret | No | |
| PayFit | section | No | Your PayFit company id and an API key allowed to read the absences. The employee id is the PayFit collaborator id. |
| PayFit company id | string | No | |
| PayFit API key | secret | No | |
| Factorial | section | No | An API key allowed to read the time off. The employee id is the number shown in the address of their Factorial profile. |
| Factorial API key | secret | No | |
| Manual list | section | No | Days off separated by commas: a day (2026-12-24), a range (2026-12-21..2027-01-02) or a half day (2027-03-03 am, 2027-03-04 pm). Read locally, no account needed. |
| Days off | string | No | |
| Working schedule | section | No | Which days count as working days, and the reminder hour of the evening scene triggers (a leave starts tomorrow, work resumes tomorrow). |
| Working days | multi_select | No | |
| Public holidays | select | No | National public holidays are days off too. |
| Count leave awaiting approval | boolean | No | |
| Time zone | string | No | Decides when today becomes tomorrow (IANA name). |
| Evening reminder hour | number | No | Hour (0-23) the leave_starting and back_to_work triggers fire, the day before. |
| HR service read interval (s) | number | No | How often the leaves are read again, in seconds (15 minutes minimum). |
How to install Congés professionnels in Gladys
- In Gladys, open Integrations: Congés professionnels appears in the catalog, next to the native integrations, with a community badge.
- Click Install. Gladys pulls the Docker image (
ghcr.io/prohand/gladys-conges-professionnels-lucca-payfit-factorial:1.1.0), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration). - Open the Configuration screen of the integration, fill in the settings, and save.
- You can also install it directly from its repository URL: https://github.com/prohand/gladys-conges-professionnels-lucca-payfit-factorial.
Congés professionnels requires Gladys >=5.1.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
Congés professionnels 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 prohand, not by the Gladys core team.
- Browse all integrations, native and community
- Build and publish your own external integration
- Source code on GitHub — source of this documentation