core: Shelly Button 1 no longer working

The problem

I updated to 2021.8.3, but since I updated to 2021.8.0 and updated the OS to 6.2 the shelly button gives an error. The button itself is reachable through the IP, and with a network sniffer I see the mdns stuff going round when I press the button.

I removed and added the button, no difference. I reverted to previously working 2021.7.4, no difference.

So I assume the error is related to the OS?

I’m not yet an expert so let me know if I need to add additional info.

What is version of Home Assistant Core has the issue?

core-2021.8.3

What was the last working version of Home Assistant Core?

core-2021.7.4

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Shelly

Link to integration documentation on our website

https://www.home-assistant.io/integrations/shelly/

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant
Source: components/shelly/__init__.py:225 
First occurred: 9:40:34 AM (45 occurrences) 
Last logged: 9:51:32 AM

Error doing job: Task exception was never retrieved
Error doing job: Exception in callback _SelectorDatagramTransport._read_ready()
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/aioshelly/__init__.py", line 250, in _async_init
    await self.initialize(False)
  File "/usr/local/lib/python3.9/site-packages/aioshelly/__init__.py", line 239, in initialize
    self._update_listener(self)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 287, in async_set_updated_data
    update_callback()
  File "/usr/src/homeassistant/homeassistant/components/shelly/__init__.py", line 225, in _async_device_updates_handler
    if block.wakeupEvent[0] == "button":
IndexError: list index out of range

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 19 (9 by maintainers)

Most upvoted comments

Here as well! Thank you!

Looks like the RC firmware solves the issue for my SHBTN-2’s! Thanks šŸ˜„

If you want to test there is a release candidate which should solve this issue:

For SHBTN-1 model: http://device_ip/ota?url=http://repo.shelly.cloud/firmware/rc/SHBTN-1.zip

For SHBTN-2 model: http://device_ip/ota?url=http://repo.shelly.cloud/firmware/rc/SHBTN-2.zip

Replace device_ip with the IP address or hostname of your button device, connect the button to USB power before update to make sure it is awake.