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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52606169bf1add395c9bd2cc7114ca02f9de909c6e78667b9eaa71c17b7402ce |
|
MD5 | 9459904d949439c1d22b237a0fd597ba |
|
BLAKE2b-256 | 480e62764d20aa60962ae6d687fd6abcce167d8b30cb7942b4d116e32ab8eaa5 |