Skip to content

Latest commit

 

History

History
80 lines (50 loc) · 2.75 KB

README.md

File metadata and controls

80 lines (50 loc) · 2.75 KB

Python Solar Plus Intelbras

Python package Upload Python Package Dependabot Updates pages-build-deployment

A wrapper for api solar plus intelbras

Install using pip:

pip install solar-plus-intelbras

Now, let's get started:

>>> from solar_plus_intelbras import SolarPlusIntelbras
>>> solar_plus_intelbras = SolarPlusIntelbras(email="[email protected]", plus="i2gH3zuE68ClMDop50h8OxKlOYjvWd0vCDACBtN9sEo")
>>> solar_plus_intelbras.records(plant_id=12345, period="day", key="energy_today", start_date="2025-01-01", end_date="2025-01-01")

Features

Python Solar Plus Intelbras supports the main endpoints of the Intelbras API:

  • Plants: return the list of plants of account;
  • Records: return the records of especific range;
  • Inverters: return the inverters of account;
  • Alerts: return the alerts of account;
  • Notifications: return the notifications of account.

Documentation

Project documentation is available at https://hudsonbrendon.github.io/python-solar-plus-intelbras/.

Contribute

If you want to contribute with Python Solar Plus Intelbras check out the Contributing Guide to learn how to start.

$ git clone [email protected]:hudsonbrendon/python-solar-plus-intelbras.git
$ cd python-solar-plus-intelbras
$ poetry install

Run tests

$ pytest

Or running via vscode interface.

Dependencies

The Python Solar Plus project relies on these excellent libraries:

  • poetry - A manager for virtualenvs and dependencies;
  • requests - A client for http requests;
  • pytest - The best lib python for tests;
  • python 3 - support for python >= 3.8.

python solar plus intelbras is made with 💙 by the @hudsonbrendon and distributed under MIT License.