Simple FoxESS data fetching with python
- Download here
- Rename
example.config.json
toconfig.json
.
In config.json
:
- Insert your FoxESSCloud username and password.
- Insert your device's id (from the id parameter in the URL of inverter details page)
- Leave the token, it will be changed automatically
- Turn any of the variables you don't want data for to 0
In the console:
- Run
pip install -r ./requirements.txt
- Run
python ./index.py
And that's it! On running the script you will recieve an object with data in 5 minute intervals of the past hour.
If you run into any errors, or need different features/time scales, please open an issue.