Omlet smart home integration, free and open source

Omlet Smart Coop: automatic coop door, coop light, fan and feeder, with scenes and widgets.
Overview
This integration brings your Omlet Smart Coop devices into Gladys: the Smart Automatic Chicken Coop Door and its Coop Light, the Smart Coop Fan and the Smart Feeder. It uses the official Omlet API, with an API key you generate in the Omlet developer console.
- One Gladys device per Omlet device: open, close or stop the door, door open or closed, door state and fault, light level, the coop light, the fan with the coop temperature and humidity, the feeder and its feed level, the battery.
- Scene triggers (door opened or closed by its schedule or the Omlet app, door fault, low battery, low feed, device offline or back online) and scene actions (run an action, change the door schedule, read now).
- Two dashboard widgets: the coop, with "Open" and "Close" buttons, and the connection.
Transport: cloud. Gladys never talks to your devices directly: it reads and writes the Omlet cloud. The devices run on batteries and sleep most of the time: a command is queued by the cloud and the device applies it at its next check-in, within 2 to 10 minutes (in the morning when its overnight sleep is on). The door schedule is stored on the door itself and keeps working without Internet. Your coop data leave your home (they already do with the Omlet app).
Not affiliated with Omlet. Not yet tested with a real Omlet device: please report what works and what does not.

