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

Can't load backup zigbee network onto ZME_ZSTATION_ZW_ZB: ValueError: Data is too short #116320

Closed
shelvacu opened this issue Apr 28, 2024 · 1 comment · Fixed by #116509
Closed

Comments

@shelvacu
Copy link

The problem

I am trying to setup (the zigbee portion of) a z-station and migrate my old zigbee network to it. Previously I was using a SONOFF coordinator. When I get to the "restore from automatic backup" stage, it does some things for awhile and then says "an unknown error occured" and the logs say ValueError: Data is too short

"Download diagnostic data" does not appear to be available when zha is unconfigured

What version of Home Assistant Core has the issue?

core-2024.4.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Core

Integration causing the issue

zha

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Apr 27 16:54:32 habitat hass[1332]: 2024-04-27 16:54:32.633 DEBUG (MainThread) [zigpy.serial] Opening a serial connection to '/dev/ttyUSB1' (115200 baudrate)
Apr 27 16:54:32 habitat hass[1332]: 2024-04-27 16:54:32.643 DEBUG (MainThread) [bellows.ezsp] Resetting EZSP
Apr 27 16:54:33 habitat hass[1332]: 2024-04-27 16:54:33.783 DEBUG (MainThread) [bellows.ezsp] Switching to EZSP protocol version 4
Apr 27 16:54:33 habitat hass[1332]: 2024-04-27 16:54:33.784 DEBUG (MainThread) [bellows.ezsp.protocol] Send command version: (4,)
Apr 27 16:54:35 habitat hass[1332]: 2024-04-27 16:54:35.193 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received version: [12, 2, 29456]
Apr 27 16:54:35 habitat hass[1332]: 2024-04-27 16:54:35.195 DEBUG (MainThread) [bellows.ezsp] Switching to EZSP protocol version 12
Apr 27 16:54:35 habitat hass[1332]: 2024-04-27 16:54:35.197 DEBUG (MainThread) [bellows.ezsp.protocol] Send command version: (12,)
Apr 27 16:54:37 habitat hass[1332]: 2024-04-27 16:54:37.665 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received version: [12, 2, 29456]
Apr 27 16:54:37 habitat hass[1332]: 2024-04-27 16:54:37.667 DEBUG (MainThread) [bellows.ezsp] EZSP Stack Type: 2, Stack Version: 7310, Protocol version: 12
Apr 27 16:54:37 habitat hass[1332]: 2024-04-27 16:54:37.670 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getValue: (<EzspValueId.VALUE_FORCE_TX_AFTER_FAILED_CCA_ATTEMPTS: 58>,)
Apr 27 16:54:40 habitat hass[1332]: 2024-04-27 16:54:40.483 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received getValue: [<EzspStatus.ERROR_INVALID_ID: 55>, b'']
Apr 27 16:54:40 habitat hass[1332]: 2024-04-27 16:54:40.484 DEBUG (MainThread) [bellows.ezsp] Setting value VALUE_FORCE_TX_AFTER_FAILED_CCA_ATTEMPTS = 1 (old value None)
Apr 27 16:54:40 habitat hass[1332]: 2024-04-27 16:54:40.485 DEBUG (MainThread) [bellows.ezsp.protocol] Send command setValue: (<EzspValueId.VALUE_FORCE_TX_AFTER_FAILED_CCA_ATTEMPTS: 58>, b'\x01')
Apr 27 16:54:43 habitat hass[1332]: 2024-04-27 16:54:43.297 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received setValue: [<EzspStatus.SUCCESS: 0>]
Apr 27 16:54:43 habitat hass[1332]: 2024-04-27 16:54:43.299 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getConfigurationValue: (<EzspConfigId.CONFIG_SOURCE_ROUTE_TABLE_SIZE: 26>,)
Apr 27 16:54:46 habitat hass[1332]: 2024-04-27 16:54:46.111 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received getConfigurationValue: [<EzspStatus.SUCCESS: 0>, 255]
Apr 27 16:54:46 habitat hass[1332]: 2024-04-27 16:54:46.113 DEBUG (MainThread) [bellows.ezsp] Current config CONFIG_SOURCE_ROUTE_TABLE_SIZE = 255 exceeds the default of 200, skipping
Apr 27 16:54:46 habitat hass[1332]: 2024-04-27 16:54:46.114 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getConfigurationValue: (<EzspConfigId.CONFIG_END_DEVICE_POLL_TIMEOUT: 19>,)
Apr 27 16:54:48 habitat hass[1332]: 2024-04-27 16:54:48.894 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sun.sun, old_state=<state sun.sun=above_horizon; next_dawn=2024-04-28T12:18:51.848716+00:00, next_dusk=2024-04-28T03:53:51.685154+00:00, next_midnight=2024-04-28T08:06:35+00:00, next_noon=2024-04-28T20:06:42+00:00, next_rising=2024-04-28T12:53:37.066646+00:00, next_setting=2024-04-28T03:19:04.397656+00:00, elevation=33.15, azimuth=253.69, rising=False, friendly_name=Sun @ 2024-04-27T16:50:48.889816-07:00>, new_state=<state sun.sun=above_horizon; next_dawn=2024-04-28T12:18:51.848716+00:00, next_dusk=2024-04-28T03:53:51.685154+00:00, next_midnight=2024-04-28T08:06:35+00:00, next_noon=2024-04-28T20:06:42+00:00, next_rising=2024-04-28T12:53:37.066646+00:00, next_setting=2024-04-28T03:19:04.397656+00:00, elevation=32.51, azimuth=254.55, rising=False, friendly_name=Sun @ 2024-04-27T16:50:48.889816-07:00>>
Apr 27 16:54:48 habitat hass[1332]: 2024-04-27 16:54:48.926 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received getConfigurationValue: [<EzspStatus.SUCCESS: 0>, 8]
Apr 27 16:54:48 habitat hass[1332]: 2024-04-27 16:54:48.928 DEBUG (MainThread) [bellows.ezsp] Setting config CONFIG_END_DEVICE_POLL_TIMEOUT = 8 (old value 8)
Apr 27 16:54:48 habitat hass[1332]: 2024-04-27 16:54:48.929 DEBUG (MainThread) [bellows.ezsp.protocol] Send command setConfigurationValue: (<EzspConfigId.CONFIG_END_DEVICE_POLL_TIMEOUT: 19>, 8)
Apr 27 16:54:51 habitat hass[1332]: 2024-04-27 16:54:51.743 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received setConfigurationValue: [<EzspStatus.SUCCESS: 0>]
Apr 27 16:54:51 habitat hass[1332]: 2024-04-27 16:54:51.745 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getConfigurationValue: (<EzspConfigId.CONFIG_TC_REJOINS_USING_WELL_KNOWN_KEY_TIMEOUT_S: 56>,)
Apr 27 16:54:54 habitat hass[1332]: 2024-04-27 16:54:54.558 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received getConfigurationValue: [<EzspStatus.SUCCESS: 0>, 300]
Apr 27 16:54:54 habitat hass[1332]: 2024-04-27 16:54:54.560 DEBUG (MainThread) [bellows.ezsp] Setting config CONFIG_TC_REJOINS_USING_WELL_KNOWN_KEY_TIMEOUT_S = 90 (old value 300)
Apr 27 16:54:54 habitat hass[1332]: 2024-04-27 16:54:54.561 DEBUG (MainThread) [bellows.ezsp.protocol] Send command setConfigurationValue: (<EzspConfigId.CONFIG_TC_REJOINS_USING_WELL_KNOWN_KEY_TIMEOUT_S: 56>, 90)
Apr 27 16:54:57 habitat hass[1332]: 2024-04-27 16:54:57.375 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received setConfigurationValue: [<EzspStatus.SUCCESS: 0>]
Apr 27 16:54:57 habitat hass[1332]: 2024-04-27 16:54:57.378 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getConfigurationValue: (<EzspConfigId.CONFIG_INDIRECT_TRANSMISSION_TIMEOUT: 18>,)
Apr 27 16:55:00 habitat hass[1332]: 2024-04-27 16:55:00.190 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received getConfigurationValue: [<EzspStatus.SUCCESS: 0>, 3000]
Apr 27 16:55:00 habitat hass[1332]: 2024-04-27 16:55:00.192 DEBUG (MainThread) [bellows.ezsp] Setting config CONFIG_INDIRECT_TRANSMISSION_TIMEOUT = 7680 (old value 3000)
Apr 27 16:55:00 habitat hass[1332]: 2024-04-27 16:55:00.193 DEBUG (MainThread) [bellows.ezsp.protocol] Send command setConfigurationValue: (<EzspConfigId.CONFIG_INDIRECT_TRANSMISSION_TIMEOUT: 18>, 7680)
Apr 27 16:55:03 habitat hass[1332]: 2024-04-27 16:55:03.006 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received setConfigurationValue: [<EzspStatus.SUCCESS: 0>]
Apr 27 16:55:03 habitat hass[1332]: 2024-04-27 16:55:03.008 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getConfigurationValue: (<EzspConfigId.CONFIG_STACK_PROFILE: 12>,)
Apr 27 16:55:05 habitat hass[1332]: 2024-04-27 16:55:05.820 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received getConfigurationValue: [<EzspStatus.SUCCESS: 0>, 0]
Apr 27 16:55:05 habitat hass[1332]: 2024-04-27 16:55:05.822 DEBUG (MainThread) [bellows.ezsp] Setting config CONFIG_STACK_PROFILE = 2 (old value 0)
Apr 27 16:55:05 habitat hass[1332]: 2024-04-27 16:55:05.823 DEBUG (MainThread) [bellows.ezsp.protocol] Send command setConfigurationValue: (<EzspConfigId.CONFIG_STACK_PROFILE: 12>, 2)
Apr 27 16:55:08 habitat hass[1332]: 2024-04-27 16:55:08.636 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received setConfigurationValue: [<EzspStatus.SUCCESS: 0>]
Apr 27 16:55:08 habitat hass[1332]: 2024-04-27 16:55:08.638 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getConfigurationValue: (<EzspConfigId.CONFIG_SUPPORTED_NETWORKS: 45>,)
Apr 27 16:55:10 habitat hass[1332]: 2024-04-27 16:55:10.529 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event recorder_5min_statistics_generated[L]>
Apr 27 16:55:11 habitat hass[1332]: 2024-04-27 16:55:11.450 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received getConfigurationValue: [<EzspStatus.SUCCESS: 0>, 1]
Apr 27 16:55:11 habitat hass[1332]: 2024-04-27 16:55:11.452 DEBUG (MainThread) [bellows.ezsp] Current config CONFIG_SUPPORTED_NETWORKS = 1 exceeds the default of 1, skipping
Apr 27 16:55:11 habitat hass[1332]: 2024-04-27 16:55:11.453 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getConfigurationValue: (<EzspConfigId.CONFIG_MULTICAST_TABLE_SIZE: 6>,)
Apr 27 16:55:14 habitat hass[1332]: 2024-04-27 16:55:14.266 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received getConfigurationValue: [<EzspStatus.SUCCESS: 0>, 64]
Apr 27 16:55:14 habitat hass[1332]: 2024-04-27 16:55:14.269 DEBUG (MainThread) [bellows.ezsp] Current config CONFIG_MULTICAST_TABLE_SIZE = 64 exceeds the default of 16, skipping
Apr 27 16:55:14 habitat hass[1332]: 2024-04-27 16:55:14.270 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getConfigurationValue: (<EzspConfigId.CONFIG_TRUST_CENTER_ADDRESS_CACHE_SIZE: 25>,)
Apr 27 16:55:17 habitat hass[1332]: 2024-04-27 16:55:17.083 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received getConfigurationValue: [<EzspStatus.SUCCESS: 0>, 0]
Apr 27 16:55:17 habitat hass[1332]: 2024-04-27 16:55:17.085 DEBUG (MainThread) [bellows.ezsp] Setting config CONFIG_TRUST_CENTER_ADDRESS_CACHE_SIZE = 2 (old value 0)
Apr 27 16:55:17 habitat hass[1332]: 2024-04-27 16:55:17.086 DEBUG (MainThread) [bellows.ezsp.protocol] Send command setConfigurationValue: (<EzspConfigId.CONFIG_TRUST_CENTER_ADDRESS_CACHE_SIZE: 25>, 2)
Apr 27 16:55:19 habitat hass[1332]: 2024-04-27 16:55:19.901 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received setConfigurationValue: [<EzspStatus.SUCCESS: 0>]
Apr 27 16:55:19 habitat hass[1332]: 2024-04-27 16:55:19.903 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getConfigurationValue: (<EzspConfigId.CONFIG_SECURITY_LEVEL: 13>,)
Apr 27 16:55:22 habitat hass[1332]: 2024-04-27 16:55:22.717 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received getConfigurationValue: [<EzspStatus.SUCCESS: 0>, 5]
Apr 27 16:55:22 habitat hass[1332]: 2024-04-27 16:55:22.719 DEBUG (MainThread) [bellows.ezsp] Setting config CONFIG_SECURITY_LEVEL = 5 (old value 5)
Apr 27 16:55:22 habitat hass[1332]: 2024-04-27 16:55:22.720 DEBUG (MainThread) [bellows.ezsp.protocol] Send command setConfigurationValue: (<EzspConfigId.CONFIG_SECURITY_LEVEL: 13>, 5)
Apr 27 16:55:25 habitat hass[1332]: 2024-04-27 16:55:25.533 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received setConfigurationValue: [<EzspStatus.SUCCESS: 0>]
Apr 27 16:55:25 habitat hass[1332]: 2024-04-27 16:55:25.535 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getConfigurationValue: (<EzspConfigId.CONFIG_ADDRESS_TABLE_SIZE: 5>,)
Apr 27 16:55:28 habitat hass[1332]: 2024-04-27 16:55:28.348 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received getConfigurationValue: [<EzspStatus.SUCCESS: 0>, 64]
Apr 27 16:55:28 habitat hass[1332]: 2024-04-27 16:55:28.350 DEBUG (MainThread) [bellows.ezsp] Current config CONFIG_ADDRESS_TABLE_SIZE = 64 exceeds the default of 16, skipping
Apr 27 16:55:28 habitat hass[1332]: 2024-04-27 16:55:28.350 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getConfigurationValue: (<EzspConfigId.CONFIG_PAN_ID_CONFLICT_REPORT_THRESHOLD: 34>,)
Apr 27 16:55:31 habitat hass[1332]: 2024-04-27 16:55:31.164 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received getConfigurationValue: [<EzspStatus.SUCCESS: 0>, 2]
Apr 27 16:55:31 habitat hass[1332]: 2024-04-27 16:55:31.166 DEBUG (MainThread) [bellows.ezsp] Setting config CONFIG_PAN_ID_CONFLICT_REPORT_THRESHOLD = 2 (old value 2)
Apr 27 16:55:31 habitat hass[1332]: 2024-04-27 16:55:31.167 DEBUG (MainThread) [bellows.ezsp.protocol] Send command setConfigurationValue: (<EzspConfigId.CONFIG_PAN_ID_CONFLICT_REPORT_THRESHOLD: 34>, 2)
Apr 27 16:55:33 habitat hass[1332]: 2024-04-27 16:55:33.981 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received setConfigurationValue: [<EzspStatus.SUCCESS: 0>]
Apr 27 16:55:33 habitat hass[1332]: 2024-04-27 16:55:33.983 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getConfigurationValue: (<EzspConfigId.CONFIG_KEY_TABLE_SIZE: 30>,)
Apr 27 16:55:36 habitat hass[1332]: 2024-04-27 16:55:36.796 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received getConfigurationValue: [<EzspStatus.SUCCESS: 0>, 12]
Apr 27 16:55:36 habitat hass[1332]: 2024-04-27 16:55:36.798 DEBUG (MainThread) [bellows.ezsp] Current config CONFIG_KEY_TABLE_SIZE = 12 exceeds the default of 4, skipping
Apr 27 16:55:36 habitat hass[1332]: 2024-04-27 16:55:36.799 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getConfigurationValue: (<EzspConfigId.CONFIG_MAX_END_DEVICE_CHILDREN: 17>,)
Apr 27 16:55:39 habitat hass[1332]: 2024-04-27 16:55:39.612 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received getConfigurationValue: [<EzspStatus.SUCCESS: 0>, 64]
Apr 27 16:55:39 habitat hass[1332]: 2024-04-27 16:55:39.613 DEBUG (MainThread) [bellows.ezsp] Current config CONFIG_MAX_END_DEVICE_CHILDREN = 64 exceeds the default of 32, skipping
Apr 27 16:55:39 habitat hass[1332]: 2024-04-27 16:55:39.614 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getConfigurationValue: (<EzspConfigId.CONFIG_APPLICATION_ZDO_FLAGS: 42>,)
Apr 27 16:55:42 habitat hass[1332]: 2024-04-27 16:55:42.427 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received getConfigurationValue: [<EzspStatus.SUCCESS: 0>, 0]
Apr 27 16:55:42 habitat hass[1332]: 2024-04-27 16:55:42.429 DEBUG (MainThread) [bellows.ezsp] Setting config CONFIG_APPLICATION_ZDO_FLAGS = 3 (old value 0)
Apr 27 16:55:42 habitat hass[1332]: 2024-04-27 16:55:42.430 DEBUG (MainThread) [bellows.ezsp.protocol] Send command setConfigurationValue: (<EzspConfigId.CONFIG_APPLICATION_ZDO_FLAGS: 42>, <EmberZdoConfigurationFlags.APP_RECEIVES_SUPPORTED_ZDO_REQUESTS|APP_HANDLES_UNSUPPORTED_ZDO_REQUESTS: 3>)
Apr 27 16:55:45 habitat hass[1332]: 2024-04-27 16:55:45.242 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received setConfigurationValue: [<EzspStatus.SUCCESS: 0>]
Apr 27 16:55:45 habitat hass[1332]: 2024-04-27 16:55:45.245 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getConfigurationValue: (<EzspConfigId.CONFIG_PACKET_BUFFER_COUNT: 1>,)
Apr 27 16:55:48 habitat hass[1332]: 2024-04-27 16:55:48.057 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received getConfigurationValue: [<EzspStatus.SUCCESS: 0>, 255]
Apr 27 16:55:48 habitat hass[1332]: 2024-04-27 16:55:48.059 DEBUG (MainThread) [bellows.ezsp] Setting config CONFIG_PACKET_BUFFER_COUNT = 255 (old value 255)
Apr 27 16:55:48 habitat hass[1332]: 2024-04-27 16:55:48.060 DEBUG (MainThread) [bellows.ezsp.protocol] Send command setConfigurationValue: (<EzspConfigId.CONFIG_PACKET_BUFFER_COUNT: 1>, 255)
Apr 27 16:55:50 habitat hass[1332]: 2024-04-27 16:55:50.873 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received setConfigurationValue: [<EzspStatus.ERROR_INVALID_ID: 55>]
Apr 27 16:55:50 habitat hass[1332]: 2024-04-27 16:55:50.875 DEBUG (MainThread) [bellows.ezsp] Could not set config EzspConfigId.CONFIG_PACKET_BUFFER_COUNT = 255: EzspStatus.ERROR_INVALID_ID
Apr 27 16:55:50 habitat hass[1332]: 2024-04-27 16:55:50.877 DEBUG (MainThread) [bellows.ezsp.protocol] Send command addEndpoint: (1, 260, <DeviceType.IAS_CONTROL: 1024>, 0, 5, 4, [0, 6, 10, 25, 1281], [1, 32, 1280, 1282])
Apr 27 16:55:53 habitat hass[1332]: 2024-04-27 16:55:53.694 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received addEndpoint: [<EzspStatus.SUCCESS: 0>]
Apr 27 16:55:53 habitat hass[1332]: 2024-04-27 16:55:53.697 DEBUG (MainThread) [bellows.ezsp.protocol] Send command addEndpoint: (2, 49246, <DeviceType.CONTROLLER: 2080>, 0, 1, 0, [0], [])
Apr 27 16:55:56 habitat hass[1332]: 2024-04-27 16:55:56.512 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received addEndpoint: [<EzspStatus.SUCCESS: 0>]
Apr 27 16:55:56 habitat hass[1332]: 2024-04-27 16:55:56.515 DEBUG (MainThread) [zigpy.backups] Restoring backup NetworkBackup(version=1, backup_time=datetime.datetime(2024, 4, 27, 22, 2, 31, 91297, tzinfo=datetime.timezone.utc), network_info=NetworkInfo(extended_pan_id=d9:47:ee:90:ee:b0:08:96, pan_id=0x428C, nwk_update_id=0, nwk_manager_id=0x0000, channel=20, channel_mask=<Channels.CHANNEL_20: 1048576>, security_level=5, network_key=Key(key=88:2f:31:8f:4b:86:cd:88:6c:c6:d1:e4:ad:55:cb:37, tx_counter=307473, rx_counter=0, seq=0, partner_ieee=00:12:4b:00:26:b7:38:1a), tc_link_key=Key(key=5a:69:67:42:65:65:41:6c:6c:69:61:6e:63:65:30:39, tx_counter=0, rx_counter=0, seq=0, partner_ieee=00:12:4b:00:26:b7:38:1a), key_table=[], children=[], nwk_addresses={}, stack_specific={'zstack': {'tclk_seed': '0d2152ad512427804f052f40804f308f'}}, metadata={'zstack': {'TransportRev': 2, 'ProductId': 1, 'MajorRel': 2, 'MinorRel': 7, 'MaintRel': 1, 'CodeRevision': 20210708, 'BootloaderBuildType': 0, 'BootloaderRevision': None}}, source='zigpy-znp@0.12.1'), node_info=NodeInfo(nwk=0x0000, ieee=00:12:4b:00:26:b7:38:1a, logical_type=<LogicalType.Coordinator: 0>, model='CC2652', manufacturer='Texas Instruments', version='Z-Stack 20210708'))
Apr 27 16:55:56 habitat hass[1332]: 2024-04-27 16:55:56.518 DEBUG (MainThread) [bellows.ezsp.protocol] Send command networkState: ()
Apr 27 16:55:59 habitat hass[1332]: 2024-04-27 16:55:59.331 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received networkState: [<EmberNetworkStatus.NO_NETWORK: 0>]
Apr 27 16:55:59 habitat hass[1332]: 2024-04-27 16:55:59.333 DEBUG (MainThread) [bellows.ezsp.protocol] Send command networkInit: (0,)
Apr 27 16:56:02 habitat hass[1332]: 2024-04-27 16:56:02.147 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received networkInit: [<EmberStatus.NOT_JOINED: 147>]
Apr 27 16:56:02 habitat hass[1332]: 2024-04-27 16:56:02.149 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getEui64: ()
Apr 27 16:56:04 habitat hass[1332]: 2024-04-27 16:56:04.963 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received getEui64: [bb:c2:94:34:69:ff:fe:16]
Apr 27 16:56:04 habitat hass[1332]: 2024-04-27 16:56:04.965 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getTokenData: (<NV3KeyId.CREATOR_STACK_RESTORED_EUI64: 57642>, 0)
Apr 27 16:56:07 habitat hass[1332]: 2024-04-27 16:56:07.781 WARNING (MainThread) [bellows.ezsp.protocol] Failed to parse frame getTokenData: b'b5'
Apr 27 16:56:07 habitat hass[1332]: 2024-04-27 16:56:07.784 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback SerialTransport._read_ready()
Apr 27 16:56:07 habitat hass[1332]: Traceback (most recent call last):
Apr 27 16:56:07 habitat hass[1332]:   File "/nix/store/m51f0kclg01xdc0mjxqs5cpyaxqbqhg5-python3-3.12.3/lib/python3.12/asyncio/events.py", line 88, in _run
Apr 27 16:56:07 habitat hass[1332]:     self._context.run(self._callback, *self._args)
Apr 27 16:56:07 habitat hass[1332]:   File "/nix/store/9wfs36jbw7hzksdibffjz1h50751xzw6-python3.12-pyserial-asyncio-fast-0.11/lib/python3.12/site-packages/serial_asyncio_fast/__init__.py", line 137, in _read_ready
Apr 27 16:56:07 habitat hass[1332]:     self._protocol.data_received(data)
Apr 27 16:56:07 habitat hass[1332]:   File "/nix/store/qrs3qnmzzjj15flhi2mpjy0jccsnvdc0-python3.12-bellows-0.38.1/lib/python3.12/site-packages/bellows/uart.py", line 84, in data_received
Apr 27 16:56:07 habitat hass[1332]:     self.frame_received(frame)
Apr 27 16:56:07 habitat hass[1332]:   File "/nix/store/qrs3qnmzzjj15flhi2mpjy0jccsnvdc0-python3.12-bellows-0.38.1/lib/python3.12/site-packages/bellows/uart.py", line 111, in frame_received
Apr 27 16:56:07 habitat hass[1332]:     self.data_frame_received(data)
Apr 27 16:56:07 habitat hass[1332]:   File "/nix/store/qrs3qnmzzjj15flhi2mpjy0jccsnvdc0-python3.12-bellows-0.38.1/lib/python3.12/site-packages/bellows/uart.py", line 136, in data_frame_received
Apr 27 16:56:07 habitat hass[1332]:     self._application.frame_received(self._randomize(data[1:-3]))
Apr 27 16:56:07 habitat hass[1332]:   File "/nix/store/qrs3qnmzzjj15flhi2mpjy0jccsnvdc0-python3.12-bellows-0.38.1/lib/python3.12/site-packages/bellows/ezsp/__init__.py", line 330, in frame_received
Apr 27 16:56:07 habitat hass[1332]:     self._protocol(data)
Apr 27 16:56:07 habitat hass[1332]:   File "/nix/store/qrs3qnmzzjj15flhi2mpjy0jccsnvdc0-python3.12-bellows-0.38.1/lib/python3.12/site-packages/bellows/ezsp/protocol.py", line 103, in __call__
Apr 27 16:56:07 habitat hass[1332]:     result, data = self.types.deserialize(data, schema)
Apr 27 16:56:07 habitat hass[1332]:                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Apr 27 16:56:07 habitat hass[1332]:   File "/nix/store/qrs3qnmzzjj15flhi2mpjy0jccsnvdc0-python3.12-bellows-0.38.1/lib/python3.12/site-packages/bellows/types/__init__.py", line 9, in deserialize
Apr 27 16:56:07 habitat hass[1332]:     value, data = type_.deserialize(data)
Apr 27 16:56:07 habitat hass[1332]:                   ^^^^^^^^^^^^^^^^^^^^^^^
Apr 27 16:56:07 habitat hass[1332]:   File "/nix/store/gln8y6hap2774wj7d50m2xb0p33h2w4a-python3.12-zigpy-0.63.5/lib/python3.12/site-packages/zigpy/types/basic.py", line 729, in deserialize
Apr 27 16:56:07 habitat hass[1332]:     raise ValueError("Data is too short")
Apr 27 16:56:07 habitat hass[1332]: ValueError: Data is too short
Apr 27 16:56:11 habitat hass[1332]: 2024-04-27 16:56:11.985 ERROR (MainThread) [aiohttp.server] Error handling request

Additional information

No response

@home-assistant
Copy link

Hey there @dmulcahey, @Adminiuga, @puddly, @TheJulianJES, mind taking a look at this issue as it has been labeled with an integration (zha) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of zha 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 zha 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)


zha documentation
zha source
(message by IssueLinks)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants