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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f490e2be5f8dafbbd7ebb9b7ef5d7ae7def730c48f18566e5842a2dcce5b5a0c |
|
MD5 | 353fb86219ecfef61f7c125699d6d309 |
|
BLAKE2b-256 | 9b175d698e60208b93fdddba0f406a1e21dc961101c8d8673ce85bf18c53f63a |
Close
Hashes for SolarWattEnergyManagerAPI-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 719946268dae4fb83d08064368546614eb08a4f90e96d45164ddcf1f1b19592e |
|
MD5 | c91608a86ae83727311096ee789722db |
|
BLAKE2b-256 | c2df3837f4c77e5cd953a697aa3b11deb19e90672286f046b563f23951af65c8 |