home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.67k stars 30.42k forks source link

Shellyplug-s configuration error #127885

Open LarsKumbier opened 1 week ago

LarsKumbier commented 1 week ago

The problem

I have a shelly plug-s, which I can not integrate into my home assistant:

  1. The shelly integration does recognize the plug as a new device.
  2. The configuration dialogue pops up to enter username and password.
  3. The dialogue closes and I immediately get an Error: "Einrichtung fehlgeschlagen, wird erneut versucht: None" (rough english translation: "setup failed, will try again: None"

Environment:

What version of Home Assistant Core has the issue?

core-2024.10.1

What was the last working version of Home Assistant Core?

No response

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/

Diagnostics information

2024-10-07 22:01:10.331 ERROR (MainThread) [homeassistant.components.hassio.coordinator] Error fetching hassio data: Error on Supervisor API: System is not ready with state: setup
2024-10-07 22:01:10.640 ERROR (MainThread) [async_upnp_client.ssdp] Received error: [Errno 99] Address not available, transport: <_SelectorDatagramTransport fd=27 read=polling write=<idle, bufsize=0>>, socket: <asyncio.TransportSocket fd=27, family=10, type=2, proto=0, laddr=('::', 58631, 0, 0)>
2024-10-07 22:04:28.293 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.116, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHSW-1#485519CA4553#2', 3412: b'\x96\x00', 3420: b'\x9d\x02'}, payload={'G': [[0, 9103, 0], [0, 1101, 0], [0, 2101, 0], [0, 2102, ''], [0, 2103, 0]]}
2024-10-07 22:04:28.293 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id CA4553
2024-10-07 22:04:28.293 DEBUG (MainThread) [homeassistant.components.shelly] Shelly shelly-garagentor handle update, type: BlockUpdateType.COAP_PERIODIC
2024-10-07 22:04:28.293 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shelly-garagentor data
2024-10-07 22:04:28.293 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:04:28.293 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block sensor_0
2024-10-07 22:04:28.293 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block sensor_1
2024-10-07 22:04:28.293 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block sensor_2
2024-10-07 22:04:28.293 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block device
2024-10-07 22:04:28.686 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.60, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHSW-25#4C7525333F25#2', 3412: b'\x96\x00', 3420: b'`\x0b'}, payload={'G': [[0, 9103, 0], [0, 1102, 'stop'], [0, 1103, 42], [0, 2101, 1], [0, 2102, ''], [0, 2103, 0], [0, 2201, 0], [0, 2202, ''], [0, 2203, 0], [0, 4102, 0.0], [0, 4104, 13720], [0, 6103, 'normal'], [0, 3104, 58.67], [0, 6101, 0], [0, 9101, 'roller'], [0, 4108, 240.73]]}
2024-10-07 22:04:28.687 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id 333F25
2024-10-07 22:04:28.687 DEBUG (MainThread) [homeassistant.components.shelly] Shelly og-tia-shutter-garten handle update, type: BlockUpdateType.COAP_PERIODIC
2024-10-07 22:04:28.687 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated og-tia-shutter-garten data
2024-10-07 22:04:28.687 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:04:28.687 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:04:28.687 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block roller_0
2024-10-07 22:04:28.687 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block device
2024-10-07 22:04:29.843 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.98, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHSW-25#4C752532FA78#2', 3412: b'\x96\x00', 3420: b'H\x01'}, payload={'G': [[0, 9103, 3], [0, 1102, 'stop'], [0, 1103, 100], [0, 2101, 0], [0, 2102, ''], [0, 2103, 0], [0, 2201, 0], [0, 2202, ''], [0, 2203, 0], [0, 4102, 0.0], [0, 4104, 4086], [0, 6103, 'normal'], [0, 3104, 57.63], [0, 6101, 0], [0, 9101, 'roller'], [0, 4108, 241.21]]}
2024-10-07 22:04:29.843 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id 32FA78
2024-10-07 22:04:29.843 DEBUG (MainThread) [homeassistant.components.shelly] Shelly shelly25-linus-neckar handle update, type: BlockUpdateType.COAP_PERIODIC
2024-10-07 22:04:29.844 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shelly25-linus-neckar data
2024-10-07 22:04:29.844 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:04:29.844 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:04:29.844 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block roller_0
2024-10-07 22:04:29.844 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block device
2024-10-07 22:04:31.222 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.221, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHDM-1#D0B0A9#2', 3412: b'\x96\x00', 3420: b'\xd3\r'}, payload={'G': [[0, 9103, 1], [0, 1101, 0], [0, 5101, 100], [0, 2101, 0], [0, 2102, ''], [0, 2103, 666], [0, 2201, 0], [0, 2202, ''], [0, 2203, 0], [0, 4101, 0.0], [0, 4103, 725922], [0, 6102, 0], [0, 6109, 0.0], [0, 6104, 0], [0, 3104, 43.67], [0, 3105, 110.61], [0, 6101, 0], [0, 9101, 'white']]}
2024-10-07 22:04:31.222 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id D0B0A9
2024-10-07 22:04:31.223 DEBUG (MainThread) [homeassistant.components.shelly] Shelly shellydimmer-D0B0A9 handle update, type: BlockUpdateType.COAP_PERIODIC
2024-10-07 22:04:31.223 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shellydimmer-D0B0A9 data
2024-10-07 22:04:31.223 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block light_0
2024-10-07 22:04:31.223 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:04:31.223 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:04:31.223 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block device
2024-10-07 22:04:31.893 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.220, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHPLG-S#8016D2#1', 3412: b'\x96\x00', 3420: b'\x8c\xfa'}, payload={'G': [[0, 111, 0.0], [0, 112, 1], [0, 113, 27.08], [0, 114, 80.75], [0, 115, 0], [0, 211, 0.0], [0, 212, 0.0], [0, 213, 0.0], [0, 214, 511834]]}
2024-10-07 22:04:31.894 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.132, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHSW-1#485519CA237C#2', 3412: b'\x96\x00', 3420: b'\xa0\x00'}, payload={'G': [[0, 9103, 1], [0, 1101, 0], [0, 2101, 0], [0, 2102, ''], [0, 2103, 0]]}
2024-10-07 22:04:31.894 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id CA237C
2024-10-07 22:04:31.894 DEBUG (MainThread) [homeassistant.components.shelly] Shelly shelly1-stromzahler-garage handle update, type: BlockUpdateType.COAP_PERIODIC
2024-10-07 22:04:31.894 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shelly1-stromzahler-garage data
2024-10-07 22:04:31.894 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:04:31.894 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block sensor_0
2024-10-07 22:04:31.894 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block sensor_1
2024-10-07 22:04:31.894 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block sensor_2
2024-10-07 22:04:31.894 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block device
2024-10-07 22:04:35.869 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.127, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHSW-25#4C752532F565#2', 3412: b'\x96\x00', 3420: b'\xce\x05'}, payload={'G': [[0, 9103, 2], [0, 1102, 'stop'], [0, 1103, 48], [0, 2101, 0], [0, 2102, ''], [0, 2103, 0], [0, 2201, 1], [0, 2202, ''], [0, 2203, 0], [0, 4102, 0.0], [0, 4104, 12478], [0, 6103, 'normal'], [0, 3104, 52.38], [0, 6101, 0], [0, 9101, 'roller'], [0, 4108, 239.28]]}
2024-10-07 22:04:35.869 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id 32F565
2024-10-07 22:04:35.869 DEBUG (MainThread) [homeassistant.components.shelly] Shelly og-tia-shutter-re handle update, type: BlockUpdateType.COAP_PERIODIC
2024-10-07 22:04:35.869 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated og-tia-shutter-re data
2024-10-07 22:04:35.869 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:04:35.869 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:04:35.869 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block roller_0
2024-10-07 22:04:35.869 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block device
2024-10-07 22:04:38.724 DEBUG (MainThread) [aioshelly.block_device.coap] Sending request 'cit/s' to device 192.168.178.220
2024-10-07 22:04:38.724 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: block device create, MAC: FCF5C48016D2
2024-10-07 22:04:38.724 DEBUG (MainThread) [aioshelly.block_device.coap] Adding device 8016D2 to CoAP message subscriptions
2024-10-07 22:04:38.725 DEBUG (MainThread) [homeassistant.components.shelly] Setting up online block device shellyplug-s-8016D2
2024-10-07 22:04:38.725 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: block device initialize
2024-10-07 22:04:38.734 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.220, type=CoapType.REPLY(69), options={11: b's', 3332: b'SHPLG-S#8016D2#1', 3412: b'\x96\x00', 3420: b'\x8d\xfa'}, payload={'G': [[0, 111, 0.0], [0, 112, 1], [0, 113, 27.14], [0, 114, 80.85], [0, 115, 0], [0, 211, 0.0], [0, 212, 0.0], [0, 213, 0.0], [0, 214, 511834]]}
2024-10-07 22:04:38.735 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id 8016D2
2024-10-07 22:04:38.745 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: http request: /settings (params=None)
2024-10-07 22:04:38.903 DEBUG (MainThread) [aioshelly.block_device.device] aiohttp response: {'device': {'type': 'SHPLG-S', 'mac': 'FCF5C48016D2', 'hostname': 'shellyplug-s-8016D2', 'num_outputs': 1, 'num_meters': 1}, 'wifi_ap': {'enabled': False, 'ssid': 'shellyplug-s-8016D2', 'key': ''}, 'wifi_sta': {'enabled': True, 'ssid': 'PigsCanWifly', 'ipv4_method': 'dhcp', 'ip': None, 'gw': None, 'mask': None, 'dns': None}, 'wifi_sta1': {'enabled': False, 'ssid': 'shelly-plug-1', 'ipv4_method': 'dhcp', 'ip': None, 'gw': None, 'mask': None, 'dns': None}, 'mqtt': {'enable': True, 'server': '192.168.178.206:1883', 'user': 'shellyplug-pv', 'id': 'shellyplug-pv', 'reconnect_timeout_max': 60.0, 'reconnect_timeout_min': 2.0, 'clean_session': True, 'keep_alive': 60, 'max_qos': 2, 'retain': False, 'update_period': 30}, 'coiot': {'update_period': 15}, 'sntp': {'server': 'time.google.com', 'enabled': True}, 'login': {'enabled': True, 'unprotected': False, 'username': 'admin'}, 'pin_code': '', 'name': '', 'fw': '20200601-123307/v1.7.0@d7961837', 'discoverable': True, 'build_info': {'build_id': '20200601-123307/v1.7.0@d7961837', 'build_timestamp': '2020-06-01T12:33:07Z', 'build_version': '1.0'}, 'cloud': {'enabled': False, 'connected': False}, 'timezone': 'Europe/Berlin', 'lat': 49.398899, 'lng': 8.528, 'tzautodetect': True, 'tz_utc_offset': 7200, 'tz_dst': True, 'tz_dst_auto': True, 'time': '22:04', 'unixtime': 1728338678, 'hwinfo': {'hw_revision': 'prod-190516', 'batch_id': 1}, 'max_power': 2500, 'led_status_disable': False, 'led_power_disable': False, 'relays': [{'ison': True, 'has_timer': False, 'overpower': False, 'default_state': 'on', 'auto_on': 0.0, 'auto_off': 0.0, 'btn_on_url': None, 'out_on_url': None, 'out_off_url': None, 'schedule': False, 'schedule_rules': ['1900-0123456-on', '2330-0123456-off'], 'max_power': 2500}], 'meters': [{'power': 0.0, 'is_valid': True, 'timestamp': 1728338679, 'counters': [0.0, 0.0, 0.0], 'total': 511834}]}
2024-10-07 22:04:38.904 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: http request: /status (params=None)
2024-10-07 22:04:39.008 DEBUG (MainThread) [aioshelly.block_device.device] aiohttp response: {'wifi_sta': {'connected': True, 'ssid': 'PigsCanWifly', 'ip': '192.168.178.220', 'rssi': -42}, 'cloud': {'enabled': False, 'connected': False}, 'mqtt': {'connected': False}, 'time': '22:04', 'unixtime': 1728338679, 'serial': 1, 'has_update': False, 'mac': 'FCF5C48016D2', 'relays': [{'ison': True, 'has_timer': False, 'timer_started': 0, 'timer_duration': 0, 'timer_remaining': 0, 'overpower': False}], 'meters': [{'power': 0.0, 'is_valid': True, 'timestamp': 1728338679, 'counters': [0.0, 0.0, 0.0], 'total': 511834}], 'temperature': 27.14, 'overtemperature': False, 'tmp': {'tC': 27.14, 'tF': 80.85, 'is_valid': True}, 'update': {'status': 'unknown', 'has_update': False, 'new_version': '', 'old_version': '20200601-123307/v1.7.0@d7961837'}, 'ram_total': 50240, 'ram_free': 38592, 'ram_lwm': 32696, 'fs_size': 233681, 'fs_free': 167166, 'uptime': 803903}
2024-10-07 22:04:39.009 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: block device shutdown
2024-10-07 22:04:43.350 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.116, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHSW-1#485519CA4553#2', 3412: b'\x96\x00', 3420: b'\x9d\x02'}, payload={'G': [[0, 9103, 0], [0, 1101, 0], [0, 2101, 0], [0, 2102, ''], [0, 2103, 0]]}
2024-10-07 22:04:43.350 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id CA4553
2024-10-07 22:04:43.350 DEBUG (MainThread) [homeassistant.components.shelly] Shelly shelly-garagentor handle update, type: BlockUpdateType.COAP_PERIODIC
2024-10-07 22:04:43.350 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shelly-garagentor data
2024-10-07 22:04:43.350 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:04:43.350 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block sensor_0
2024-10-07 22:04:43.350 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block sensor_1
2024-10-07 22:04:43.350 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block sensor_2
2024-10-07 22:04:43.350 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block device
2024-10-07 22:04:43.696 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.60, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHSW-25#4C7525333F25#2', 3412: b'\x96\x00', 3420: b'`\x0b'}, payload={'G': [[0, 9103, 0], [0, 1102, 'stop'], [0, 1103, 42], [0, 2101, 1], [0, 2102, ''], [0, 2103, 0], [0, 2201, 0], [0, 2202, ''], [0, 2203, 0], [0, 4102, 0.0], [0, 4104, 13720], [0, 6103, 'normal'], [0, 3104, 58.32], [0, 6101, 0], [0, 9101, 'roller'], [0, 4108, 240.73]]}
2024-10-07 22:04:43.697 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id 333F25
2024-10-07 22:04:43.697 DEBUG (MainThread) [homeassistant.components.shelly] Shelly og-tia-shutter-garten handle update, type: BlockUpdateType.COAP_PERIODIC
2024-10-07 22:04:43.697 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated og-tia-shutter-garten data
2024-10-07 22:04:43.697 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:04:43.697 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:04:43.697 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block roller_0
2024-10-07 22:04:43.697 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block device
2024-10-07 22:04:44.421 DEBUG (MainThread) [aioshelly.block_device.coap] Sending request 'cit/s' to device 192.168.178.220
2024-10-07 22:04:44.421 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: block device create, MAC: FCF5C48016D2
2024-10-07 22:04:44.421 DEBUG (MainThread) [aioshelly.block_device.coap] Adding device 8016D2 to CoAP message subscriptions
2024-10-07 22:04:44.421 DEBUG (MainThread) [homeassistant.components.shelly] Setting up online block device shellyplug-s-8016D2
2024-10-07 22:04:44.421 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: block device initialize
2024-10-07 22:04:44.434 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.220, type=CoapType.REPLY(69), options={11: b's', 3332: b'SHPLG-S#8016D2#1', 3412: b'\x96\x00', 3420: b'\x8e\xfa'}, payload={'G': [[0, 111, 0.0], [0, 112, 1], [0, 113, 26.9], [0, 114, 80.43], [0, 115, 0], [0, 211, 0.0], [0, 212, 0.0], [0, 213, 0.0], [0, 214, 511834]]}
2024-10-07 22:04:44.434 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id 8016D2
2024-10-07 22:04:44.441 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: http request: /settings (params=None)
2024-10-07 22:04:44.598 DEBUG (MainThread) [aioshelly.block_device.device] aiohttp response: {'device': {'type': 'SHPLG-S', 'mac': 'FCF5C48016D2', 'hostname': 'shellyplug-s-8016D2', 'num_outputs': 1, 'num_meters': 1}, 'wifi_ap': {'enabled': False, 'ssid': 'shellyplug-s-8016D2', 'key': ''}, 'wifi_sta': {'enabled': True, 'ssid': 'PigsCanWifly', 'ipv4_method': 'dhcp', 'ip': None, 'gw': None, 'mask': None, 'dns': None}, 'wifi_sta1': {'enabled': False, 'ssid': 'shelly-plug-1', 'ipv4_method': 'dhcp', 'ip': None, 'gw': None, 'mask': None, 'dns': None}, 'mqtt': {'enable': True, 'server': '192.168.178.206:1883', 'user': 'shellyplug-pv', 'id': 'shellyplug-pv', 'reconnect_timeout_max': 60.0, 'reconnect_timeout_min': 2.0, 'clean_session': True, 'keep_alive': 60, 'max_qos': 2, 'retain': False, 'update_period': 30}, 'coiot': {'update_period': 15}, 'sntp': {'server': 'time.google.com', 'enabled': True}, 'login': {'enabled': True, 'unprotected': False, 'username': 'admin'}, 'pin_code': '', 'name': '', 'fw': '20200601-123307/v1.7.0@d7961837', 'discoverable': True, 'build_info': {'build_id': '20200601-123307/v1.7.0@d7961837', 'build_timestamp': '2020-06-01T12:33:07Z', 'build_version': '1.0'}, 'cloud': {'enabled': False, 'connected': False}, 'timezone': 'Europe/Berlin', 'lat': 49.398899, 'lng': 8.528, 'tzautodetect': True, 'tz_utc_offset': 7200, 'tz_dst': True, 'tz_dst_auto': True, 'time': '22:04', 'unixtime': 1728338684, 'hwinfo': {'hw_revision': 'prod-190516', 'batch_id': 1}, 'max_power': 2500, 'led_status_disable': False, 'led_power_disable': False, 'relays': [{'ison': True, 'has_timer': False, 'overpower': False, 'default_state': 'on', 'auto_on': 0.0, 'auto_off': 0.0, 'btn_on_url': None, 'out_on_url': None, 'out_off_url': None, 'schedule': False, 'schedule_rules': ['1900-0123456-on', '2330-0123456-off'], 'max_power': 2500}], 'meters': [{'power': 0.0, 'is_valid': True, 'timestamp': 1728338684, 'counters': [0.0, 0.0, 0.0], 'total': 511834}]}
2024-10-07 22:04:44.598 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: http request: /status (params=None)
2024-10-07 22:04:44.676 DEBUG (MainThread) [aioshelly.block_device.device] aiohttp response: {'wifi_sta': {'connected': True, 'ssid': 'PigsCanWifly', 'ip': '192.168.178.220', 'rssi': -34}, 'cloud': {'enabled': False, 'connected': False}, 'mqtt': {'connected': False}, 'time': '22:04', 'unixtime': 1728338684, 'serial': 1, 'has_update': False, 'mac': 'FCF5C48016D2', 'relays': [{'ison': True, 'has_timer': False, 'timer_started': 0, 'timer_duration': 0, 'timer_remaining': 0, 'overpower': False}], 'meters': [{'power': 0.0, 'is_valid': True, 'timestamp': 1728338684, 'counters': [0.0, 0.0, 0.0], 'total': 511834}], 'temperature': 26.9, 'overtemperature': False, 'tmp': {'tC': 26.9, 'tF': 80.43, 'is_valid': True}, 'update': {'status': 'unknown', 'has_update': False, 'new_version': '', 'old_version': '20200601-123307/v1.7.0@d7961837'}, 'ram_total': 50240, 'ram_free': 38264, 'ram_lwm': 32696, 'fs_size': 233681, 'fs_free': 167166, 'uptime': 803909}
2024-10-07 22:04:44.677 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: block device shutdown
2024-10-07 22:04:44.862 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.98, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHSW-25#4C752532FA78#2', 3412: b'\x96\x00', 3420: b'H\x01'}, payload={'G': [[0, 9103, 3], [0, 1102, 'stop'], [0, 1103, 100], [0, 2101, 0], [0, 2102, ''], [0, 2103, 0], [0, 2201, 0], [0, 2202, ''], [0, 2203, 0], [0, 4102, 0.0], [0, 4104, 4086], [0, 6103, 'normal'], [0, 3104, 57.63], [0, 6101, 0], [0, 9101, 'roller'], [0, 4108, 241.21]]}
2024-10-07 22:04:44.862 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id 32FA78
2024-10-07 22:04:44.862 DEBUG (MainThread) [homeassistant.components.shelly] Shelly shelly25-linus-neckar handle update, type: BlockUpdateType.COAP_PERIODIC
2024-10-07 22:04:44.862 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shelly25-linus-neckar data
2024-10-07 22:04:44.862 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:04:44.862 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:04:44.862 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block roller_0
2024-10-07 22:04:44.863 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block device
2024-10-07 22:04:46.224 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.221, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHDM-1#D0B0A9#2', 3412: b'\x96\x00', 3420: b'\xd3\r'}, payload={'G': [[0, 9103, 1], [0, 1101, 0], [0, 5101, 100], [0, 2101, 0], [0, 2102, ''], [0, 2103, 666], [0, 2201, 0], [0, 2202, ''], [0, 2203, 0], [0, 4101, 0.0], [0, 4103, 725922], [0, 6102, 0], [0, 6109, 0.0], [0, 6104, 0], [0, 3104, 43.3], [0, 3105, 109.94], [0, 6101, 0], [0, 9101, 'white']]}
2024-10-07 22:04:46.224 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id D0B0A9
2024-10-07 22:04:46.224 DEBUG (MainThread) [homeassistant.components.shelly] Shelly shellydimmer-D0B0A9 handle update, type: BlockUpdateType.COAP_PERIODIC
2024-10-07 22:04:46.224 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shellydimmer-D0B0A9 data
2024-10-07 22:04:46.224 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block light_0
2024-10-07 22:04:46.224 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:04:46.224 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:04:46.224 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block device
2024-10-07 22:04:46.899 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.220, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHPLG-S#8016D2#1', 3412: b'\x96\x00', 3420: b'\x8e\xfa'}, payload={'G': [[0, 111, 0.0], [0, 112, 1], [0, 113, 26.9], [0, 114, 80.43], [0, 115, 0], [0, 211, 0.0], [0, 212, 0.0], [0, 213, 0.0], [0, 214, 511834]]}
2024-10-07 22:04:46.899 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.132, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHSW-1#485519CA237C#2', 3412: b'\x96\x00', 3420: b'\xa0\x00'}, payload={'G': [[0, 9103, 1], [0, 1101, 0], [0, 2101, 0], [0, 2102, ''], [0, 2103, 0]]}
2024-10-07 22:04:46.899 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id CA237C
2024-10-07 22:04:46.899 DEBUG (MainThread) [homeassistant.components.shelly] Shelly shelly1-stromzahler-garage handle update, type: BlockUpdateType.COAP_PERIODIC
2024-10-07 22:04:46.899 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shelly1-stromzahler-garage data
2024-10-07 22:04:46.899 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:04:46.899 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block sensor_0
2024-10-07 22:04:46.899 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block sensor_1
2024-10-07 22:04:46.899 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block sensor_2
2024-10-07 22:04:46.900 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block device
2024-10-07 22:04:50.870 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.127, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHSW-25#4C752532F565#2', 3412: b'\x96\x00', 3420: b'\xce\x05'}, payload={'G': [[0, 9103, 2], [0, 1102, 'stop'], [0, 1103, 48], [0, 2101, 0], [0, 2102, ''], [0, 2103, 0], [0, 2201, 1], [0, 2202, ''], [0, 2203, 0], [0, 4102, 0.0], [0, 4104, 12478], [0, 6103, 'normal'], [0, 3104, 51.33], [0, 6101, 0], [0, 9101, 'roller'], [0, 4108, 239.5]]}
2024-10-07 22:04:50.870 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id 32F565
2024-10-07 22:04:50.870 DEBUG (MainThread) [homeassistant.components.shelly] Shelly og-tia-shutter-re handle update, type: BlockUpdateType.COAP_PERIODIC
2024-10-07 22:04:50.870 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated og-tia-shutter-re data
2024-10-07 22:04:50.870 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:04:50.870 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:04:50.870 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block roller_0
2024-10-07 22:04:50.870 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block device
2024-10-07 22:04:57.542 DEBUG (MainThread) [aioshelly.block_device.coap] Sending request 'cit/s' to device 192.168.178.220
2024-10-07 22:04:57.542 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: block device create, MAC: FCF5C48016D2
2024-10-07 22:04:57.542 DEBUG (MainThread) [aioshelly.block_device.coap] Adding device 8016D2 to CoAP message subscriptions
2024-10-07 22:04:57.542 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: block device initialize
2024-10-07 22:04:57.554 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.220, type=CoapType.REPLY(69), options={11: b's', 3332: b'SHPLG-S#8016D2#1', 3412: b'\x96\x00', 3420: b'\x8f\xfa'}, payload={'G': [[0, 111, 0.0], [0, 112, 1], [0, 113, 27.08], [0, 114, 80.75], [0, 115, 0], [0, 211, 0.0], [0, 212, 0.0], [0, 213, 0.0], [0, 214, 511834]]}
2024-10-07 22:04:57.554 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id 8016D2
2024-10-07 22:04:57.567 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: http request: /settings (params=None)
2024-10-07 22:04:57.754 DEBUG (MainThread) [aioshelly.block_device.device] aiohttp response: {'device': {'type': 'SHPLG-S', 'mac': 'FCF5C48016D2', 'hostname': 'shellyplug-s-8016D2', 'num_outputs': 1, 'num_meters': 1}, 'wifi_ap': {'enabled': False, 'ssid': 'shellyplug-s-8016D2', 'key': ''}, 'wifi_sta': {'enabled': True, 'ssid': 'PigsCanWifly', 'ipv4_method': 'dhcp', 'ip': None, 'gw': None, 'mask': None, 'dns': None}, 'wifi_sta1': {'enabled': False, 'ssid': 'shelly-plug-1', 'ipv4_method': 'dhcp', 'ip': None, 'gw': None, 'mask': None, 'dns': None}, 'mqtt': {'enable': True, 'server': '192.168.178.206:1883', 'user': 'shellyplug-pv', 'id': 'shellyplug-pv', 'reconnect_timeout_max': 60.0, 'reconnect_timeout_min': 2.0, 'clean_session': True, 'keep_alive': 60, 'max_qos': 2, 'retain': False, 'update_period': 30}, 'coiot': {'update_period': 15}, 'sntp': {'server': 'time.google.com', 'enabled': True}, 'login': {'enabled': True, 'unprotected': False, 'username': 'admin'}, 'pin_code': '', 'name': '', 'fw': '20200601-123307/v1.7.0@d7961837', 'discoverable': True, 'build_info': {'build_id': '20200601-123307/v1.7.0@d7961837', 'build_timestamp': '2020-06-01T12:33:07Z', 'build_version': '1.0'}, 'cloud': {'enabled': False, 'connected': False}, 'timezone': 'Europe/Berlin', 'lat': 49.398899, 'lng': 8.528, 'tzautodetect': True, 'tz_utc_offset': 7200, 'tz_dst': True, 'tz_dst_auto': True, 'time': '22:04', 'unixtime': 1728338697, 'hwinfo': {'hw_revision': 'prod-190516', 'batch_id': 1}, 'max_power': 2500, 'led_status_disable': False, 'led_power_disable': False, 'relays': [{'ison': True, 'has_timer': False, 'overpower': False, 'default_state': 'on', 'auto_on': 0.0, 'auto_off': 0.0, 'btn_on_url': None, 'out_on_url': None, 'out_off_url': None, 'schedule': False, 'schedule_rules': ['1900-0123456-on', '2330-0123456-off'], 'max_power': 2500}], 'meters': [{'power': 0.0, 'is_valid': True, 'timestamp': 1728338697, 'counters': [0.0, 0.0, 0.0], 'total': 511834}]}
2024-10-07 22:04:57.754 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: http request: /status (params=None)
2024-10-07 22:04:57.835 DEBUG (MainThread) [aioshelly.block_device.device] aiohttp response: {'wifi_sta': {'connected': True, 'ssid': 'PigsCanWifly', 'ip': '192.168.178.220', 'rssi': -35}, 'cloud': {'enabled': False, 'connected': False}, 'mqtt': {'connected': False}, 'time': '22:04', 'unixtime': 1728338697, 'serial': 1, 'has_update': False, 'mac': 'FCF5C48016D2', 'relays': [{'ison': True, 'has_timer': False, 'timer_started': 0, 'timer_duration': 0, 'timer_remaining': 0, 'overpower': False}], 'meters': [{'power': 0.0, 'is_valid': True, 'timestamp': 1728338697, 'counters': [0.0, 0.0, 0.0], 'total': 511834}], 'temperature': 27.14, 'overtemperature': False, 'tmp': {'tC': 27.14, 'tF': 80.85, 'is_valid': True}, 'update': {'status': 'unknown', 'has_update': False, 'new_version': '', 'old_version': '20200601-123307/v1.7.0@d7961837'}, 'ram_total': 50240, 'ram_free': 38440, 'ram_lwm': 32696, 'fs_size': 233681, 'fs_free': 167166, 'uptime': 803922}
2024-10-07 22:04:57.835 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: block device shutdown
2024-10-07 22:04:57.835 DEBUG (MainThread) [aioshelly.block_device.coap] Sending request 'cit/s' to device 192.168.178.220
2024-10-07 22:04:57.836 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: block device create, MAC: FCF5C48016D2
2024-10-07 22:04:57.836 DEBUG (MainThread) [aioshelly.block_device.coap] Adding device 8016D2 to CoAP message subscriptions
2024-10-07 22:04:57.836 DEBUG (MainThread) [homeassistant.components.shelly] Setting up online block device shellyplug-s-8016D2
2024-10-07 22:04:57.836 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: block device initialize
2024-10-07 22:04:57.849 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.220, type=CoapType.REPLY(69), options={11: b's', 3332: b'SHPLG-S#8016D2#1', 3412: b'\x96\x00', 3420: b'\x90\xfa'}, payload={'G': [[0, 111, 0.0], [0, 112, 1], [0, 113, 27.14], [0, 114, 80.85], [0, 115, 0], [0, 211, 0.0], [0, 212, 0.0], [0, 213, 0.0], [0, 214, 511834]]}
2024-10-07 22:04:57.849 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id 8016D2
2024-10-07 22:04:57.856 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: http request: /settings (params=None)
2024-10-07 22:04:58.015 DEBUG (MainThread) [aioshelly.block_device.device] aiohttp response: {'device': {'type': 'SHPLG-S', 'mac': 'FCF5C48016D2', 'hostname': 'shellyplug-s-8016D2', 'num_outputs': 1, 'num_meters': 1}, 'wifi_ap': {'enabled': False, 'ssid': 'shellyplug-s-8016D2', 'key': ''}, 'wifi_sta': {'enabled': True, 'ssid': 'PigsCanWifly', 'ipv4_method': 'dhcp', 'ip': None, 'gw': None, 'mask': None, 'dns': None}, 'wifi_sta1': {'enabled': False, 'ssid': 'shelly-plug-1', 'ipv4_method': 'dhcp', 'ip': None, 'gw': None, 'mask': None, 'dns': None}, 'mqtt': {'enable': True, 'server': '192.168.178.206:1883', 'user': 'shellyplug-pv', 'id': 'shellyplug-pv', 'reconnect_timeout_max': 60.0, 'reconnect_timeout_min': 2.0, 'clean_session': True, 'keep_alive': 60, 'max_qos': 2, 'retain': False, 'update_period': 30}, 'coiot': {'update_period': 15}, 'sntp': {'server': 'time.google.com', 'enabled': True}, 'login': {'enabled': True, 'unprotected': False, 'username': 'admin'}, 'pin_code': '', 'name': '', 'fw': '20200601-123307/v1.7.0@d7961837', 'discoverable': True, 'build_info': {'build_id': '20200601-123307/v1.7.0@d7961837', 'build_timestamp': '2020-06-01T12:33:07Z', 'build_version': '1.0'}, 'cloud': {'enabled': False, 'connected': False}, 'timezone': 'Europe/Berlin', 'lat': 49.398899, 'lng': 8.528, 'tzautodetect': True, 'tz_utc_offset': 7200, 'tz_dst': True, 'tz_dst_auto': True, 'time': '22:04', 'unixtime': 1728338698, 'hwinfo': {'hw_revision': 'prod-190516', 'batch_id': 1}, 'max_power': 2500, 'led_status_disable': False, 'led_power_disable': False, 'relays': [{'ison': True, 'has_timer': False, 'overpower': False, 'default_state': 'on', 'auto_on': 0.0, 'auto_off': 0.0, 'btn_on_url': None, 'out_on_url': None, 'out_off_url': None, 'schedule': False, 'schedule_rules': ['1900-0123456-on', '2330-0123456-off'], 'max_power': 2500}], 'meters': [{'power': 0.0, 'is_valid': True, 'timestamp': 1728338698, 'counters': [0.0, 0.0, 0.0], 'total': 511834}]}
2024-10-07 22:04:58.016 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: http request: /status (params=None)
2024-10-07 22:04:58.095 DEBUG (MainThread) [aioshelly.block_device.device] aiohttp response: {'wifi_sta': {'connected': True, 'ssid': 'PigsCanWifly', 'ip': '192.168.178.220', 'rssi': -34}, 'cloud': {'enabled': False, 'connected': False}, 'mqtt': {'connected': False}, 'time': '22:04', 'unixtime': 1728338698, 'serial': 1, 'has_update': False, 'mac': 'FCF5C48016D2', 'relays': [{'ison': True, 'has_timer': False, 'timer_started': 0, 'timer_duration': 0, 'timer_remaining': 0, 'overpower': False}], 'meters': [{'power': 0.0, 'is_valid': True, 'timestamp': 1728338698, 'counters': [0.0, 0.0, 0.0], 'total': 511834}], 'temperature': 27.14, 'overtemperature': False, 'tmp': {'tC': 27.14, 'tF': 80.85, 'is_valid': True}, 'update': {'status': 'unknown', 'has_update': False, 'new_version': '', 'old_version': '20200601-123307/v1.7.0@d7961837'}, 'ram_total': 50240, 'ram_free': 38092, 'ram_lwm': 32696, 'fs_size': 233681, 'fs_free': 167166, 'uptime': 803922}
2024-10-07 22:04:58.096 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: block device shutdown
2024-10-07 22:04:58.501 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.116, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHSW-1#485519CA4553#2', 3412: b'\x96\x00', 3420: b'\x9d\x02'}, payload={'G': [[0, 9103, 0], [0, 1101, 0], [0, 2101, 0], [0, 2102, ''], [0, 2103, 0]]}
2024-10-07 22:04:58.501 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id CA4553
2024-10-07 22:04:58.501 DEBUG (MainThread) [homeassistant.components.shelly] Shelly shelly-garagentor handle update, type: BlockUpdateType.COAP_PERIODIC
2024-10-07 22:04:58.501 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shelly-garagentor data
2024-10-07 22:04:58.501 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:04:58.501 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block sensor_0
2024-10-07 22:04:58.501 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block sensor_1
2024-10-07 22:04:58.501 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block sensor_2
2024-10-07 22:04:58.501 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block device
2024-10-07 22:04:58.710 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.60, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHSW-25#4C7525333F25#2', 3412: b'\x96\x00', 3420: b'`\x0b'}, payload={'G': [[0, 9103, 0], [0, 1102, 'stop'], [0, 1103, 42], [0, 2101, 1], [0, 2102, ''], [0, 2103, 0], [0, 2201, 0], [0, 2202, ''], [0, 2203, 0], [0, 4102, 0.0], [0, 4104, 13720], [0, 6103, 'normal'], [0, 3104, 57.06], [0, 6101, 0], [0, 9101, 'roller'], [0, 4108, 240.73]]}
2024-10-07 22:04:58.711 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id 333F25
2024-10-07 22:04:58.711 DEBUG (MainThread) [homeassistant.components.shelly] Shelly og-tia-shutter-garten handle update, type: BlockUpdateType.COAP_PERIODIC
2024-10-07 22:04:58.711 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated og-tia-shutter-garten data
2024-10-07 22:04:58.711 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:04:58.711 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:04:58.711 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block roller_0
2024-10-07 22:04:58.711 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block device
2024-10-07 22:04:59.862 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.98, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHSW-25#4C752532FA78#2', 3412: b'\x96\x00', 3420: b'H\x01'}, payload={'G': [[0, 9103, 3], [0, 1102, 'stop'], [0, 1103, 100], [0, 2101, 0], [0, 2102, ''], [0, 2103, 0], [0, 2201, 0], [0, 2202, ''], [0, 2203, 0], [0, 4102, 0.0], [0, 4104, 4086], [0, 6103, 'normal'], [0, 3104, 57.63], [0, 6101, 0], [0, 9101, 'roller'], [0, 4108, 241.21]]}
2024-10-07 22:04:59.863 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id 32FA78
2024-10-07 22:04:59.863 DEBUG (MainThread) [homeassistant.components.shelly] Shelly shelly25-linus-neckar handle update, type: BlockUpdateType.COAP_PERIODIC
2024-10-07 22:04:59.863 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shelly25-linus-neckar data
2024-10-07 22:04:59.863 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:04:59.863 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:04:59.863 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block roller_0
2024-10-07 22:04:59.863 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block device
2024-10-07 22:05:01.346 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.221, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHDM-1#D0B0A9#2', 3412: b'\x96\x00', 3420: b'\xd3\r'}, payload={'G': [[0, 9103, 1], [0, 1101, 0], [0, 5101, 100], [0, 2101, 0], [0, 2102, ''], [0, 2103, 666], [0, 2201, 0], [0, 2202, ''], [0, 2203, 0], [0, 4101, 0.0], [0, 4103, 725922], [0, 6102, 0], [0, 6109, 0.0], [0, 6104, 0], [0, 3104, 43.08], [0, 3105, 109.54], [0, 6101, 0], [0, 9101, 'white']]}
2024-10-07 22:05:01.346 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id D0B0A9
2024-10-07 22:05:01.346 DEBUG (MainThread) [homeassistant.components.shelly] Shelly shellydimmer-D0B0A9 handle update, type: BlockUpdateType.COAP_PERIODIC
2024-10-07 22:05:01.346 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shellydimmer-D0B0A9 data
2024-10-07 22:05:01.346 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block light_0
2024-10-07 22:05:01.346 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:05:01.346 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:05:01.346 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block device
2024-10-07 22:05:01.912 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.220, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHPLG-S#8016D2#1', 3412: b'\x96\x00', 3420: b'\x90\xfa'}, payload={'G': [[0, 111, 0.0], [0, 112, 1], [0, 113, 27.14], [0, 114, 80.85], [0, 115, 0], [0, 211, 0.0], [0, 212, 0.0], [0, 213, 0.0], [0, 214, 511834]]}
2024-10-07 22:05:01.922 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.132, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHSW-1#485519CA237C#2', 3412: b'\x96\x00', 3420: b'\xa0\x00'}, payload={'G': [[0, 9103, 1], [0, 1101, 0], [0, 2101, 0], [0, 2102, ''], [0, 2103, 0]]}
2024-10-07 22:05:01.922 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id CA237C
2024-10-07 22:05:01.922 DEBUG (MainThread) [homeassistant.components.shelly] Shelly shelly1-stromzahler-garage handle update, type: BlockUpdateType.COAP_PERIODIC
2024-10-07 22:05:01.922 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shelly1-stromzahler-garage data
2024-10-07 22:05:01.922 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:05:01.922 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block sensor_0
2024-10-07 22:05:01.922 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block sensor_1
2024-10-07 22:05:01.922 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block sensor_2
2024-10-07 22:05:01.922 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block device
2024-10-07 22:05:03.549 DEBUG (MainThread) [aioshelly.block_device.coap] Sending request 'cit/s' to device 192.168.178.220
2024-10-07 22:05:03.549 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: block device create, MAC: FCF5C48016D2
2024-10-07 22:05:03.549 DEBUG (MainThread) [aioshelly.block_device.coap] Adding device 8016D2 to CoAP message subscriptions
2024-10-07 22:05:03.549 DEBUG (MainThread) [homeassistant.components.shelly] Setting up online block device shellyplug-s-8016D2
2024-10-07 22:05:03.549 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: block device initialize
2024-10-07 22:05:03.560 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.220, type=CoapType.REPLY(69), options={11: b's', 3332: b'SHPLG-S#8016D2#1', 3412: b'\x96\x00', 3420: b'\x91\xfa'}, payload={'G': [[0, 111, 0.0], [0, 112, 1], [0, 113, 27.02], [0, 114, 80.64], [0, 115, 0], [0, 211, 0.0], [0, 212, 0.0], [0, 213, 0.0], [0, 214, 511834]]}
2024-10-07 22:05:03.560 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id 8016D2
2024-10-07 22:05:03.572 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: http request: /settings (params=None)
2024-10-07 22:05:03.731 DEBUG (MainThread) [aioshelly.block_device.device] aiohttp response: {'device': {'type': 'SHPLG-S', 'mac': 'FCF5C48016D2', 'hostname': 'shellyplug-s-8016D2', 'num_outputs': 1, 'num_meters': 1}, 'wifi_ap': {'enabled': False, 'ssid': 'shellyplug-s-8016D2', 'key': ''}, 'wifi_sta': {'enabled': True, 'ssid': 'PigsCanWifly', 'ipv4_method': 'dhcp', 'ip': None, 'gw': None, 'mask': None, 'dns': None}, 'wifi_sta1': {'enabled': False, 'ssid': 'shelly-plug-1', 'ipv4_method': 'dhcp', 'ip': None, 'gw': None, 'mask': None, 'dns': None}, 'mqtt': {'enable': True, 'server': '192.168.178.206:1883', 'user': 'shellyplug-pv', 'id': 'shellyplug-pv', 'reconnect_timeout_max': 60.0, 'reconnect_timeout_min': 2.0, 'clean_session': True, 'keep_alive': 60, 'max_qos': 2, 'retain': False, 'update_period': 30}, 'coiot': {'update_period': 15}, 'sntp': {'server': 'time.google.com', 'enabled': True}, 'login': {'enabled': True, 'unprotected': False, 'username': 'admin'}, 'pin_code': '', 'name': '', 'fw': '20200601-123307/v1.7.0@d7961837', 'discoverable': True, 'build_info': {'build_id': '20200601-123307/v1.7.0@d7961837', 'build_timestamp': '2020-06-01T12:33:07Z', 'build_version': '1.0'}, 'cloud': {'enabled': False, 'connected': False}, 'timezone': 'Europe/Berlin', 'lat': 49.398899, 'lng': 8.528, 'tzautodetect': True, 'tz_utc_offset': 7200, 'tz_dst': True, 'tz_dst_auto': True, 'time': '22:05', 'unixtime': 1728338703, 'hwinfo': {'hw_revision': 'prod-190516', 'batch_id': 1}, 'max_power': 2500, 'led_status_disable': False, 'led_power_disable': False, 'relays': [{'ison': True, 'has_timer': False, 'overpower': False, 'default_state': 'on', 'auto_on': 0.0, 'auto_off': 0.0, 'btn_on_url': None, 'out_on_url': None, 'out_off_url': None, 'schedule': False, 'schedule_rules': ['1900-0123456-on', '2330-0123456-off'], 'max_power': 2500}], 'meters': [{'power': 0.0, 'is_valid': True, 'timestamp': 1728338703, 'counters': [0.0, 0.0, 0.0], 'total': 511834}]}
2024-10-07 22:05:03.732 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: http request: /status (params=None)
2024-10-07 22:05:03.814 DEBUG (MainThread) [aioshelly.block_device.device] aiohttp response: {'wifi_sta': {'connected': True, 'ssid': 'PigsCanWifly', 'ip': '192.168.178.220', 'rssi': -39}, 'cloud': {'enabled': False, 'connected': False}, 'mqtt': {'connected': False}, 'time': '22:05', 'unixtime': 1728338703, 'serial': 1, 'has_update': False, 'mac': 'FCF5C48016D2', 'relays': [{'ison': True, 'has_timer': False, 'timer_started': 0, 'timer_duration': 0, 'timer_remaining': 0, 'overpower': False}], 'meters': [{'power': 0.0, 'is_valid': True, 'timestamp': 1728338703, 'counters': [0.0, 0.0, 0.0], 'total': 511834}], 'temperature': 27.02, 'overtemperature': False, 'tmp': {'tC': 27.02, 'tF': 80.64, 'is_valid': True}, 'update': {'status': 'unknown', 'has_update': False, 'new_version': '', 'old_version': '20200601-123307/v1.7.0@d7961837'}, 'ram_total': 50240, 'ram_free': 37620, 'ram_lwm': 32696, 'fs_size': 233681, 'fs_free': 167166, 'uptime': 803928}
2024-10-07 22:05:03.814 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: block device shutdown
2024-10-07 22:05:05.870 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.127, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHSW-25#4C752532F565#2', 3412: b'\x96\x00', 3420: b'\xce\x05'}, payload={'G': [[0, 9103, 2], [0, 1102, 'stop'], [0, 1103, 48], [0, 2101, 0], [0, 2102, ''], [0, 2103, 0], [0, 2201, 1], [0, 2202, ''], [0, 2203, 0], [0, 4102, 0.0], [0, 4104, 12478], [0, 6103, 'normal'], [0, 3104, 51.24], [0, 6101, 0], [0, 9101, 'roller'], [0, 4108, 239.5]]}
2024-10-07 22:05:05.870 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id 32F565
2024-10-07 22:05:05.870 DEBUG (MainThread) [homeassistant.components.shelly] Shelly og-tia-shutter-re handle update, type: BlockUpdateType.COAP_PERIODIC
2024-10-07 22:05:05.870 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated og-tia-shutter-re data
2024-10-07 22:05:05.870 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:05:05.870 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:05:05.870 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block roller_0
2024-10-07 22:05:05.870 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block device
2024-10-07 22:05:13.706 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.60, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHSW-25#4C7525333F25#2', 3412: b'\x96\x00', 3420: b'`\x0b'}, payload={'G': [[0, 9103, 0], [0, 1102, 'stop'], [0, 1103, 42], [0, 2101, 1], [0, 2102, ''], [0, 2103, 0], [0, 2201, 0], [0, 2202, ''], [0, 2203, 0], [0, 4102, 0.0], [0, 4104, 13720], [0, 6103, 'normal'], [0, 3104, 57.63], [0, 6101, 0], [0, 9101, 'roller'], [0, 4108, 240.62]]}
2024-10-07 22:05:13.706 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id 333F25
2024-10-07 22:05:13.706 DEBUG (MainThread) [homeassistant.components.shelly] Shelly og-tia-shutter-garten handle update, type: BlockUpdateType.COAP_PERIODIC
2024-10-07 22:05:13.706 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated og-tia-shutter-garten data
2024-10-07 22:05:13.707 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:05:13.707 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:05:13.707 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block roller_0
2024-10-07 22:05:13.707 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block device
2024-10-07 22:05:13.741 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.116, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHSW-1#485519CA4553#2', 3412: b'\x96\x00', 3420: b'\x9d\x02'}, payload={'G': [[0, 9103, 0], [0, 1101, 0], [0, 2101, 0], [0, 2102, ''], [0, 2103, 0]]}
2024-10-07 22:05:13.741 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id CA4553
2024-10-07 22:05:13.741 DEBUG (MainThread) [homeassistant.components.shelly] Shelly shelly-garagentor handle update, type: BlockUpdateType.COAP_PERIODIC
2024-10-07 22:05:13.741 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shelly-garagentor data
2024-10-07 22:05:13.741 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:05:13.741 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block sensor_0
2024-10-07 22:05:13.741 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block sensor_1
2024-10-07 22:05:13.741 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block sensor_2
2024-10-07 22:05:13.741 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block device
2024-10-07 22:05:14.294 DEBUG (MainThread) [aioshelly.block_device.coap] Sending request 'cit/s' to device 192.168.178.220
2024-10-07 22:05:14.294 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: block device create, MAC: FCF5C48016D2
2024-10-07 22:05:14.294 DEBUG (MainThread) [aioshelly.block_device.coap] Adding device 8016D2 to CoAP message subscriptions
2024-10-07 22:05:14.295 DEBUG (MainThread) [homeassistant.components.shelly] Setting up online block device shellyplug-s-8016D2
2024-10-07 22:05:14.295 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: block device initialize
2024-10-07 22:05:14.304 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.220, type=CoapType.REPLY(69), options={11: b's', 3332: b'SHPLG-S#8016D2#1', 3412: b'\x96\x00', 3420: b'\x91\xfa'}, payload={'G': [[0, 111, 0.0], [0, 112, 1], [0, 113, 27.02], [0, 114, 80.64], [0, 115, 0], [0, 211, 0.0], [0, 212, 0.0], [0, 213, 0.0], [0, 214, 511834]]}
2024-10-07 22:05:14.305 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id 8016D2
2024-10-07 22:05:14.318 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: http request: /settings (params=None)
2024-10-07 22:05:14.476 DEBUG (MainThread) [aioshelly.block_device.device] aiohttp response: {'device': {'type': 'SHPLG-S', 'mac': 'FCF5C48016D2', 'hostname': 'shellyplug-s-8016D2', 'num_outputs': 1, 'num_meters': 1}, 'wifi_ap': {'enabled': False, 'ssid': 'shellyplug-s-8016D2', 'key': ''}, 'wifi_sta': {'enabled': True, 'ssid': 'PigsCanWifly', 'ipv4_method': 'dhcp', 'ip': None, 'gw': None, 'mask': None, 'dns': None}, 'wifi_sta1': {'enabled': False, 'ssid': 'shelly-plug-1', 'ipv4_method': 'dhcp', 'ip': None, 'gw': None, 'mask': None, 'dns': None}, 'mqtt': {'enable': True, 'server': '192.168.178.206:1883', 'user': 'shellyplug-pv', 'id': 'shellyplug-pv', 'reconnect_timeout_max': 60.0, 'reconnect_timeout_min': 2.0, 'clean_session': True, 'keep_alive': 60, 'max_qos': 2, 'retain': False, 'update_period': 30}, 'coiot': {'update_period': 15}, 'sntp': {'server': 'time.google.com', 'enabled': True}, 'login': {'enabled': True, 'unprotected': False, 'username': 'admin'}, 'pin_code': '', 'name': '', 'fw': '20200601-123307/v1.7.0@d7961837', 'discoverable': True, 'build_info': {'build_id': '20200601-123307/v1.7.0@d7961837', 'build_timestamp': '2020-06-01T12:33:07Z', 'build_version': '1.0'}, 'cloud': {'enabled': False, 'connected': False}, 'timezone': 'Europe/Berlin', 'lat': 49.398899, 'lng': 8.528, 'tzautodetect': True, 'tz_utc_offset': 7200, 'tz_dst': True, 'tz_dst_auto': True, 'time': '22:05', 'unixtime': 1728338714, 'hwinfo': {'hw_revision': 'prod-190516', 'batch_id': 1}, 'max_power': 2500, 'led_status_disable': False, 'led_power_disable': False, 'relays': [{'ison': True, 'has_timer': False, 'overpower': False, 'default_state': 'on', 'auto_on': 0.0, 'auto_off': 0.0, 'btn_on_url': None, 'out_on_url': None, 'out_off_url': None, 'schedule': False, 'schedule_rules': ['1900-0123456-on', '2330-0123456-off'], 'max_power': 2500}], 'meters': [{'power': 0.0, 'is_valid': True, 'timestamp': 1728338714, 'counters': [0.0, 0.0, 0.0], 'total': 511834}]}
2024-10-07 22:05:14.476 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: http request: /status (params=None)
2024-10-07 22:05:14.555 DEBUG (MainThread) [aioshelly.block_device.device] aiohttp response: {'wifi_sta': {'connected': True, 'ssid': 'PigsCanWifly', 'ip': '192.168.178.220', 'rssi': -35}, 'cloud': {'enabled': False, 'connected': False}, 'mqtt': {'connected': False}, 'time': '22:05', 'unixtime': 1728338714, 'serial': 1, 'has_update': False, 'mac': 'FCF5C48016D2', 'relays': [{'ison': True, 'has_timer': False, 'timer_started': 0, 'timer_duration': 0, 'timer_remaining': 0, 'overpower': False}], 'meters': [{'power': 0.0, 'is_valid': True, 'timestamp': 1728338714, 'counters': [0.0, 0.0, 0.0], 'total': 511834}], 'temperature': 27.02, 'overtemperature': False, 'tmp': {'tC': 27.02, 'tF': 80.64, 'is_valid': True}, 'update': {'status': 'unknown', 'has_update': False, 'new_version': '', 'old_version': '20200601-123307/v1.7.0@d7961837'}, 'ram_total': 50240, 'ram_free': 38596, 'ram_lwm': 32696, 'fs_size': 233681, 'fs_free': 167166, 'uptime': 803939}
2024-10-07 22:05:14.555 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.178.220: block device shutdown
2024-10-07 22:05:14.864 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.98, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHSW-25#4C752532FA78#2', 3412: b'\x96\x00', 3420: b'H\x01'}, payload={'G': [[0, 9103, 3], [0, 1102, 'stop'], [0, 1103, 100], [0, 2101, 0], [0, 2102, ''], [0, 2103, 0], [0, 2201, 0], [0, 2202, ''], [0, 2203, 0], [0, 4102, 0.0], [0, 4104, 4086], [0, 6103, 'normal'], [0, 3104, 57.63], [0, 6101, 0], [0, 9101, 'roller'], [0, 4108, 241.21]]}
2024-10-07 22:05:14.864 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id 32FA78
2024-10-07 22:05:14.864 DEBUG (MainThread) [homeassistant.components.shelly] Shelly shelly25-linus-neckar handle update, type: BlockUpdateType.COAP_PERIODIC
2024-10-07 22:05:14.864 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shelly25-linus-neckar data
2024-10-07 22:05:14.864 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:05:14.865 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:05:14.865 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block roller_0
2024-10-07 22:05:14.865 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block device
2024-10-07 22:05:16.346 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.221, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHDM-1#D0B0A9#2', 3412: b'\x96\x00', 3420: b'\xd3\r'}, payload={'G': [[0, 9103, 1], [0, 1101, 0], [0, 5101, 100], [0, 2101, 0], [0, 2102, ''], [0, 2103, 666], [0, 2201, 0], [0, 2202, ''], [0, 2203, 0], [0, 4101, 0.0], [0, 4103, 725922], [0, 6102, 0], [0, 6109, 0.0], [0, 6104, 0], [0, 3104, 42.86], [0, 3105, 109.14], [0, 6101, 0], [0, 9101, 'white']]}
2024-10-07 22:05:16.346 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id D0B0A9
2024-10-07 22:05:16.346 DEBUG (MainThread) [homeassistant.components.shelly] Shelly shellydimmer-D0B0A9 handle update, type: BlockUpdateType.COAP_PERIODIC
2024-10-07 22:05:16.346 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shellydimmer-D0B0A9 data
2024-10-07 22:05:16.346 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block light_0
2024-10-07 22:05:16.346 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:05:16.347 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:05:16.347 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block device
2024-10-07 22:05:16.914 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.220, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHPLG-S#8016D2#1', 3412: b'\x96\x00', 3420: b'\x91\xfa'}, payload={'G': [[0, 111, 0.0], [0, 112, 1], [0, 113, 27.02], [0, 114, 80.64], [0, 115, 0], [0, 211, 0.0], [0, 212, 0.0], [0, 213, 0.0], [0, 214, 511834]]}
2024-10-07 22:05:17.171 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.132, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHSW-1#485519CA237C#2', 3412: b'\x96\x00', 3420: b'\xa0\x00'}, payload={'G': [[0, 9103, 1], [0, 1101, 0], [0, 2101, 0], [0, 2102, ''], [0, 2103, 0]]}
2024-10-07 22:05:17.171 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id CA237C
2024-10-07 22:05:17.171 DEBUG (MainThread) [homeassistant.components.shelly] Shelly shelly1-stromzahler-garage handle update, type: BlockUpdateType.COAP_PERIODIC
2024-10-07 22:05:17.171 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shelly1-stromzahler-garage data
2024-10-07 22:05:17.171 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:05:17.171 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block sensor_0
2024-10-07 22:05:17.171 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block sensor_1
2024-10-07 22:05:17.171 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block sensor_2
2024-10-07 22:05:17.171 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block device
2024-10-07 22:05:20.869 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.178.127, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHSW-25#4C752532F565#2', 3412: b'\x96\x00', 3420: b'\xce\x05'}, payload={'G': [[0, 9103, 2], [0, 1102, 'stop'], [0, 1103, 48], [0, 2101, 0], [0, 2102, ''], [0, 2103, 0], [0, 2201, 1], [0, 2202, ''], [0, 2203, 0], [0, 4102, 0.0], [0, 4104, 12478], [0, 6103, 'normal'], [0, 3104, 50.86], [0, 6101, 0], [0, 9101, 'roller'], [0, 4108, 239.5]]}
2024-10-07 22:05:20.869 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id 32F565
2024-10-07 22:05:20.869 DEBUG (MainThread) [homeassistant.components.shelly] Shelly og-tia-shutter-re handle update, type: BlockUpdateType.COAP_PERIODIC
2024-10-07 22:05:20.869 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated og-tia-shutter-re data
2024-10-07 22:05:20.869 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:05:20.869 DEBUG (MainThread) [homeassistant.components.shelly] Skipping block event 
2024-10-07 22:05:20.869 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block roller_0
2024-10-07 22:05:20.869 DEBUG (MainThread) [homeassistant.components.shelly] Skipping non-input event block device

Example YAML snippet

No response

Anything in the logs that might be useful for us?

After activating the shelly integration debug log, this is the output - the device in question is "shellyplug-s-8016D2" (ip: http://192.168.178.220/). I left the log intact with other shelly devices in case this helps.

Additional information

I have no knowledge, when the plug worked with the shelly integration, but I know that I did incorporate it into homeassistant somehow. However, this might have been through mqtt.

home-assistant[bot] commented 1 week ago

Hey there @balloob, @bieniu, @thecode, @chemelli74, @bdraco, mind taking a look at this issue as it has been labeled with an integration (shelly) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `shelly` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign shelly` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


shelly documentation shelly source (message by IssueLinks)

bieniu commented 1 week ago

The minimum supported firmware version for Shelly Plug S is 1.9.0 (20201124). You need to update your device.

LarsKumbier commented 1 week ago

grafik

there is no update available. If this device is too old for the integration, it would be great to have a check and informative message for endusers about that in home assistant

chemelli74 commented 1 week ago

image

LarsKumbier commented 1 week ago

I don't know how to get the hardware revision out of the plug - could you give me a hint on how to see that information? From the invoice I know that I bought the plug in 05/2020.

bieniu commented 1 week ago

If the device does not offer an update, you probably need to check your gateway, DNS, or NTP server settings. Another good way to update is to connect the device to a mobile hotspot.

LarsKumbier commented 1 week ago

For whatever reason, my shellyplug was stuck on the old firmware and would not find a new firmware on its own - there were no network issues or similar problems. Here's the steps to update anyway, should anyone stumble over this issue with any shelly cloud device.

For reference, you can check out the shelly API manual.

1. Check for a newer firmware available via ota

A status of unknown should never happen.

$ curl http://<shelly-ip>/ota/check
{"status":"unknown","has_update":false,"new_version":"","old_version":"20200601-123307/v1.7.0@d7961837"}%

2. Generate firmware address

Head over to http://archive.shelly-tools.de/ - it will create a link in the form of http://<shelly-ip>/ota?url=http://archive.shelly-tools.de/version/v1.14.0/SHPLG-S.zip

3. Perform update

$ curl 'http://<shelly-ip>/ota?url=http://archive.shelly-tools.de/version/v1.14.0/SHPLG-S.zip'
{"status":"updating","has_update":false,"new_version":"","old_version":"20200601-123307/v1.7.0@d7961837"}

4. Check for successful update

$ curl http://<shelly-ip>/ota
{"status":"idle","has_update":false,"new_version":"20230913-113421/v1.14.0-gcb84623","old_version":"20230913-113421/v1.14.0-gcb84623","beta_version":"20231107-164219/v1.14.1-rc1-g0617c15"}% 

This way, you can make the devices compatible with Home-Assistant again.

LarsKumbier commented 1 week ago

@bieniu Thank you for your help. What do you think of the suggestion of checking for the minimal supported version of the shelly device during the initialization phase? It should be a simple check against the firmware status, which can be acquired with one api call:

This would make it easier for non-technical users to get around this problem and would future-proof the implementation. Although I have to admit that this might be a fringe problem not happening often enough to warrant this.

What do you think?

bieniu commented 1 week ago

When you tried to configure the device you did not see the repair issue in Settings with the content Unsupported firmware for device XXXX?

LarsKumbier commented 1 week ago

No, the error message was "Einrichtung fehlgeschlagen, wird erneut versucht: None" (rough english translation: "setup failed, will try again: None". I can't find the correct translation string in this github repo or organization, but the untranslated "None" at the end seems to indicate something completely different than the "unsupported firmware" you've suggested.

The error message also just occured on the addons-page on the top. I could downgrade to an unsupported version again tomorrow, if it helps with the debugging?

thecode commented 1 week ago

No, the error message was "Einrichtung fehlgeschlagen, wird erneut versucht: None" (rough english translation: "setup failed, will try again: None". I can't find the correct translation string in this github repo or organization, but the untranslated "None" at the end seems to indicate something completely different than the "unsupported firmware" you've suggested.

The repair issue will be created together with showing this error.

The error message also just occured on the addons-page on the top. I could downgrade to an unsupported version again tomorrow, if it helps with the debugging?

Would be good to know if the issue was created so we understand if there is something difference in your case, if not I will try to downgrade a device over the weekend and see if I can reproduce this.

bieniu commented 1 week ago

I downgraded one of my devices and the repair issue occurs when I try to configure the device.

image

LarsKumbier commented 1 week ago

Here's how it looks like for me in the shelly integration settings:

2024-10-09_11-51 2024-10-09_11-51_1 2024-10-09_11-54

So, the message shows up for me too under "repair". However, it never registered for me, since I always check the integration first. I'd suggest to have the much more informative repair-error-message in there as well. What do you think?

bieniu commented 1 week ago

So the integration works as intended. IMO the message is quite clear. I don't know what more you would like to see here.

LarsKumbier commented 1 week ago

Having a better error-message in the shelly-integration section (instead of the non-sensical "Failed setup, will retry: None", I'd like to get exactly the message that the Repair-Section presents).

From a user-perspective, I've just done an action on the shelly-integration page, the message says "Success!", but the integration page says something about a failed setup, which does not help me in any way. I'd have to stumble upon the much more helpful repair-section in a completely different part of the interface.

A better UX would be to