Open DaHype opened 1 year ago
Got this error :
Logger: pyShelly
Source: /usr/local/lib/python3.10/site-packages/pyShelly/coap.py:31
First occurred: 30 juillet 2022 à 01:46:55 (1 occurrences)
Last logged: 30 juillet 2022 à 01:46:55
Can't setup CoAP listener
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/pyShelly/coap.py", line 28, in start
self._init_socket()
File "/usr/local/lib/python3.10/site-packages/pyShelly/coap.py", line 53, in _init_socket
sock.setsockopt(socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP, mreq)
OSError: [Errno 19] No such device
And this warning :
Logger: homeassistant.helpers.frame
Source: helpers/frame.py:103
First occurred: 30 juillet 2022 à 01:46:55 (1 occurrences)
Last logged: 30 juillet 2022 à 01:46:55
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 356: await self.hass.helpers.entity_registry.async_get_registry()
Same error here
Same error here
Thanks for Confirm
I really hope that @hakana can fix it soon.
core-2022.7.7
I get error 500 too:
System log:
`Logger: aiohttp.server Source: config_entries.py:229 First occurred: 12:38:44 (4 occurrences) Last logged: 12:42:05
Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 79, in ban_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 136, in handle result = await result File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 168, in get return await super().get(request, flow_id) File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 95, in get result = await self._flow_mgr.async_configure(flow_id) File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 277, in async_configure result = await self._async_handle_step( File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 392, in _async_handle_step result = await self.async_finish_flow(flow, result.copy()) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 747, in async_finish_flow entry = ConfigEntry( File "/usr/src/homeassistant/homeassistant/config_entries.py", line 229, in init self.data = MappingProxyType(data) TypeError: mappingproxy() argument must be a mapping, not NoneType `
Is it working if you select Shelly from the sidebar or go to the URL /shelly/config ?
Is it working if you select Shelly from the sidebar or go to the URL /shelly/config ?
No. Currently i use MQTT from Shelly Device in Home Assistant. It´s working fine. All Sensors working with MQTT. Your Integration always gives the Error 500. Of course also when i deactivate MQTT on the Shelly Device.
Is it working if you select Shelly from the sidebar or go to the URL /shelly/config ?
No. Currently i use MQTT from Shelly Device in Home Assistant. It´s working fine. All Sensors working with MQTT. Your Integration always gives the Error 500. Of course also when i deactivate MQTT on the Shelly Device.
Can you see an error message or only 500 error code? Can you take a screen show?
Show only "500 Internal Server Error, the Server got itself in trouble"
I've the same error:
`Logger: aiohttp.server Source: config_entries.py:233 First occurred: 20:55:54 (1 occurrences) Last logged: 20:55:54
Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 82, in ban_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 136, in handle result = await result File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 168, in get return await super().get(request, flow_id) File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 95, in get result = await self._flow_mgr.async_configure(flow_id) File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 277, in async_configure result = await self._async_handle_step( File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 392, in _async_handle_step result = await self.async_finish_flow(flow, result.copy()) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 759, in async_finish_flow entry = ConfigEntry( File "/usr/src/homeassistant/homeassistant/config_entries.py", line 233, in init self.data = MappingProxyType(data) TypeError: mappingproxy() argument must be a mapping, not NoneType `
Same Error here. Running HA OS on an Unraid VM. Home Assistant 2022.8.5 Supervisor 2022.08.3 Operating System 8.4 Frontend 20220802.0 - latest
I managed to work around it by manually adding a new "Shelly" integration, choosing new instance. The new instance correclty found my shelly devices. Hope this helps someone
didn't work on my side, sorry. Nothing happens, when clicking "set up an other instance of Shelly smart home" Any other ideas?
didn't work on my side, sorry. Nothing happens, when clicking "set up an other instance of Shelly smart home" Any other ideas?
I have the same problem. in the console it say's Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'supported_by')
I installed 1.0.1 and now it's working
Same issue. This work araound has worked for me
I'm not sure what this error means, but it keeps showing me!
Log Details (ERROR)
Logger: pyShelly
Source: /usr/local/lib/python3.11/site-packages/pyShelly/coap.py:31
First occurred: 12:10:59 (1 occurrences)
Last logged: 12:10:59
Can't setup CoAP listener
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/pyShelly/coap.py", line 28, in start
self._init_socket()
File "/usr/local/lib/python3.11/site-packages/pyShelly/coap.py", line 53, in _init_socket
sock.setsockopt(socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP, mreq)
OSError: [Errno 19] No such device
Not possible to configurate it.![Screenshot_20220726-140650_Home Assistant](https://user-images.githubusercontent.com/102579433/181004579-f6ddb860-c714-46f5-979d-8047cd70c642.jpg)