This Fork was adapted from https://github.com/neutrinus/everblu-meters I removed the MQTT/HASS functionality this will just display the data to the terminal.
Fetch water/gas usage data from Cyble EverBlu meters using RADIAN protocol on 433Mhz.
Meters supported:
- Itron EverBlu Cyble Enhanced
The project runs on Raspberry Pi with an RF transreciver (CC1101).
- pin 1 (3V3) to pin 2 (VCC)
- pin 6 (GND) to pin 1 (GND)
- pin 11 (GPIO17) to pin 3 (GDO0)
- pin 24 (CE0) to pin 4 (CSN)
- pin 23 (SCLK) to pin 5 (SCK)
- pin 19 (MOSI) to pin 6 (MOSI)
- pin 21 (MISO) to pin 7 (MISO)
- pin 13 (GPIO27) to pin 8 (GD02)
- Enable SPI in raspi-config
- sudo raspi-config
- Select Interfacing Options > SPI
- Select Yes when prompted to enable the SPI interface
- Select Yes when prompted to automatically load the SPI kernel module
- Select Finish
- Select Yes when prompted to reboot
- Install WiringPi from https://github.com/WiringPi/WiringPi/
Install libmosquitto-dev:apt install libmosquitto-dev
- Set meter serial number and production date in
everblu_meters-Data.c
, it can be found on the meter label itself:
- nano everblu_meters-Data.c
- Compile the code with
make
- Run
everblu_meters-Data
, after ~2s your meter data should be on the screen.
$ ./everblu_meters-Data
- Liters: 1711041
- reads_counter: 73
- battery_left: 92
- time_start: 6
- time_end: 18
Your transreciver module may be not calibrated correctly, please modify frequency a bit lower or higher and try again. You may use RTL-SDR to measure the offset needed.
Your meter may be configured in such a way that is listens for request only during hours when data collectors work - to conserve energy. If you are unable to communicate with the meter, please try again during business hours (6-18).
Please ignore the trailing 0, provide serial in configuration whthout it.
This code is based on code from http://www.lamaisonsimon.fr/wiki/doku.php?id=maison2:compteur_d_eau:compteur_d_eau
The license is unknown, citing one of the authors (fred):
I didn't put a license on this code maybe I should, I didn't know much about it in terms of licensing. this code was made by "looking" at the radian protocol which is said to be open source earlier in the page, I don't know if that helps?