Code Monkey home page Code Monkey logo

aioeagle's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

aioeagle's Issues

Meter price stopped working

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.

Screen Shot 2022-06-01 at 8 21 41 PM

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.

AUTH code doesn't seem to be correct in the hub.py module

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.