home-assistant-libs / aioeagle Goto Github PK
View Code? Open in Web Editor NEWPython library to control the EAGLE-200
License: Apache License 2.0
Python library to control the EAGLE-200
License: Apache License 2.0
Very recently, I noticed that the meter price stopped appearing in Home Assistant. I disconnected and reconnected the integration, but still no meter price.
I cloned the library, installed, and ran the example script with my cloud and install codes. The return JSON shows this:
'zigbee:Price': {
'Description': 'Price of electricity',
'Name': 'zigbee:Price',
'Units': None,
'Value': 'invalid'
},
When I log into the Rainforest website, it still is showing the price.
I'm not sure if a change happened on their side, but something is not lining up anymore. In case there is something that can be done on this side, I wanted to raise the issue.
I'm very new to Python. So I may not know what I'm saying.
If I use aioeagle SAMPLE.PY and put in my CloudID, InstallCode and IP of my unit, I keep receiving a "BadAuth" from the code. I know my CloudID and InstallCode are correct. If I modify hub.py line 38 (there abouts)
self.auth = BasicAuth(cloud_id, install_code)
to
self.auth = BasicAuth(cloud_id, install_code).encode()
The AUTH and the request now works, but the code fails elsewhere, complaining of a thuple error.
looking at AIOHTTP.PY code the only time that code encodes the AUTH is on initialization of the class. I'm at a loss of how to fix this.
Any pointers?
Thanks
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.