DROP (Chandler Systems) smart home integration, free and open source

DROP water management over local MQTT: shutoff valve, leaks, softener, flow.
This integration shows the DROP water management devices (Chandler Systems, United States) in Gladys through your own MQTT broker, locally, without the DROP cloud: the hub publishes its data to your broker (Mosquitto...), Gladys reads it there.
Unofficial, not affiliated with Chandler Systems. Never tested with a real device: it follows the MQTT topics the maker published (dropmqttapi) and the Home Assistant integration. Your feedback is welcome.
What is shown
| DROP device | Features |
|---|---|
| Hub | water on, shut the water off, turn the water on, leak, flow, peak flow today, water used today, average daily use, pressure (current, highest and lowest today), bypass, protect mode, notification pending, battery |
| Protection valve | water on, shut the water off, turn the water on, leak, flow, pressure, temperature, battery |
| Leak detector | leak, temperature, battery |
| Softener | capacity remaining, reserve in use, flow, pressure, bypass, battery |
| Filter | flow, pressure, bypass, battery |
| Salt sensor | salt low |
| Alert | sensor alert, powered, temperature, battery |
| Pump controller | pump running, leak, flow, pressure, temperature |
| Reverse osmosis filter | leak, inlet and outlet TDS (ppm), cartridge 1 to 3 life |
Units: gallons become litres, gallons per minute m³/h; the pressure stays in PSI and the temperature in °F (Gladys converts them for display). A value missing, empty or out of bounds stays unknown: never published as 0.
Setting up
- An MQTT broker on your network (Mosquitto, or the one of your home automation box), preferably with a user name and a password.
- In the DROP Connect app, set the hub to publish to this broker (the same setting as
for Home Assistant). The topics start with
drop_connect/. - In Gladys, enter the broker address (
192.168.1.20, ormqtts://broker.lan:8883in TLS), the user name and the password, save. - Discovery tab: add the devices the hub announced.
A broker in TLS with a self-signed certificate: enter the SHA-256 fingerprint of its certificate. The connection is then accepted for this certificate only; another certificate stops everything before the password leaves and the status shows the fingerprint seen. Without a fingerprint, the certificate must be signed by a known authority; a refused certificate also shows its fingerprint in the status (read on a connection that sends nothing), to paste in the field if you trust it.
Commands
They are never switches: a "turn everything off" or a voice assistant cannot touch the valve. Shutting the water off and turning it on are two buttons; the bypass and the protect mode are lists.
Shutting the water off: always allowed
Shutting the water off (hub, protection valve) has no option: it is the safety of the device. It reads nothing before leaving and does not wait behind the other commands: it leaves at once and cancels those of the same hub still waiting for their turn (nothing clicked before a shutoff leaves after it). It leaves even when the valve seems closed already.
It is kept (in memory and in /data) until the device shows the water off in a live
message received after it left, or a turn-on of this hub leaves from Gladys after it (its
write taken by the broker). Before it leaves, nothing lets it go. The retained message the
broker replays at a reconnection never lets it go: it may be older than your click (the
valve opened since).
- clicked without a broker connection: answered "shutoff kept", sent right after the next connection, without waiting for a message of the hub;
- after a restart of the integration: sent again from
/dataat the connection; - sent again when the device still shows the water on at least 2 s after it left, and 20 s after each send without a confirmation: 3 times, then every 10 min ("held", said in the status), until confirmed;
- a write of
/datathat fails never delays it; - when the valve was known closed (by a live message) as it left, a turn-on seen later (made in the DROP app, say) lets it go: it is never sent again against that turn-on;
- the price of the doubt: when the live confirmation was missed (Gladys or the broker down at that moment), the shutoff stays kept, and a turn-on made in the DROP app right after can be cut once (at once, or within 10 min when it is "held"); the live "water off" the hub then publishes lets it go. The status lists the shutoffs kept: turning the water on from Gladys (its option) lets them go;
- never confirmed: it is given up 24 h after it first left in this run of the integration (it always leaves at least once; the status names it; the 24 h start again at each restart of the integration), or as soon as you delete the device in Gladys (the status says so).
It is not sent only when the identity is wrong: a value other than the button press, or a device the hub now announces with another type (scan again). Without a possible broker connection (credentials refused, certificate refused), it stays kept and leaves as soon as the connection is back.
The other commands: off by default
Each has its own box in the configuration, read at the click and again right before sending. A command leaves within 2 s of its click, once, or is not sent. Gladys gets its answer within 3.5 s: "done, confirmed by the device" (a message of the device received after sending shows the value asked), "sent, without confirmation" (the status then says whether the device showed it within 20 s), or a refusal ending with "Nothing sent". The last command is shown in the status of the configuration page.
Turning the water on is sent only when all of this is true, from what the hub published since the connection to the broker (DROP has no read request; at each connection or disconnection everything is unknown again until the next messages):
- "Allow turning the water on" is checked, at the click and right before sending;
- the valve state of the device is known; already on: nothing is sent;
- its leak state is known and without a leak;
- every device of the same hub able to report a leak (hub, valve, detectors, pump, reverse osmosis, alert), announced by the hub or created in Gladys, has a known state, without a leak nor an alert. A leak reported by any device of the hub, even of a type the integration does not know, refuses too. A detector removed or out of order blocks turning on: delete it in Gladys and remove it from the hub (as long as the hub announces it, it counts). After a reconnection, a detector that publishes on change only blocks turning on until its next message (to check on a real hub);
- no message of the broker was dropped (over 200 a second) in the last 2 seconds; after dropped messages, every value is unknown again until the next message of its device;
- no shutoff of this hub left less than 20 s ago, and none was clicked since this click.
A turn-on that leaves lets go the shutoffs kept on this hub.
Bypass (hub, softener, filter; on: the water goes around the treatment) and protect mode (hub: Home, Away, Schedule; Away is the strictest): refused when their option is unchecked; nothing is sent when already in the state asked. Switching to Away is not a shutoff: it stays behind the option of the protect mode.
Security
- Anyone who can publish on your broker can command the valve and forge messages of the hub: protect the broker with a password and access rules (ACL), keep it on a trusted network.
- The password is kept by Gladys in its database, never shown again, sent only to your
broker; it is in no log, nor in
/data, nor in the status. - Credentials refused by the broker: the integration stops and does not try again by
itself, even after a restart (it keeps in
/dataan 8-bit mark, useless to find the password back). Save other credentials or click "Test the connection". One password in 256 shares the mark: the button then lifts the stop. - Every message of the broker is bounded to 16 KB before it is read; beyond 200 messages a second, the next ones are dropped; 8 hubs and 64 devices at most.
Limits
- Never tested with a real device; the name of the MQTT setting in the DROP Connect app may differ.
- The hub publishes at its own pace: a value may stay a long time without an update (nothing is made up between two messages).
- A device type the hub announces and the integration does not know is ignored (counted in the status).
Configuration settings
These are the settings DROP (Chandler Systems) asks for in its configuration screen in Gladys.
| Setting | Type | Required | Description |
|---|---|---|---|
| Your DROP Hub | section | No | Shows your DROP devices (Chandler Systems) in Gladys through your own MQTT broker, without the DROP cloud: hub, protection valve, leak detectors, softener, filters, salt, pump controller, reverse osmosis; flow, pressure, water used. In the DROP Connect app, set the hub to publish to your broker (Mosquitto...), enter the broker below, save, then add the devices from the Discovery tab. Shutting the water off always works (never a switch: a "turn everything off" cannot touch it); turning it on, the bypass and the protect mode stay off until you allow each below. Anyone who can publish on your broker can command the valve: protect it with a password. Never tested with a real device. Not affiliated with Chandler Systems. |
| MQTT broker address | string | Yes | The broker the DROP Hub publishes to: its IP address or host name (port 1883), or mqtts://address:8883 in TLS. |
| User name | string | No | The user of the broker, if it asks for one. |
| Password | secret | No | The password of the broker: kept by Gladys in its database, never shown again, sent only to your broker. A password needs a user name. |
| Certificate fingerprint (mqtts, optional) | string | No | Only for a broker in TLS with a self-signed certificate: its SHA-256 fingerprint (64 hexadecimal digits, colons allowed). The connection is then accepted for this certificate only; another one stops it. A certificate refused shows its fingerprint in the status (read without sending anything). Empty: the certificate must be signed by a known authority. |
| Allow turning the water on | boolean | No | Off by default. On: the "Turn the water on" button opens the valve, only when the device has said in this connection that its valve is closed and that it has no leak, every leak-capable device of the same hub has a known state without a leak or alert, and no shutoff of the hub left in the last 20 s. A turn-on that leaves lets go the shutoffs kept on the hub. Off: it refuses every command. Shutting the water off always works. |
| Allow changing the bypass | boolean | No | Off by default. On: the Bypass list of the hub, softener and filter can be changed (bypass on: the water goes around the treatment). Off: refused. |
| Allow changing the protect mode | boolean | No | Off by default. On: the protect mode of the hub (Home, Away, Schedule) can be changed from Gladys; Away is the strictest. Off: refused. Changing the mode is not a shutoff: it stays behind this option, Away included. |
| Language of the feature names | select | No | The language of the names given to the devices and their features. |
How to install DROP (Chandler Systems) in Gladys
- In Gladys, open Integrations: DROP (Chandler Systems) appears in the catalog, next to the native integrations, with a community badge.
- Click Install. Gladys pulls the Docker image (
ghcr.io/lm1lc3n7/gladys-drop:0.1.1), 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/LM1LC3N7/gladys-drop.
DROP (Chandler Systems) 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
DROP (Chandler Systems) 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 LM1LC3N7, 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