Closed IgnacioHR closed 1 month ago
This will be fixed by https://github.com/zigpy/bellows/pull/625
info
performs a "quick" backup just to get basic information. backup
loads everything possible and there is currently a parsing issue with one command. Feel free to try the PR, it should fix the problem.
Thank you! I'll move from this point on
Hello,
I'm trying to migrate from
ezsp
toember
as indicated here: https://smarthomescene.com/guides/how-to-use-ember-driver-with-efr32mg21-zigbee-adapters/First step is to take a backup of current radio so I installed this repository in my computer running zigbee2mqtt. I'm having issues trying to obtain a backup. Here is what I'm doing and the configuration I've.
systemctl stop zigbee2mqtt
zigpy radio --baudrate 115200 ezsp /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20240101000000-if00 info
and it works. I receive the PAN ID, channel, Channel mask, etc...zigpy radio --baudrate 115200 ezsp /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20240101000000-if00 backup
and this is what I obtain:During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/root/zigbee-backup/venv/bin/zigpy", line 8, in
sys.exit(cli())
File "/root/zigbee-backup/venv/lib/python3.9/site-packages/click/core.py", line 1157, in call
return self.main(args, kwargs)
File "/root/zigbee-backup/venv/lib/python3.9/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/root/zigbee-backup/venv/lib/python3.9/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/root/zigbee-backup/venv/lib/python3.9/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/root/zigbee-backup/venv/lib/python3.9/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, ctx.params)
File "/root/zigbee-backup/venv/lib/python3.9/site-packages/click/core.py", line 783, in invoke
return __callback(args, kwargs)
File "/root/zigbee-backup/venv/lib/python3.9/site-packages/click/decorators.py", line 45, in new_func
return f(get_current_context().obj, *args, *kwargs)
File "/root/zigbee-backup/venv/lib/python3.9/site-packages/zigpy_cli/cli.py", line 20, in inner
return loop.run_until_complete(cmd(args, kwargs))
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/root/zigbee-backup/venv/lib/python3.9/site-packages/zigpy_cli/radio.py", line 119, in backup
backup = await app.backups.create_backup(load_devices=True)
File "/root/zigbee-backup/venv/lib/python3.9/site-packages/zigpy/backups.py", line 143, in create_backup
await self.app.load_network_info(load_devices=load_devices)
File "/root/zigbee-backup/venv/lib/python3.9/site-packages/bellows/zigbee/application.py", line 376, in load_network_info
(status, key) = await ezsp.getKeyTableEntry(index)
File "/root/zigbee-backup/venv/lib/python3.9/site-packages/bellows/ezsp/init.py", line 215, in _command
return await self._protocol.command(name, *args)
File "/root/zigbee-backup/venv/lib/python3.9/site-packages/bellows/ezsp/protocol.py", line 74, in command
return await future
File "/root/zigbee-backup/venv/lib/python3.9/site-packages/async_timeout/init.py", line 141, in aexit
self._do_exit(exc_type)
File "/root/zigbee-backup/venv/lib/python3.9/site-packages/async_timeout/init.py", line 228, in _do_exit
raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError