Lovelace interface to control two different shelly switches gets mixed up: after disconnecting one of the switches, both existing lovelace swithes control the still connected switch
configuration.yamldefault_config:
tts:
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
logger:
default: info
logs:
custom_components.hacs: debug
hacs: debug
queueman: debug
AIOGitHubAPI: debug
Logger: homeassistant.components.shelly
Source: components/shelly/__init__.py:96
Integration: Shelly (documentation, issues)
First occurred: November 10, 2020, 3:43:17 AM (3098 occurrences)
Last logged: 12:11:45 PM
Unexpected error fetching shelly1-E09806964A64 data: 'utf-8' codec can't decode byte 0xa1 in position 159: invalid start byte
Unexpected error fetching shelly1-E09806964A64 data: 'utf-8' codec can't decode byte 0xb6 in position 159: invalid start byte
Unexpected error fetching shelly1-E09806964A64 data: 'utf-8' codec can't decode byte 0xc7 in position 159: invalid continuation byte
Unexpected error fetching shelly1-E09806964A64 data: 'utf-8' codec can't decode byte 0xd8 in position 159: invalid continuation byte
Unexpected error fetching shelly1-E09806964A64 data: 'utf-8' codec can't decode byte 0xd3 in position 161: invalid continuation byte
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 144, in async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/components/shelly/__init__.py", line 96, in _async_update_data
return await self.device.update()
File "/usr/local/lib/python3.8/site-packages/aioshelly/__init__.py", line 184, in update
self._update_s(await self.coap_request("s"))
File "/usr/local/lib/python3.8/site-packages/aioshelly/__init__.py", line 226, in coap_request
return json.loads(response.payload)
File "/usr/local/lib/python3.8/json/__init__.py", line 343, in loads
s = s.decode(detect_encoding(s), 'surrogatepass')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb7 in position 158: invalid start byte
Other log entry:
Logger: homeassistant.components.shelly
Source: helpers/update_coordinator.py:148
Integration: Shelly (documentation, issues)
First occurred: November 8, 2020, 4:34:23 PM (3461 occurrences)
Last logged: 12:18:16 PM
Timeout fetching shelly1pm-40F52001BB40 data
Timeout fetching shelly1-E09806964A64 data
I had connected the two shelly switches for testing. One shelly 1 was present on my wan on address http://192.168.10.3/, and a shelly 1pm was on http://192.168.10.7/ . After a while, I disconnected the first one from the powerline. Now, in my lovelace interface, where both switches were controllable by two distinct switches with the thermostat icon, I can control the remaining switch by both the existing lovelace switches. The shelly 1 PM that is still connected is now on http://192.168.10.3/
Hey there @balloob, @bieniu, @thecode, mind taking a look at this issue as its been labeled with an integration (shelly) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)
The current Shelly integration differs significantly from that in HA 0.117. You have to wait for HA 0.118.
Hi, thanks for the reply.
Do you know if that update will be published soon? Or should I change to
some development version, if I really don't want to wait?
Best regards, LuÃs Mota
On 11/11/20 13:46, Maciej Bieniek wrote:
>
The current Shelly integration differs significantly from that in HA
0.117. You have to wait for HA 0.118.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/core/issues/43095#issuecomment-725431648,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYKEJCK77FQYNQUBSJ63DLSPKISJANCNFSM4TR5URTQ.
0.118 beta should be available today. The release will be in a week.
@lhrmota , 0.118 is released. Please upgrade and report back.
Simone