This project is designed to monitor and log data from various sensors and controllers, sending the data to an InfluxDB instance for further analysis.
- Reads AC currents, battery status, inverter, and charger states.
- Sends data to InfluxDB at configurable intervals.
- Uses named tuples for measurement fields and values.
- Python 3.x
- InfluxDB instance
- Required Python packages (see
requirements.txt
)
-
Clone the repository:
git clone <repository-url> cd <repository-directory>
-
Install the required packages:
pip install -r requirements.txt
-
Configure the
config.ini
file:- Copy
config.ini.template
toconfig.ini
. - Update the InfluxDB connection details and interval as needed.
- Copy
Run the monitoring script:
python monitor.py
This will start the monitoring process, sending data to InfluxDB at the specified interval.
This project is licensed under the MIT License - see the LICENSE file for details.