Prerequisites
- Gladys Assistant 5.3.0 or later.
- Your Omlet devices set up in the Omlet app, connected to Wi-Fi.
- An API key: open the Omlet developer console, log in with the e-mail and password of the Omlet app, open API Keys and click Generate Key. Anyone holding this key can open your coop door: keep it private; you can delete it there at any time to revoke the access of Gladys.
Configuration
In Gladys, open Integrations → Omlet:
| Field | Description |
|---|---|
| API key | The key of the developer console: sent to Omlet only, never shown again or logged. |
| Reading interval | Every 1, 2, 5, 10 or 15 minutes (5 by default). One request reads every device. |
| Low battery threshold (%) | The "battery low" trigger fires below it (20 by default). |
| Low feed threshold (%) | The "feed low" trigger of the feeder fires below it (20 by default). |
| Language of the device texts | Names of the features and door states; automatic by default. |
Click Test the connection: the integration checks the key, reads your devices and lists them. Then open the Discover tab and add the devices you want: nothing is created without you.
Instant updates (optional, needs Gladys Plus): without them, Gladys sees a change at the next reading. With Gladys Plus, save your Gladys Plus Open API key in the Gladys Plus webhooks block of the configuration, copy the URL shown there, then in the developer console open Manage Webhooks → Create, paste the URL, choose the events (door state, fault…) and type any token. An event only triggers an early reading: the integration never trusts its content. Omlet disables a webhook after 5 failed deliveries: re-enable it in the console if needed.
Usage
Devices
| Feature | Gladys type | Notes |
|---|---|---|
| Coop door / Feeder | Shutter: open, stop, close | Queued by the cloud, applied at the next check-in of the device. |
| Door closed / Feeder closed | Opening sensor | Closed or open once the move is over. |
| Door state | Text | Open, closed, opening, waiting to close, stopped while closing… |
| Door fault / Feeder fault | Text | None, blocked, obstacle detected, wiring. |
| Light level | Light sensor, 0 to 100 | The daylight sensor of the door, on Omlet's own scale (not lux). |
| Coop light | Light, on or off | Only when a Coop Light is attached. The door turns it off after its maximum on-time. |
| Fan | Switch, on or off | Smart Coop Fan; boost from a scene action. |
| Coop temperature, humidity | Temperature and humidity sensors | Measured by the Smart Coop Fan. |
| Feed level | Level sensor (%) | Smart Feeder. |
| Battery | Battery (%) | When the device reports it. |
The door and the feeder show their move: "waiting to open" while the cloud has not delivered the command yet, then "opening", then "open".
Dashboard widgets
- Chicken coop: each device with a badge (open, closed, on its way, fault, offline) and since when the door is open or closed. Tap a device for its details: schedule (opening with light level 15 at the latest 08:30, closing at 17:45…), light level, battery, power source, Wi-Fi, overnight sleep, firmware. Open and Close act on every door of the widget after a confirmation; Refresh reads now. Choose the devices in the widget settings (8 at most).
- Omlet: the doors open, the lowest battery, the state of the connection to the API, the last reading, the live events of Gladys Plus, a Refresh button.
Scenes
Triggers (each one can be limited to one device, the door ones to the coop door or the feeder):
- A coop door opens / closes: by its light or time schedule, in the Omlet app or on the control panel, never by Gladys itself. Variables: device, battery, part, light level.
- A coop door reports a fault: blocked, obstacle while closing, wiring. The door may have stayed open.
- An Omlet battery is low, The feed of a feeder is low: once, when the threshold of the configuration is crossed.
- An Omlet device goes offline / is back online.
Actions:
- Run an Omlet action: open, close or stop the door, turn the light or the fan on or off, fan boost, calibrate, restart, detect the coop light, check for a firmware update (outputs: device name, action).
- Change the door schedule: opening and closing mode (light sensor, set time, manual) and times (HH:MM); empty fields stay unchanged. The schedule is stored on the door and keeps working without Internet.
- Read the Omlet devices now: outputs the devices, the doors open and the lowest battery.
Examples:
- When a coop door closes → send a notification "The hens are locked in ({{triggerEvent.data.device_name}})".
- Every day at 21:00, if the "Door closed" feature is still at open → send an alert and run "Close the door".
- On 1 November (a scheduled scene) → change the door schedule: closing at 17:30; on 1 April → 21:00. The door keeps it even when the Internet is down.
- When the feed of a feeder is low → add "chicken feed" to the shopping list.
Transport
The catalog shows the cloud badge: every request goes to x107.omlet.co.uk with your API key. Omlet publishes no local API (the Bluetooth of the control panel is only used by the Omlet app).
Troubleshooting
- "Omlet refuses the API key": the key was mistyped or deleted; generate a new one in the developer console.
- Connected, but no device: set up your devices in the Omlet app first, with the same account as the developer console.
- A command takes several minutes: normal, the device applies it at its next check-in (2 to 10 minutes depending on its power mode in the Omlet app), and only in the morning during its overnight sleep.
- "Offline": the device no longer checks in (Wi-Fi out of reach, empty battery, overnight sleep).
- No instant updates: check that Gladys Plus is linked, that the URL pasted in Omlet is the one of the "Gladys Plus webhooks" block, and that the webhook is enabled in the console.
- Report a problem on GitHub with your Gladys version, the integration version and the result of "Test the connection".
Configuration settings
These are the settings Omlet asks for in its configuration screen in Gladys.
| Setting | Type | Required | Description |
|---|---|---|---|
| Omlet | section | No | How to connect: 1. Set up your Omlet devices in the Omlet app. 2. Open the Omlet developer console and log in with the e-mail and password of the Omlet app. 3. Under “API Keys”, click “Generate Key” and paste the key below. 4. In the Discover tab, add your devices. Omlet is a cloud service: a command is queued and the device applies it at its next check-in, within 2 to 10 minutes (in the morning when its overnight sleep is on). |
| API key | secret | Yes | Generated in the Omlet developer console (API Keys → Generate Key). Anyone holding it can open your coop door: it is sent to Omlet only. |
| Reading interval | select | No | One request reads every device. The devices themselves check in every 2 to 10 minutes: reading more often rarely helps. |
| Low battery threshold (%) | number | No | The “battery low” scene trigger fires when a battery goes below it. |
| Low feed threshold (%) | number | No | The “feed low” scene trigger of the feeder fires when the feed level goes below it. |
| Language of the device texts | select | No | Feature names and door states. Automatic: the language of the dashboard. |
| Instant updates (optional, Gladys Plus) | section | No | Without it, Gladys sees a change at the next reading. With Gladys Plus: save your Gladys Plus Open API key in the “Gladys Plus webhooks” block below, copy the URL shown there, then in the Omlet developer console open “Manage Webhooks” → “Create”, paste the URL, pick the events (door state, fault…) and type any token. The events only trigger an early reading: the integration never trusts their content. |
How to install Omlet in Gladys
- In Gladys, open Integrations: Omlet appears in the catalog, next to the native integrations, with a community badge.
- Click Install. Gladys pulls the Docker image (
ghcr.io/william-de71/gladys-omlet:0.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/William-De71/gladys-omlet.
Omlet 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
Omlet 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 William-De71, 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