Closed tommyjlong closed 1 year ago
Same here. I disable Automatically flash firmware
inside configuration and it's back online now. Something is wrong with the updated universal-silabs-flasher
. By the way, you have to keep the baud rate at 115200 if you have not flashed the 460800 firmware.
Seems the universal-silabs-flasher is trying to use an option not available to it Error: No such option: --ensure-exact-version
For the moment, I've downgraded back to 1.0.2 and working again.
I actually checked the source code of universal-silabs-flasher
and the option is indeed there. Not sure what's wrong. That's beyond my knowledge.
How did you downgrade back to 1.0.2?
Assuming you did a backup prior to upgrading then go to UI->System->Backups click on the row "addon_core_silabs_multiprotocol_1.0.2" (do not tick the box, but tick the row), a popup will show, then tick the box "Add-On's and click "Restore"
I don’t have a backup. I think it’s good idea to always have a backup before updating lol Disabling auto update fw works for me. I bet the devs will figure it out and push another update very soon.
+1
Same here -> back on 1.02 again
Ya im skipping this one :(
sadly untested updates seems to be happening a lot more often these days
I really wish, we could have LTS versions ... 3-6 month STABLE releases Yes u can test new stuff on beta versions, but i freaking hate to spend time almost daily checking every single update for breakages
Same here, reverted back to 1.02 this morning after waking up with the multiprotocol not starting up anymore.
With 1.1.0 im getting the error: s6-rc: warning: unable to start service universal-silabs-flasher: command exited 1 switching "flash device" to off. Getting error message: " Unable to connect to secundairy"
The release notes say: "Use default baudrate of 460800 (WARNING: You MUST update your configuration!)" But what to update ?
I tried all possible boudrates and restarting, with no effect. The current config of 1.02 has no boudrate set. None of the 5 radiobuttons are checked.
Same here, reverted back to 1.02 this morning after waking up with the multiprotocol not starting up anymore.
With 1.1.0 im getting the error: s6-rc: warning: unable to start service universal-silabs-flasher: command exited 1 switching "flash device" to off. Getting error message: " Unable to connect to secundairy"
The release notes say: "Use default baudrate of 460800 (WARNING: You MUST update your configuration!)" But what to update ?
I tried all possible boudrates and restarting, with no effect. The current config of 1.02 has no boudrate set. None of the 5 radiobuttons are checked.
You will have to manually flash the 460800 baud rate firmware in order for to use the new baud rate in the configuration
Thanks for your reply! Is there an instruction online ?
Thanks for your reply! Is there an instruction online ?
Follow this guide and use this FW (assumming you are using SkyConnect).
@luisiam This doesnt fix the error why the addon isnt starting. The new version of the flasher isnt compatible with --ensure-exact-version flag:
[08:26:35] INFO: Checking /dev/ttyUSB1 identifying SkyConnect v1.0 from Nabu Casa.
[08:26:35] INFO: Starting universal-silabs-flasher with /dev/ttyUSB1
Usage: universal-silabs-flasher flash [OPTIONS]
Try 'universal-silabs-flasher flash --help' for help.
Error: No such option: --ensure-exact-version
s6-rc: warning: unable to start service universal-silabs-flasher: command exited 2
Automatically flash firmware
You will also have to disable Automatically flash firmware
in configuration
Tried:
universal-silabs-flasher --device /dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_b06506090541ed1181477aa7ccf2b06c-if00-port0 flash --allow-cross-flashing --firmware silabs-firmware/RCPMultiPAN/beta/NabuCasa_SkyConnect_RCP_v4.2.2_rcp-uart-hw-802154_460800.gbl
Result:
2023-04-05 08:26:04 homeassistant universal_silabs_flasher.flash[202] INFO Extracted GBL metadata: NabuCasaMetadata(metadata_version=1, sdk_version='4.2.2', ezsp_version=None, ot_rcp_version=None, fw_type=<FirmwareImageType.RCP_UART_802154: 'rcp-uart-802154'>, baudrate=460800)
2023-04-05 08:26:04 homeassistant universal_silabs_flasher.flasher[202] INFO Probing ApplicationType.GECKO_BOOTLOADER at 115200 baud
2023-04-05 08:26:06 homeassistant universal_silabs_flasher.flasher[202] INFO Probing ApplicationType.CPC at 460800 baud
2023-04-05 08:26:10 homeassistant universal_silabs_flasher.flasher[202] INFO Probing ApplicationType.CPC at 115200 baud
2023-04-05 08:26:14 homeassistant universal_silabs_flasher.flasher[202] INFO Probing ApplicationType.CPC at 230400 baud
2023-04-05 08:26:19 homeassistant universal_silabs_flasher.flasher[202] INFO Probing ApplicationType.EZSP at 115200 baud
2023-04-05 08:26:24 homeassistant universal_silabs_flasher.flasher[202] INFO Probing ApplicationType.SPINEL at 460800 baud
Error: Failed to probe running application type
The amd64 version of the add-on accidentally installed an older version of the universal-silabs-flasher.
Fixed with #2968, add-on version 1.1.1 fixes this.
Sorry but it is getting worse with version 1.1.1. First of all the flashing doesn't work:
[10:57:44] INFO: Checking /dev/ttyUSB0 identifying SkyConnect v1.0 from Nabu Casa.
[10:57:44] INFO: Starting universal-silabs-flasher with /dev/ttyUSB0
2023-04-05 10:57:44 homeassistant universal_silabs_flasher.flash[181] INFO Extracted GBL metadata: NabuCasaMetadata(metadata_version=1, sdk_version='4.2.2', ezsp_version=None, ot_rcp_version=None, fw_type=<FirmwareImageType.RCP_UART_802154: 'rcp-uart-802154'>, baudrate=460800)
2023-04-05 10:57:44 homeassistant universal_silabs_flasher.flasher[181] INFO Probing ApplicationType.GECKO_BOOTLOADER at 115200 baud
2023-04-05 10:57:46 homeassistant universal_silabs_flasher.flasher[181] INFO Probing ApplicationType.CPC at 460800 baud
2023-04-05 10:57:50 homeassistant universal_silabs_flasher.flasher[181] INFO Probing ApplicationType.CPC at 115200 baud
2023-04-05 10:57:55 homeassistant universal_silabs_flasher.flasher[181] INFO Probing ApplicationType.CPC at 230400 baud
2023-04-05 10:57:59 homeassistant universal_silabs_flasher.flasher[181] INFO Probing ApplicationType.EZSP at 115200 baud
2023-04-05 10:58:04 homeassistant universal_silabs_flasher.flasher[181] INFO Probing ApplicationType.SPINEL at 460800 baud
Error: Failed to probe running application type
s6-rc: warning: unable to start service universal-silabs-flasher: command exited 1
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
/run/s6/basedir/scripts/rc.init: fatal: stopping the container.
When I disable the flashing, the addon doesn't start:
[11:00:12:395757] Info : Failed to connect, secondary seems unresponsive [11:00:12:395785] Info : Connecting to Secondary...
This is repeated in an endless loop.
1.1.1 is working well for me!
@cburghardt hm, it seems that the flasher isn't able to talk to the SkyConnect. Can you remove and plug back in your SkyConnect?
Thanks for the hint, no idea what happened but that has solved it.
1.1.1 is now working for me :) For anyone else looking at this, I upgraded with the "Automatically flash firmware" enabled. For some reason, my configuration file does not have a baud rate selected. From the logs below, the universal_silabs_flasher will try to run at 460800, but it will discover the bootloader will run at 115200 baud and will then flash the SkyConnect. After that it will run at 460800
[14:13:10] INFO: Checking /dev/ttyUSB0 identifying SkyConnect v1.0 from Nabu Casa.
[14:13:10] INFO: Starting universal-silabs-flasher with /dev/ttyUSB0
2023-04-05 14:13:11 homeassistant-test universal_silabs_flasher.flash[185] INFO Extracted GBL metadata: NabuCasaMetadata(metadata_version=1, sdk_version='4.2.2', ezsp_version=None, ot_rcp_version=None, fw_type=<FirmwareImageType.RCP_UART_802154: 'rcp-uart-802154'>, baudrate=460800)
2023-04-05 14:13:11 homeassistant-test universal_silabs_flasher.flasher[185] INFO Probing ApplicationType.GECKO_BOOTLOADER at 115200 baud
2023-04-05 14:13:13 homeassistant-test universal_silabs_flasher.flasher[185] INFO Probing ApplicationType.CPC at 460800 baud
2023-04-05 14:13:17 homeassistant-test universal_silabs_flasher.flasher[185] INFO Probing ApplicationType.CPC at 115200 baud
2023-04-05 14:13:17 homeassistant-test universal_silabs_flasher.flasher[185] INFO Detected ApplicationType.CPC, version '4.2.2' at 115200 baudrate (bootloader baudrate None)
2023-04-05 14:13:17 homeassistant-test universal_silabs_flasher.flash[185] INFO Firmware baudrate 115200 differs from expected baudrate 460800
2023-04-05 14:13:17 homeassistant-test universal_silabs_flasher.flasher[185] INFO Probing ApplicationType.GECKO_BOOTLOADER at 115200 baud
2023-04-05 14:13:17 homeassistant-test universal_silabs_flasher.flasher[185] INFO Detected bootloader version '2.1.1'
2023-04-05 14:13:17 homeassistant-test universal_silabs_flasher.flasher[185] INFO Detected ApplicationType.CPC, version '4.2.2' at 115200 baudrate (bootloader baudrate 115200)
NabuCasa_SkyConnect_RCP_v4.2.2_rcp-uart-hw-802154_460800.gbl
s6-rc: info: service universal-silabs-flasher successfully started
[14:13:40] INFO: Using known baudrate of 460800 for cpcd!
[14:13:40] INFO: Generating cpcd configuration.
s6-rc: info: service cpcd-config successfully started
Describe the issue you are experiencing
Upgraded to version 1.1. Also changed the baud rate in the Add-On config to 460800 Tried shutting down the system, replugging SkyConnect, no luck. Add-On won't come up.
What type of installation are you running?
Home Assistant OS
Which operating system are you running on?
Home Assistant Operating System
Which add-on are you reporting an issue with?
Silicon Labs Multiprotocol
What is the version of the add-on?
1.1
Steps to reproduce the issue
Upgrade to 1.1 and capture Logs.
System Health information
Anything in the Supervisor logs that might be useful for us?
Anything in the add-on logs that might be useful for us?