0.0.19 • Published 2 years ago

homebridge-grafana v0.0.19

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

homebridge-grafana

npm npm GitHub last commit Donate

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:

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.

0.0.19

2 years ago

0.0.18

2 years ago

0.0.17

2 years ago

0.0.16

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.2-beta.1

2 years ago

0.0.2-beta.0

2 years ago

0.0.1

2 years ago

0.0.1-beta.13

2 years ago

0.0.1-beta.12

2 years ago

0.0.1-beta.11

2 years ago

0.0.1-beta.10

2 years ago

0.0.1-beta.9

2 years ago

0.0.1-beta.8

2 years ago

0.0.1-beta.7

2 years ago

0.0.1-beta.6

2 years ago

0.0.1-beta.5

2 years ago

0.0.1-beta.4

2 years ago

0.0.1-beta.3

2 years ago

0.0.1-beta.2

2 years ago

0.0.1-beta.1

2 years ago

0.0.1-beta.0

2 years ago