A Python library for querying E3/DC systems trough an RSCP connection.
Project description
python-e3dc 
A Python library for querying E3/DC systems trough an RSCP connection.
This library aims to provide an interface to query an E3/DC solar power management system through the RSCP connection provided by the system.
What do i need?
You'll need:
- Your username
- Your password
- The IP address of the E3/DC system
- The encryption key as set in the system preferences
Usage
Request single stat
e3dc = E3DC('username', 'password', 192.168.1.123, 'my_secret_key')
# request the current power that is produced by the pv system
response = e3dc.send_request(RSCPTag.EMS_REQ_POWER_PV)
print("Current power "+str(response.data))
Send multiple requests at once
e3dc = E3DC('username', 'password', 192.168.1.123, 'my_secret_key')
responses = e3dc.send_requests(
[RSCPTag.EMS_REQ_BAT_SOC, RSCPTag.EMS_REQ_POWER_PV, RSCPTag.EMS_REQ_POWER_BAT,
RSCPTag.EMS_REQ_POWER_GRID, RSCPTag.EMS_REQ_POWER_WB_ALL])
for response in responses:
print("Response Tag: "+str(response.tag)+", response type: "+str(response.type)+",
response data: "+str(response.data))
Copyright notice
This module is based on https://github.com/fsantini/python-e3dc and distributed under a MIT License
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
e3dc-0.0.5.tar.gz
(14.5 kB
view details)
File details
Details for the file e3dc-0.0.5.tar.gz.
File metadata
- Download URL: e3dc-0.0.5.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb496c6b7a32672ca055600d00daf4589195eb6b33bd744a369795ef80a4cede
|
|
| MD5 |
c7d52a0c9eb3039de08cb0012e0f4697
|
|
| BLAKE2b-256 |
8824a0baa01055b6ec41bdb88a61307afcccbc8bb1d097124a9c9d4f7b9e60be
|