Skyconnect switched to OTBR

I am using a Skyconnect and used to run the multi protocol firmware. As I have watched the “state of matter” stream where they mentioned the pure Thread firmware is better, I decided to switch:

  • I stopped the multi protocol addon
  • I installed the Openthread addon
  • Rebooted the whole OS

But the addon keeps crashing:

[12:22:54] INFO: Checking /dev/ttyUSB0 identifying SkyConnect v1.0 from Nabu Casa.
[12:22:54] INFO: Starting universal-silabs-flasher with /dev/ttyUSB0
2024-01-11 12:22:54.646 homeassistant universal_silabs_flasher.flash INFO Extracted GBL metadata: NabuCasaMetadata(metadata_version=1, sdk_version='4.4.0', ezsp_version=None, ot_rcp_version='SL-OPENTHREAD/2.4.0.0_GitHub-7074a43e4' (2.4.0.0), fw_type=<FirmwareImageType.OT_RCP: 'ot-rcp'>, baudrate=460800)
2024-01-11 12:22:54.647 homeassistant universal_silabs_flasher.flasher INFO Probing ApplicationType.GECKO_BOOTLOADER at 115200 baud
2024-01-11 12:22:56.659 homeassistant universal_silabs_flasher.flasher INFO Probing ApplicationType.SPINEL at 460800 baud
2024-01-11 12:22:57.775 homeassistant universal_silabs_flasher.flasher INFO Detected ApplicationType.SPINEL, version 'SL-OPENTHREAD/2.4.0.0_GitHub-7074a43e4' (2.4.0.0) at 460800 baudrate (bootloader baudrate None)
2024-01-11 12:22:57.775 homeassistant universal_silabs_flasher.flash INFO Firmware version 'SL-OPENTHREAD/2.4.0.0_GitHub-7074a43e4' (2.4.0.0) is flashed, not re-installing
s6-rc: info: service universal-silabs-flasher successfully started
s6-rc: info: service otbr-agent: starting
[12:22:58] INFO: Setup OTBR firewall...
[12:22:58] INFO: Starting otbr-agent...
otbr-agent[183]: [NOTE]-AGENT---: Running 0.3.0-657e775-dirty
otbr-agent[183]: [NOTE]-AGENT---: Thread version: 1.3.0
otbr-agent[183]: [NOTE]-AGENT---: Thread interface: wpan0
otbr-agent[183]: [NOTE]-AGENT---: Radio URL: spinel+hdlc+uart:///dev/ttyUSB0?uart-baudrate=460800&uart-flow-control
otbr-agent[183]: [NOTE]-AGENT---: Radio URL: trel://enp6s18
otbr-agent[183]: [NOTE]-ILS-----: Infra link selected: enp6s18
otbr-agent[183]: 00:00:00.051 [N] RoutingManager: BR ULA prefix: fd63:a04:9439::/48 (loaded)
otbr-agent[183]: 00:00:00.051 [N] RoutingManager: Local on-link prefix: fdfa:1f03:5e4d:4de2::/64
otbr-agent[183]: 00:00:00.100 [N] Mle-----------: Role disabled -> detached
otbr-agent[183]: 00:00:00.115 [N] Platform------: [netif] Changing interface state to up.
otbr-agent[183]: 00:00:00.124 [W] Platform------: [netif] Failed to process request#2: No such process
otbr-agent[183]: 00:00:00.125 [W] Platform------: [netif] ADD [U] fe80:0:0:0:5402:9efd:e664:d6f7 failed (InvalidArgs)
otbr-agent[183]: 00:00:00.125 [W] Platform------: [netif] Failed to process event, error:InvalidArgs
otbr-agent[183]: 00:00:00.125 [W] Platform------: [netif] ADD [U] fd53:9bb5:e2ae:a172:ded5:b4e8:c20d:24ac failed (InvalidArgs)
otbr-agent[183]: 00:00:00.125 [W] Platform------: [netif] Failed to process event, error:InvalidArgs
otbr-agent[183]: 00:00:00.125 [W] Platform------: [netif] ADD [U] fd53:9bb5:e2ae:a172:0:ff:fe00:3000 failed (InvalidArgs)
otbr-agent[183]: 00:00:00.125 [W] Platform------: [netif] Failed to process event, error:InvalidArgs
otbr-agent[183]: 00:00:00.125 [W] Platform------: [netif] Failed to process request#6: No such process
s6-rc: info: service otbr-agent successfully started
s6-rc: info: service otbr-agent-rest-discovery: starting
s6-rc: info: service otbr-agent-configure: starting
s6-rc: info: service otbr-agent-configure successfully started
[12:22:58] INFO: Successfully sent discovery information to Home Assistant.
s6-rc: info: service otbr-agent-rest-discovery successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
otbr-agent[183]: 00:00:26.167 [N] Mle-----------: RLOC16 3000 -> fffe
otbr-agent[183]: 00:00:26.170 [W] Platform------: [netif] Failed to process request#8: Operation not supported
otbr-agent[183]: 00:00:26.335 [N] Mle-----------: Attach attempt 1, AnyPartition reattaching with Active Dataset
otbr-agent[183]: 00:00:32.836 [N] RouterTable---: Allocate router id 12
otbr-agent[183]: 00:00:32.836 [N] Mle-----------: RLOC16 fffe -> 3000
otbr-agent[183]: 00:00:32.839 [N] Mle-----------: Role detached -> leader
otbr-agent[183]: 00:00:32.840 [N] Mle-----------: Partition ID 0x526332d5
otbr-agent[183]: 00:00:32.890 [W] Platform------: [netif] Failed to process request#9: File exists
otbr-agent[183]: 00:00:32.890 [W] Platform------: [netif] ADD [U] fd53:9bb5:e2ae:a172:0:ff:fe00:fc00 failed (InvalidArgs)
otbr-agent[183]: 00:00:32.890 [W] Platform------: [netif] Failed to process event, error:InvalidArgs
otbr-agent[183]: [NOTE]-BBA-----: BackboneAgent: Backbone Router becomes Primary!
otbr-agent[183]: 00:00:33.782 [W] Platform------: [netif] ADD [U] fd53:9bb5:e2ae:a172:0:ff:fe00:fc38 failed (InvalidArgs)
otbr-agent[183]: 00:00:33.782 [W] Platform------: [netif] Failed to process event, error:InvalidArgs
otbr-agent[183]: 00:00:33.783 [W] Platform------: [netif] ADD [U] fd53:9bb5:e2ae:a172:0:ff:fe00:fc10 failed (InvalidArgs)
otbr-agent[183]: 00:00:33.783 [W] Platform------: [netif] Failed to process event, error:InvalidArgs
otbr-agent[183]: 00:00:35.391 [W] Platform------: [netif] ADD [U] fd63:a04:9439:1:e8af:6905:431c:c12d failed (InvalidArgs)
otbr-agent[183]: 00:00:35.391 [W] Platform------: [netif] Failed to process event, error:InvalidArgs
otbr-agent[183]: 00:00:42.684 [W] Platform------: [netif] ADD [U] fd53:9bb5:e2ae:a172:0:ff:fe00:fc11 failed (InvalidArgs)
otbr-agent[183]: 00:00:42.684 [W] Platform------: [netif] Failed to process event, error:InvalidArgs
otbr-agent[183]: 00:01:02.095 [W] P-RadioSpinel-: Wait for response timeout
otbr-agent[183]: 00:01:02.095 [C] Platform------: HandleRcpTimeout() at radio_spinel.cpp:2066: RadioSpinelNoResponse
[12:24:00] WARNING: otbr-agent exited with code 6 (by signal 0).
OTBR_FORWARD_INGRESS  all opt    in * out wpan0  ::/0  -> ::/0  
Chain OTBR_FORWARD_INGRESS (0 references)
target     prot opt source               destination         
DROP       all      anywhere             anywhere             PKTTYPE = unicast
DROP       all      anywhere             anywhere             match-set otbr-ingress-deny-src src
ACCEPT     all      anywhere             anywhere             match-set otbr-ingress-allow-dst dst
DROP       all      anywhere             anywhere             PKTTYPE = unicast
ACCEPT     all      anywhere             anywhere            
otbr-ingress-deny-src
otbr-ingress-deny-src-swap
otbr-ingress-allow-dst
otbr-ingress-allow-dst-swap
OTBR_FORWARD_EGRESS  all opt    in wpan0 out *  ::/0  -> ::/0  
Chain OTBR_FORWARD_EGRESS (0 references)
target     prot opt source               destination         
ACCEPT     all      anywhere             anywhere            
[12:24:00] INFO: OTBR firewall teardown completed.
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service otbr-agent-rest-discovery: stopping
s6-rc: info: service otbr-agent-configure: stopping
s6-rc: info: service mdns: stopping
s6-rc: info: service otbr-agent-rest-discovery successfully stopped
s6-rc: info: service otbr-agent-configure successfully stopped
s6-rc: info: service otbr-agent: stopping
Default: mDNSResponder (Engineering Build) (Jan  9 2024 18:57:09) stopping
s6-rc: info: service otbr-agent successfully stopped
s6-rc: info: service universal-silabs-flasher: stopping
s6-rc: info: service universal-silabs-flasher successfully stopped
s6-rc: info: service banner: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service banner successfully stopped
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
[12:24:00] INFO: mDNS ended with exit code 4 (signal 0)...
s6-rc: info: service mdns successfully stopped
1 Like

