This respository contains accompanying files for the blog post that describes the connection of an ACS712 based power sensor module with a Raspberry Pi to monitor the operation of a pump.
This is the Python program that reads the current value from the sensor.
The service file to run the current.py
file.
The json for the panel graph with alerting included
A very simple graph for the power monitoring
The custom Python exporter program to make the current measuremens available to Prometheus
The service file to run the septic-exporter.py
program.