Klik hier voor de Nederlandse versie

Some time ago I developed this watermeter gateway for remotely measuring the water usage of our house. It can read the waterusage when the watermeter is using a rotating dial with a metal plate on it. The gateway sends the measurements by mqtt to the used domotica system like Home Assistant, domoticz and Homey. It also has an API on an internal webserver which can be read by other applications. It can be easily put on every watermeter with the provided velcro.

Available on SmartGateways.nl

Click here for the review on GadgetFreaks

Easy mounting

The gateway is using a small sensor which can be mounted on the meter. You can use the provided velcro for this. This keeps the gateway cheap and usable on different kinds of meters without using some expensive mounts. The waterproof sensor is connected to the gateway by using a cable of 140cm. The gateway itself can be put on a dry place where there is enough WiFi coverage.

Configuration

Initial configuration can be done by connecting the gateway with a usb adapter of 5V and 1A (sold seperately). The gateway broadcasts the WiFi network “SmartGateways WATERMETER” which you can connect to using a smartphone. Just put in the current watermeter value and the watermeter factor. This is the muliplication factor of the rotating dial on the meter when a liter of water is used. Usually this is 1. Some meters use 10 (10 liters per rotation).

If you are using mqtt, you can fill in the mqtt broker details (you can find an installation manual in Dutch here

Press save when all the information is filled in. The gateway restarts and starts sending the water usage including some statistical data to the mqtt server.

MQTT topics

The watermeter gateway will publish the following mqtt topics to the configured broker:

These topics can be read by every software which can use mqtt such as Home Assistant, Domoticz of your own cloud application on a remote location. It can even use MQTT over TLS to ensure your data stays private.

Regular backups to internal memory

The gateway will backup the measurements on a hourly basis. If a power outage occurs, the gateway can restore the last measurements from backup. This keeps the gateway “in sync” with the real watermeter value when a power outage occurs. The backup will only be made when there is a change in the measurement so the internal flash memory will last for long.

Firmware updates

There will be new developments to the gateway on a regular basis. The gateway will check every hour if there is a new firmware update. When there is a firmware update available you will get notified by the mqtt topic “update_available” changing from “false” to “true”. Also the blue led on the gateway will start to blink fast to indicate there is a new firmware available.

You can remotely update the gateway by sending “yes” to the mqtt topic “watermeter/smart_gateways/install_update”. It will restart automatically when it is finished installing the update but it will make a backup of the current watermeter value first. The update buttong is integrated in the Home Assistant dashboard so you can update the gateway from there!

Don’t worry, if you blocked the Internet connection for your IOT devices, the gateway also works. You will get notified by mail if there are new updates available when you order the gateway on SmartGateways.nl

Home Assistant dashboard

You can use this manual to make the following dashboard available within Home Assistant:

You can read all the values sent by the meter. You can even see the wifi signal strength (rssi).

When you click on a value you will see a graph of the water usage.

You can find the instruction for the Home Assistant Dashboard here: https://www.connectix.nl/watermeter-koppelen-aan-home-assistant/

Domoticz

You can use Domoticz to connect to the watermeter gateway. A detailed instruction can be found here: https://www.connectix.nl/watermeter-uitlezen-met-domoticz/

Homey

The Watermeter Gateway has it’s own app in the Homey App store. You can find it here:

https://homey.app/nl-nl/app/com.cyclone-software.smartgateways/SmartGateways/

Power supply

Power to the meter can be provided by a usb adapter (sold seperately). A power supply of 5V and 1A is recommended. The gateway uses 40 mA/h of power.

Now available!

The Watermeter Gateway is available smartgateways.nl for € 49,50. This is including the velcro strap for easy mounting and a quick-start manual. Shipping is available to most European countries.