https://github.com/ppetr/goodwe2influxdb
Collect data from a GoodWe inverter to InfluxDB
https://github.com/ppetr/goodwe2influxdb
Last synced: over 1 year ago
JSON representation
Collect data from a GoodWe inverter to InfluxDB
- Host: GitHub
- URL: https://github.com/ppetr/goodwe2influxdb
- Owner: ppetr
- License: apache-2.0
- Created: 2023-04-30T07:55:29.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-25T08:53:55.000Z (about 2 years ago)
- Last Synced: 2025-01-31T08:44:23.092Z (over 1 year ago)
- Language: Python
- Size: 33.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: docs/contributing.md
- License: LICENSE
- Code of conduct: docs/code-of-conduct.md
Awesome Lists containing this project
README
# goodwe2influxdb - collect data from a GoodWe inverter to InfluxDB
*Disclaimer: This is not an official Google product.*
## Installation
Required Python version: >=3.7
In a cloned project directory run
```sh
sudo pip3 install .
```
Then set up [Telegraf] to run the script. For example create
`/etc/telegraf/telegraf.d/goodwe2influxdb.conf` with content:
```ini
[[inputs.execd]]
interval = "60s"
tags = {}
command = ["/usr/bin/env", "python3", "/usr/local/bin/goodwe2influxdb"]
signal = "STDIN"
restart_delay = "60s"
data_format = "influx"
```
This automatically detects the IP address of a GoodWe module in your LAN (can
be overriden with `--ip_address`) and stores collected data in table
`photovoltaic` in the database (can be overriden with `--measurement_name`).
[Telegraf]: https://www.influxdata.com/time-series-platform/telegraf/
## Contributions
Please see [Code of Conduct](docs/code-of-conduct.md) and [Contributing](docs/contributing.md).