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
Close
Hashes for SolarWattEnergyManagerAPI-0.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb39cff1d8f14470edaacea91b5c4441961b8b3f3ca34df19b52f6a42f9be466 |
|
MD5 | 1691dbfc6bbee06dd211e2c2bb22a20d |
|
BLAKE2b-256 | 20ce2e195da01f4bfa4af8fdb6c2bffbb1253128c48799bd9d2ad7023466ee58 |