Fetch water/gas usage data from Cyble EverBlu meters using RADIAN protocol on 433Mhz. Integrated with Home Assistant via MQTT. This fork is based on:
- http://www.lamaisonsimon.fr/wiki/doku.php?id=maison2:compteur_d_eau:compteur_d_eau
- https://github.com/psykokwak-com/everblu-meters-esp8266
Meters supported:
- Itron EverBlu Cyble Enhanced
This fork has the everblu library completely rewritten from scratch. As a consequence, there are a few things missing and today a blocking bug where the ESP is not able to communicate with the Everblu. Investigation is on-going and if you wish to help, don't hesitate to do it.
- Completely rewritten code of cc1101 to improve reliability and understanding
- Auto-discovery of water meter frequency and record it in EEPROM
- HASS auto-discovery
- Deep-sleep mode
- CC1101 frequency autocalibration & compensation
- Debugging much more easier (with serial link)
- Time synchronization using configTime to avoid buggy Arduino library
- EspMQTTClient library https://github.com/plapointe6/EspMQTTClient (by Patrick Lapointe) version 1.13.3
In the file everblu-meters-esp8266.ino, adapt those to your needs:
const char *NtpServer = "myNtpServer";
const char *TZstr = "UTC+0,M3.5.0,M10.5.0/3"; // https://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html
// User defined
EspMQTTClient client(
"WifiSSID",
"WifiPassword",
"myMqttServer", // MQTT Broker server
"MQTTUsername", // Can be omitted if not needed
"MQTTPassword", // Can be omitted if not needed
"TestClient" // Client name that uniquely identify your device
);
EverbluCyble cyble(
0, // GDO0 pin
yy, // Year
0123456 // Serial without leading zero
);