I myself did the migration a couple of days ago, and the mistake I made was I thought I could keep the SiLabs Multiprotocol installed but turned off. It turns out something (I think its HA core) restarts the SiLabs AddOn behinds the scene regardless and this caused problems with the OTBR AddOn. I ended up removing the SiLabs AddOn, then OTBR AddOn seemed to work.

My gosh, you are right, thanks for the hint.
The only messages left which look a bit strange are:

otbr-agent[183]: 00:00:26.192 [N] Mle-----------: RLOC16 3000 -> fffe
otbr-agent[183]: 00:00:26.195 [W] Platform------: [netif] Failed to process request#8: Operation not supported
otbr-agent[183]: 00:00:26.860 [N] Mle-----------: Attach attempt 1, AnyPartition reattaching with Active Dataset
otbr-agent[183]: 00:00:33.360 [N] RouterTable---: Allocate router id 12
otbr-agent[183]: 00:00:33.360 [N] Mle-----------: RLOC16 fffe -> 3000
otbr-agent[183]: 00:00:33.364 [N] Mle-----------: Role detached -> leader
otbr-agent[183]: 00:00:33.364 [N] Mle-----------: Partition ID 0x9ebded4
otbr-agent[183]: 00:00:33.409 [W] Platform------: [netif] Failed to process request#9: File exists
otbr-agent[183]: 00:00:33.409 [W] Platform------: [netif] ADD [U] fd53:9bb5:e2ae:a172:0:ff:fe00:fc00 failed (InvalidArgs)
otbr-agent[183]: 00:00:33.409 [W] Platform------: [netif] Failed to process event, error:InvalidArgs
otbr-agent[183]: [NOTE]-BBA-----: BackboneAgent: Backbone Router becomes Primary!
otbr-agent[183]: 00:00:34.037 [W] Platform------: [netif] ADD [U] fd53:9bb5:e2ae:a172:0:ff:fe00:fc38 failed (InvalidArgs)
otbr-agent[183]: 00:00:34.037 [W] Platform------: [netif] Failed to process event, error:InvalidArgs
otbr-agent[183]: 00:00:34.037 [W] Platform------: [netif] ADD [U] fd53:9bb5:e2ae:a172:0:ff:fe00:fc10 failed (InvalidArgs)
otbr-agent[183]: 00:00:34.038 [W] Platform------: [netif] Failed to process event, error:InvalidArgs
otbr-agent[183]: 00:00:36.360 [W] Platform------: [netif] ADD [U] fd63:a04:9439:1:e8af:6905:431c:c12d failed (InvalidArgs)
otbr-agent[183]: 00:00:36.360 [W] Platform------: [netif] Failed to process event, error:InvalidArgs
otbr-agent[183]: 00:00:46.025 [W] Platform------: [netif] ADD [U] fd53:9bb5:e2ae:a172:0:ff:fe00:fc11 failed (InvalidArgs)
otbr-agent[183]: 00:00:46.025 [W] Platform------: [netif] Failed to process event, error:InvalidArgs

invalidargs doesn’t look normal to me…

The other two things I had to do was

  • add the OTBR to the preferred network so as to pick up the dataset/credentials the SiLabs Multiprotocol Addon was using.
  • The OTBR Integration was failing to communicate. I had to delete the OTBR Integration, then reboot HA Core and Core recreated the OTBR Integration and successfully connected.

I did the same but the strange errors from above persist.
But I found the same netif errors in a bug report:

I seem to recall (but could be badly mis-remembering) seeing those same errors until I got the dataset/credentials back to what they were originally which is what “adding” the OTBR to original “preferred” network should have done.

What do you use as a OTBR Url in the configuration
“Provide URL for the Open Thread Border Router’s REST API” ?

OTBR URL: http://core-openthread-border-router:8081

1 Like