Giter VIP home page Giter VIP logo

uhoo-homeassistant's People

Contributors

csacca avatar dependabot[bot] avatar pre-commit-ci[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

uhoo-homeassistant's Issues

Cannot run setup - "Retrying setup: None"

with the newest version, and on core-2021.9.6 - uHoo integration fails on load. No devices
Deleting the integration, and attempting to set it back up I get the error - "Retrying setup: None"

Any idea what is wrong?

datetime

2021-09-13 09:34:28 ERROR (MainThread) [custom_components.uhoo] Error: an exception occurred while attempting to get latest data: 'datetime'

Exception while attempting to get latest data

Noticed my integration stopped working on 3/16. HA logs show the following:

Logger: custom_components.uhoo
Source: custom_components/uhoo/__init__.py:85 
Integration: uHoo ([documentation](https://github.com/csacca/uhoo-homeassistant), [issues](https://github.com/csacca/uhoo-homeassistant/issues)) 
First occurred: 9:42:19 AM (382 occurrences) 
Last logged: 4:11:48 PM

Error: an exception occurred while attempting to get latest data: Error requesting data from https://auth.uhooinc.com/renewusertoken: 410, message='Gone', url=URL('https://auth.uhooinc.com/renewusertoken')

I tried deleting integration and re-authenticating. Looks like it got one data point but none after.

Running HASS: 2022.3.5 and latest integration version from HACS.

No longer loads on core-2021.6.0

after core-2021.6.0, existing integrations no longer load on start, and the integration is no longer visible in the integration list after this repo is installed via HACS

Error logging into uhoo w this add on

trying to use this add on but having issues w the log into uhoo w a valid account.

This error originated from a custom integration.

Logger: custom_components.uhoo
Source: custom_components/uhoo/init.py:48
Integration: uHoo (documentation, issues)
First occurred: 8:04:16 AM (1 occurrences)
Last logged: 8:04:16 AM

Error: 401 Unauthorized error while logging in: { "message": "Incorrect password. Please try again.", "status": 2 }
This error originated from a custom integration.

Logger: custom_components.uhoo
Source: custom_components/uhoo/init.py:55
Integration: uHoo (documentation, issues)
First occurred: 7:21:40 AM (29 occurrences)
Last logged: 8:01:32 AM

Error: an exception occurred while attempting to get latest data: 'int' object is not subscriptable
Error: an exception occurred while attempting to get latest data: Error requesting data from https://auth.uhooinc.com/renewusertoken: 410, message='Gone', url=URL('https://auth.uhooinc.com/renewusertoken')

"Invalid token" error not being caught

2021-09-19 15:02:47 ERROR (MainThread) [custom_components.uhoo] Error: an exception occurred while attempting to get latest data: {
  "errors": [
    {
      "message": "Invalid token"
    }
  ]
}

no longer work

Is there any news, i still have follow error in latest version:


Logger: custom_components.uhoo
Source: custom_components/uhoo/__init__.py:85
Integration: uHoo (documentation, issues)
First occurred: 13:52:56 (4 occurrences)
Last logged: 13:53:53

Error: an exception occurred while attempting to get latest data: Error requesting data from https://auth.uhooinc.com/login: 400, message='Bad Request', url=URL('https://auth.uhooinc.com/login')
Error: an exception occurred while attempting to get latest data: Error requesting data from https://api.uhooinc.com/v1/getalllatestdata: 404, message='Not Found', url=URL('https://api.uhooinc.com/v1/getalllatestdata')

TypeError: encoding without a string argument

This error originated from a custom integration.

Logger: homeassistant.config_entries
Source: custom_components/uhoo/init.py:46
Integration: uHoo (documentation, issues)
First occurred: 6:10:21 PM (1 occurrences)
Last logged: 6:10:21 PM

Error setting up entry [email protected] for uhoo
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/config/custom_components/uhoo/init.py", line 46, in async_setup_entry
await client.login()
File "/usr/local/lib/python3.9/site-packages/pyuhoo/client.py", line 61, in login
encrypted: str = encrypted_hash(code, salted)
File "/usr/local/lib/python3.9/site-packages/pyuhoo/util.py", line 26, in encrypted_hash
code_hash.update(bytes(code, "utf-8"))
TypeError: encoding without a string argument

Error: 'int' object is not subscriptable

A new error showed up after restarting Home Assistant.

Logger: custom_components.uhoo
Source: custom_components/uhoo/__init__.py:55 
Integration: uHoo 
First occurred: 1:02:02 PM (1 occurrences) 
Last logged: 1:02:02 PM

Error: an exception occurred while attempting to get latest data: 'int' object is not subscriptable

Error requesting data

First I want to say I’m very pleased that this customer component is available! Thanks a lot.

Regularly I have the following error. Because of the error all uhoo related automations won’t work properly.

Error: an exception occurred while attempting to get latest data: Error requesting data from https://auth.uhooinc.com/login: 400, message='Bad Request', url=URL('https://auth.uhooinc.com/login')

I got no debug log in stead of:
2021-10-23 14:31:15 DEBUG (MainThread) [custom_components.uhoo] Finished fetching uhoo data in 4.203 seconds (success: True)

Hopefully this is useful to fix the issue.

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.