Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Can't configure under HA Core 2022.6.1 #681

Open
Masterz69 opened this issue Jun 4, 2022 · 15 comments
Open

[BUG] Can't configure under HA Core 2022.6.1 #681

Masterz69 opened this issue Jun 4, 2022 · 15 comments
Assignees
Labels
bug Something isn't working fixed
Milestone

Comments

@Masterz69
Copy link

Environment

  • ShellyForHASS release with the issue: 1.0.0.beta.2
  • Last working ShellyForHASS release (if known): n/a
  • Home Assistant Core release with the issue: 2022.6.1
  • Operating environment (Home Assistant/Supervised/Docker/venv): HAOS

Describe the bug

After HACS integration and HA integration added - opening config page http://ha.local:8123/shelly/config lasts forever....

Steps to Reproduce

HACS Integrations - install ShellyforHASS
HA Integrations - install shelly integration
Press Configure

Expected behavior

Screenshots

image
^^ forever

Traceback/Error logs

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:103
First occurred: 11:23:46 (2 occurrences)
Last logged: 11:27:19

Detected integration that uses deprecated `async_get_registry` to access device registry, use async_get instead. Please report issue to the custom component author for alarmo using this method at custom_components/alarmo/__init__.py, line 58: device_registry = await dr.async_get_registry(hass)
Detected integration that uses deprecated `async_get_registry` to access entity registry, use async_get instead. Please report issue to the custom component author for shelly using this method at custom_components/shelly/__init__.py, line 347: await self.hass.helpers.entity_registry.async_get_registry()

Logger: homeassistant.components.websocket_api.http.connection
Source: loader.py:694
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 11:27:45 (4 occurrences)
Last logged: 11:35:25

