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.5.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e535aeaf38d7f9e905b105ee181b43a608e9235da08f91ec321107c94328ee34 |
|
MD5 | 08492cdde70cd6041ec51e2fccc762bf |
|
BLAKE2b-256 | a637cb33b3dbf197d56e38a468b124ea2e194bc8444334535067057b8e0d25d1 |
Close
Hashes for SolarWattEnergyManagerAPI-0.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 617006323ab9cd26a2bda429de763250b3eac4764f6cfd9d82cce9a237151ec6 |
|
MD5 | be5b94713de04b41229e1ec47e8afd80 |
|
BLAKE2b-256 | ae6cd760d6196b5bdba539d58458cc2481ecca12c0a333f5f078f2102d182cc9 |