Skip to content

goodwe scraper that saves data into influxdb written in python

License

Notifications You must be signed in to change notification settings

xhyrom/goodwe-influxdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goodwe InfluxDB is a simple service that scrapes data from the GoodWe inverter and puts them into the database.

Requirements

goodwe inverter (ET, EH, BT, BH, ES, EM, BP, DT, MS, D-NS, and XS families should works)
influxdb
python3

Installation

You can install and run the service using docker compose.
Don't forget to update environment variables!

However, if you want to run it outside docker, install packages from requirements.txt and run src/main.py with the following environment variables: INFLUXDB_TOKEN, INFLUXDB_URL, INFLUXDB_ORG, INFLUXDB_BUCKET, GOODWE_IP

$ pip install -r requirements.txt
$ INFLUXDB_TOKEN=hello INFLUXDB_URL=http://localhost:8086 INFLUXDB_ORG=org INFLUXDB_BUCKET=bucket GOODWE_IP=192.168.1.78 python src/main.py

You can also run scripts/dump.py that returns all sensors.

About

goodwe scraper that saves data into influxdb written in python

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published