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
from SolarWattEnergyManagerAPI.SolarWatt import 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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2cdf6135d477f351d0ad4dfe79f269555814daa9e41eda45fa862b46dbdc874 |
|
MD5 | e303cbfb2c302dab28eac009c2c601db |
|
BLAKE2b-256 | ef2f537092d920ca0c1c77d4f4e1606c7f5d610de9deeb7800acaa2d44339aff |
Close
Hashes for SolarWattEnergyManagerAPI-0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b331fa8b9a29fc4f884c6f52cfb7a14e12d2d213d85b6f2700b4c43ccc1c64e |
|
MD5 | 9e94935e896a3650cc41f9417fc7f8a5 |
|
BLAKE2b-256 | 5e5aedb9e5b8fb4583b5b4b744f7bd19b66c93955a05779a6734c69247c7b063 |