Nanit smart home integration, free and open source

Nanit baby monitors: nursery temperature, humidity, motion, sound and night light.
Brings your Nanit baby monitors into Gladys: nursery temperature, humidity and light level, motion and sound detection, the night light and the camera power (sleep mode). It works through the Nanit cloud, with your Nanit app account, like the Home Assistant Nanit integration.
Installation
- In Gladys, open Integrations, then the external integrations store.
- Search for Nanit and click Install.
- Wait for the container to start: the integration shows up in the list.
Configuration
Nanit protects every account with a verification code sent by SMS or e-mail. Signing in takes three steps, all in the Configuration tab of the integration:
- Enter the e-mail and the password of your Nanit app account, then save.
- Click Send a verification code: Nanit sends you a code.
- Type the code in Validate the verification code and confirm (codes expire quickly: use the latest one).
The status turns green and tells how many cameras were found. The session is kept and renewed on its own: a restart of Gladys or of the integration needs no new code. If Nanit ends the session (password changed, session revoked), the status says so: send and validate a new code.
Changing the e-mail or the password signs you out.
Devices
Open the Discovery tab: each Nanit camera of the account shows up as a device named after the baby. Add it. It carries:
| Feature | What it is |
|---|---|
| Temperature (°C) | Nursery temperature, pushed by the camera |
| Humidity (%) | Nursery humidity, pushed by the camera |
| Light level (lux) | Nursery light level, read every 5 minutes |
| Motion | 1 for 5 minutes after Nanit reported motion |
| Sound | 1 for 5 minutes after Nanit reported a sound |
| Night light | On/off, controllable |
| Night light brightness (%) | Controllable |
| Camera on | 1 = awake, 0 = asleep (Nanit sleep mode: no monitoring), controllable |
Motion and sound come from the Nanit cloud events, read every 30 seconds: expect up to 30 seconds of delay. The device badge shows cloud while the camera is reachable, unreachable after 2 minutes without it.
Scenes and dashboards
Scene triggers
- Motion detected by a Nanit camera and Sound detected by a Nanit camera: filter on a camera (or leave empty for all). The
timevariable gives the time of the event (ISO). - Nanit camera online or offline: a camera became reachable again, or stayed unreachable for 2 minutes. Filter on the camera and on the new state; the
statevariable isonlineoroffline.
Scene actions
- Nanit night light: turn the night light of a camera on (with an optional brightness) or off. Outputs:
night_light,brightness. - Nanit camera on/off: wake the camera up or put it to sleep. Output:
camera_on. - Read the Nanit sensors: ask the camera for fresh readings. Outputs:
temperature,humidity,light, usable in the next actions (e.g. a message if the room is too warm).
Dashboard widget
- Nanit nursery: pick a camera. Shows live temperature and humidity, the camera state (online, asleep, offline), the night light, the last motion and the last sound, with two buttons: night light on/off, and camera to sleep / wake up (confirmed before putting the camera to sleep).
Limits
- Cloud only: the integration needs Internet access and the Nanit servers. The local connection to the camera (on port 442 of the camera) is not supported yet.
- Not supported yet: the video stream and snapshots (the Nanit cloud currently returns no still picture), the Sound & Light Machine, the Care Logs.
- Nanit publishes no official API: the integration uses the same calls as the Nanit app, which Nanit may change.
Privacy
Your e-mail, password and Nanit session tokens stay in your Gladys; they are only sent to Nanit (api.nanit.com) and never written to the logs.
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 Nanit asks for in its configuration screen in Gladys.
| Setting | Type | Required | Description |
|---|---|---|---|
| Your Nanit account | section | No | Enter the e-mail and password of your Nanit app account, then save. Click "Send a verification code": Nanit sends a code by SMS or e-mail. Enter it in "Validate the verification code". Your cameras then show up in the Discovery tab. |
| Nanit e-mail | string | Yes | The e-mail you sign in to the Nanit app with. |
| Nanit password | secret | Yes | Stored in Gladys and only sent to Nanit. |
How to install Nanit in Gladys
- In Gladys, open Integrations: Nanit appears in the catalog, next to the native integrations, with a community badge.
- Click Install. Gladys pulls the Docker image (
ghcr.io/prohand/gladys-nanit: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-nanit.
Nanit 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
Nanit 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