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 local energy manager 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
Close
Hashes for SolarWattEnergyManagerAPI-0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c9f1858a54597386d3d49744944f470274a7a77b58eb3513719f1812621610c |
|
MD5 | 7b521eca52465649ea29311ccc1ab10b |
|
BLAKE2b-256 | 4b1e4abfe832fd9e0a31d35c492ebebc9f4be01498716af42824ccb61348c6c1 |