homebridge-grafana
v0.0.19
Published
Homebridge Grafana Plugin
Downloads
32
Maintainers
Readme
homebridge-grafana
Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to "Star" or donate.
Click here to review more of my plugins.
Info
Homebridge plugin for monitoring electricity, gas and water consumption and visualization via InfluxDB and Grafana.
Instructions
Electricity consumption:
https://www.sisyphus.de/post/2022-08-13-ferraris-transmitter-esp8266/
Gas consumption:
https://www.youtube.com/watch?v=AXGuGgEf6AU&ab_channel=Tristan%27sSmartesHeim
Water consumption:
https://github.com/jomjol/AI-on-the-edge-device
Example config
{
"bridge": {
...
},
"accessories": [
...
],
"platforms": [
{
"platform": "Grafana",
"name": "Grafana",
"debug": true,
"influxdb": {
"host": "192.168.178.33",
"port": 8181,
"username": "admin",
"password": "admin",
"database": "mydb"
},
"mqtt": {
"host": "192.168.178.11",
"port": 1883,
"username": "",
"password": "",
"tls": false
},
"websocket": {
"host": "192.168.178.22",
"port": 8081
},
"devices": [
{
"name": "Gaszähler",
"mqttTopics": ["/gaszaehler"],
"gas": {
"loadResetBy": 14453,
"euroPerKwh": 0.1144,
"euroPerYear": 130.09,
"m3PerTick": 0.01
}
},
{
"name": "Stromzähler",
"mqttTopics": ["/stromzaehler"],
"electricity": {
"loadResetBy": 121550,
"euroPerKwh": 0.3372,
"euroPerYear": 129.66,
"rotationProKwh": 75
}
},
{
"name": "Wasserzähler",
"mqttTopics": ["/wasserzaehler/main/value", "/wasserzaehler/main/rate"],
"water": {
"loadResetBy": 681,
"euroPerM3": 2.16,
"euroPerYear": 0
}
}
]
}
]
}
See Example Config for a FULL config example.
Contributing
You can contribute to this homebridge plugin in following ways:
- Report issues and help verify fixes as they are checked in.
- Review the source code changes.
- Contribute bug fixes.
- Contribute changes to extend the capabilities
Pull requests are accepted.
Troubleshooting
If you have any issues with the plugin then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable "debug"
in your config and restart homebridge.