We have an Itron Water Meter with an Everblu Cyble optical reader. The water company is regularly (every 2-3 months) passing in the street with their car, and a computer sends a radio signal to every meter (using a unique identifier for each house). Each meter responds with a radio signal that gives the water volume (and some other values) on the Itron water meter. The water company use this information to establish their invoice.
By using the projects everblu-meters and everblu-meters-esp8266, I have managed to import our water consumption into Home Assistant. I currently have in production the esp8266-version, and have incorporated the data into the energy dashboard:
I bought a Wemos esp8266 and a CC1101 on Ali Express for less than €5,-. I already had the dupont-cables. After soldering the pins on the Wemos, I connected like this:
Wemos | CC1101 |
---|---|
GND | 1 |
3V3 | 2 |
D1 | 3 |
D8 | 4 |
D5 | 5 |
D7 | 6 |
D6 | 7 |
D2 | 8 |
Install the Arduino IDE. Prepare the IDE for the Wemos (details here). Download the repository-files:
Import all the files into the Arduino IDE. Install EspMQTTClient, and make the necessary changes in the files as described on the Github page.
Where I live (Strasbourg, France), SDEA (the water company) has configured the Everblu-meters to report negative values outside of business hours. I added some code around line 102 to only interrogate on weekdays:
// At 10:00:00am UTC -- Added by me: && (ptm->tm_wday > 0 && ptm->tm_wday < 6)
if (ptm->tm_hour == 10 && ptm->tm_min == 0 && ptm->tm_sec == 0 && (ptm->tm_wday > 0 && ptm->tm_wday < 6)) {
Compile and upload.
I use the daily consumption on a dashboard: