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.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0e1f8a14c196ef1f924de2e6086dafb3530e10cf2e7448c1090187d1b2f620c |
|
MD5 | 00065700f6164b26134a1c64fe4709a2 |
|
BLAKE2b-256 | 810ca26f7065edbe58c70969334f481c0882dc87d7162f1a1f75bb3537b4827e |
Close
Hashes for SolarWattEnergyManagerAPI-0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13e3b2786bcff2e15190bd85ac2e5e11707730ebc14ac8c9fa6298b423aee302 |
|
MD5 | eed46833e1718b5e231e930553b342d7 |
|
BLAKE2b-256 | a326cc76b006ddf5cbfde4bf2f63c11772070dfd62aaa2d8cd9d097f3c52fcef |