Giter VIP home page Giter VIP logo

foxess-fetch's Introduction

foxess-fetch

Simple FoxESS data fetching with python

Setup

  • Download here
  • Rename example.config.json to config.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) deviceId-screenshot
  • 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

Done!

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.

foxess-fetch's People

Contributors

friendlyuser1 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

foxess-fetch's Issues

Code doesn't appear to work - SSL error

I get this error when i try to run it

-> print(main())
(Pdb) n
requests.exceptions.SSLError: HTTPSConnectionPool(host='www.foxesscloud.com', port=443): Max retries exceeded with url: /c/v0/plant/status/all (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)')))

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.