-
Counting pulses via reed contact, which is connected to the rpi GPIO
- In my setup, using a physical 47k Pull-Down to GND
- Closed Reed contact connects it to 5V -> the script is counting high pulses (with some debouncing)
-
Weather Data (cloudiness and outdoor temperature) via OpenWeatherMap API
-
configurable start value for gas meter
- For restarts the script is using the latest value from the InfluxDB
-
Writing Cloudiness, Outdoor Temp, Gas Increment of last 30mins (configurable) and Overall gas to InfluxDB
-
Configurable for low write stress on SD Card (Default: every 30mins 1 write cycle)
-
Tested with BK-G4T gas meter and Raspberry Pi Zero W
-
If you need an example Grafana Dashboard, please see it in the respective folder.
-
For a housing, check my Printables Page: https://www.printables.com/model/177553-raspi-zero-housing-for-bk-g4t-gas-meter
bumsan / heizung_gaszaehler Goto Github PK
View Code? Open in Web Editor NEWReading gas meter via rpi and reed contact (incl. local weather data for context). Data stored in InfluxDB.