API wrapper for solar watt energy manager
Project description
SolarWattEnergyManagerAPI
A python3 library to access the data of a solar watt energy manager
This library returns the current power data of your solar array via the unofficial local api.
Installation
pip install SolarWattEnergyManagerAPI
Usage
import SolarWattEnergyManagerAPI as energyManagerApi
# create a new api object
api = EnergyManagerAPI()
# set host or ip of energy manager device
api.set_host('hostname or ip')
# optional, change log level
api.set_log_level('WARNING')
# test the connection (returns bool based on success)
result = api.test_connection()
# pull data from the device (retuirn dictionary with power values)
data = api.pull_data()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for SolarWattEnergyManagerAPI-0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 234c7bed7507199dba084828a3f8df4d9fab6207a51e2da5d191ec6255d46bb2 |
|
MD5 | 050e95f55198afc6bd6ab1c5ba2f4308 |
|
BLAKE2b-256 | e5e96543107b3319fd0ddfd13e7a09c2d75c01528677b21bd07d3c8013bb2883 |
Close
Hashes for SolarWattEnergyManagerAPI-0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2896793657cb092e969e37e1d63e5abd77156c7cb07ead906b2b82ac064a249d |
|
MD5 | 5b98d1d4e481166161ad50c682cd5311 |
|
BLAKE2b-256 | d649184376f86ee582193c335eac10d3a33d76e273b17e48e2ad382017fedd02 |