matrixcrawler / python-e3dc-module Goto Github PK
View Code? Open in Web Editor NEWA Python library for querying E3/DC systems trough an RSCP connection.
License: MIT License
A Python library for querying E3/DC systems trough an RSCP connection.
License: MIT License
Hello,
I have just installed your library on my machine (Raspberry 3B - Python 3.5.3):
sudo pip3 install git+https://github.com/MatrixCrawler/python-e3dc-module.git
Collecting git+https://github.com/MatrixCrawler/python-e3dc-module.git
Cloning https://github.com/MatrixCrawler/python-e3dc-module.git to /tmp/pip-4p_ahb5j-build
Requirement already satisfied: py3rijndael in /usr/local/lib/python3.5/dist-packages (from e3dc==0.0.5)
Installing collected packages: e3dc
Running setup.py install for e3dc ... done
Successfully installed e3dc-0.0.5
Unfortunately already the 10th line of the code gives me troubles ๐ . Maybe I'm just blind to see it. Would be great if you could have a quick look.
Traceback (most recent call last):
File ".homebridge/Cmd4Scripts/e3dc_connect.py", line 10, in <module>
e3dc = E3DC(USERNAME, PASS, TCP_IP, KEY)
NameError: name 'E3DC' is not defined
#!/usr/bin/python3
from e3dc import *
TCP_IP = 'xxx'
USERNAME = 'xxx'
PASS = 'xxx'
KEY = 'xxx'
SERIALNUMBER = 'xxx'
e3dc = E3DC(USERNAME, PASS, TCP_IP, 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))
For info: Before I have tried your package, I also tried the one from https://github.com/fsantini/python-e3dc. But I uninstalled it before installing yours.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.