[548185787504] Error handling message: Unknown error (unknown_error)
[547883693392] Error handling message: Unknown error (unknown_error)
[547882963632] Error handling message: Unknown error (unknown_error)
[548240337936] Error handling message: Unknown error (unknown_error)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 27, in _handle_async_response
    await func(hass, connection, msg)
  File "/config/custom_components/shelly/ws_handler.py", line 25, in shelly_get_config
    resources = await async_get_translations(
  File "/usr/src/homeassistant/homeassistant/helpers/translation.py", line 317, in async_get_translations
    cached = await cache.async_fetch(language, category, components)
  File "/usr/src/homeassistant/homeassistant/helpers/translation.py", line 222, in async_fetch
    await self._async_load(language, components_to_load)
  File "/usr/src/homeassistant/homeassistant/helpers/translation.py", line 237, in _async_load
    for translation_strings in await asyncio.gather(
  File "/usr/src/homeassistant/homeassistant/helpers/translation.py", line 157, in async_get_component_strings
    await gather_with_concurrency(
  File "/usr/src/homeassistant/homeassistant/util/async_.py", line 199, in gather_with_concurrency
    return await gather(
  File "/usr/src/homeassistant/homeassistant/util/async_.py", line 197, in sem_task
    return await task
  File "/usr/src/homeassistant/homeassistant/loader.py", line 666, in async_get_integration
    integration = await _async_get_integration(hass, domain)
  File "/usr/src/homeassistant/homeassistant/loader.py", line 694, in _async_get_integration
    raise IntegrationNotFound(domain)
homeassistant.loader.IntegrationNotFound: Integration 'l' not found.

Additional context

@Masterz69
Copy link
Author

On downloading 0.3.5 - looks Ok:
image

@hakana
Copy link
Contributor

hakana commented Jun 4, 2022

Try to restart HA after det nstall S4H

@Masterz69
Copy link
Author

image

Then

image

Doing HA restart to new version take effect.

Now pressing CONFIGURE:
image

THAT'S ALL, FOLKS. Configure page do NOT appear.....
image

@Masterz69
Copy link
Author

image

Logger: pyShelly
Source: /usr/local/lib/python3.9/site-packages/pyShelly/utils.py:50
First occurred: 21:08:20 (94 occurrences)
Last logged: 21:10:56

Error receiving MQTT message, [Errno 104] Connection reset by peer, Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/pyShelly/mqtt_server.py", line 92, in _loop self._connection.send(msg) ConnectionResetError: [Errno 104] Connection reset by peer
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/pyShelly/mqtt_server.py", line 92, in _loop
    self._connection.send(msg)
ConnectionResetError: [Errno 104] Connection reset by peer

Logger: pyShelly
Source: /usr/local/lib/python3.9/site-packages/pyShelly/utils.py:50
First occurred: 21:08:21 (60 occurrences)
Last logged: 21:10:57

Error receiving MQTT message, [Errno 104] Connection reset by peer, Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/pyShelly/mqtt_server.py", line 29, in _loop head = b(self._connection.recv(1)) ConnectionResetError: [Errno 104] Connection reset by peer
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/pyShelly/mqtt_server.py", line 29, in _loop
    head = b(self._connection.recv(1))
ConnectionResetError: [Errno 104] Connection reset by peer




Logger: homeassistant.components.websocket_api.http.connection
Source: loader.py:694
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 21:09:17 (1 occurrences)
Last logged: 21:09:17

[547422525328] Error handling message: Unknown error (unknown_error)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 27, in _handle_async_response
    await func(hass, connection, msg)
  File "/config/custom_components/shelly/ws_handler.py", line 25, in shelly_get_config
    resources = await async_get_translations(
  File "/usr/src/homeassistant/homeassistant/helpers/translation.py", line 317, in async_get_translations
    cached = await cache.async_fetch(language, category, components)
  File "/usr/src/homeassistant/homeassistant/helpers/translation.py", line 222, in async_fetch
    await self._async_load(language, components_to_load)
  File "/usr/src/homeassistant/homeassistant/helpers/translation.py", line 237, in _async_load
    for translation_strings in await asyncio.gather(
  File "/usr/src/homeassistant/homeassistant/helpers/translation.py", line 157, in async_get_component_strings
    await gather_with_concurrency(
  File "/usr/src/homeassistant/homeassistant/util/async_.py", line 199, in gather_with_concurrency
    return await gather(
  File "/usr/src/homeassistant/homeassistant/util/async_.py", line 197, in sem_task
    return await task
  File "/usr/src/homeassistant/homeassistant/loader.py", line 666, in async_get_integration
    integration = await _async_get_integration(hass, domain)
  File "/usr/src/homeassistant/homeassistant/loader.py", line 694, in _async_get_integration
    raise IntegrationNotFound(domain)
homeassistant.loader.IntegrationNotFound: Integration 'l' not found.

@hakana
Copy link
Contributor

hakana commented Jun 4, 2022

Look like it have something with translation, what language do you use?

@hakana
Copy link
Contributor

hakana commented Jun 4, 2022

I upgrade HA and got the same problem. I will have a look on it asap.

@Masterz69
Copy link
Author

Look like it have something with translation, what language do you use?

English.

@hakana hakana self-assigned this Jun 4, 2022
@hakana hakana modified the milestones: 1.0.0 (Beta 1), 1.0.0 Jun 4, 2022
@hakana hakana added bug Something isn't working fixed labels Jun 4, 2022
@hakana
Copy link
Contributor

hakana commented Jun 4, 2022

Fixed and released in 1.0.0

@dnavidn
Copy link

dnavidn commented Jun 5, 2022

Guerssing its related, but I can't integrate on 2022.6.2 following a clean install. Get a 500 internal server error when I click integrate.

Screenshot 2022-06-05 at 21 21 59

@fuskaps
Copy link

fuskaps commented Jun 6, 2022

I also have a problem with error 500 :-(
image
Shelly Version 1.0.0, HA core-2022.6.2

@dnavidn
Copy link

dnavidn commented Jun 9, 2022

No feedback on this one? Or is it better to log it as a seperate issue?

@dnavidn
Copy link

dnavidn commented Jun 20, 2022

Really, no one?

@silfax
Copy link

silfax commented Jun 21, 2022

I can only confirm that I am experiencing the same issue (500 Internal Server Error). Found no solution yet.

@DaHype
Copy link

DaHype commented Jul 26, 2022

I can only confirm that I am experiencing the same issue (500 Internal Server Error). Found no solution yet.

Same Here. I bought Shelly Plug s for my Photovoltaik for use in Home Assistant, but now i cant use it:-(

Did you found an solution???

@1-Felix
Copy link

1-Felix commented Aug 23, 2022

For me the solution was to restart my docker container, after experiencing the same 500 Internal Server Error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed
Projects
None yet
Development

No branches or pull requests

7 participants