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.3.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87a8af62684c0e75b0882e038604485fe5957688474c7df71fca5dc1b42a6248 |
|
MD5 | 8f68ef36e6bbcc7dd963caeb54d4b7f6 |
|
BLAKE2b-256 | ef87b8012f0fac4f73fea1d5856402544ee0e7225516f3ae507cbe1726091488 |
Close
Hashes for SolarWattEnergyManagerAPI-0.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4370e58ca4561dd04c22fd436d12bb9df788f66c0d51886be507c0e18fcf7b00 |
|
MD5 | 5c88c45c2af491727a2e2f9a7a0f52c4 |
|
BLAKE2b-256 | fa2478b5a87cadfeb6d0e05dfdbd6b36cad4f002d457095a99f178fa4d9f1993 |