Closed scyto closed 2 weeks ago
When i first setup the OTBR addon connecting to a Sonoff ZDongleP on an rPi exposed by ser2net everything work great.
I then removed the dongle from the pi to use in testing with home assistant installed on a different machine
now plugiing the dongle back inot the original pi get the following in the logs:
[19:55:08] INFO: The otbr-web is disabled. [19:55:08] INFO: Enabled socat-otbr-tcp. s6-rc: info: service socat-otbr-tcp: starting s6-rc: info: service mdns: starting s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service mdns successfully started [19:55:08] INFO: Starting mDNS Responder... Default: mDNSResponder (Engineering Build) (Oct 7 2024 16:49:24) starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service banner: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started [19:55:08] INFO: Starting socat TCP client for OTBR daemon... ----------------------------------------------------------- Add-on: OpenThread Border Router OpenThread Border Router add-on ----------------------------------------------------------- Add-on version: 2.11.1 You are running the latest version of this add-on. System: Home Assistant OS 13.2 (amd64 / qemux86-64) Home Assistant Core: 2024.11.0 Home Assistant Supervisor: 2024.11.2 ----------------------------------------------------------- Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat. ----------------------------------------------------------- s6-rc: info: service banner successfully started s6-rc: info: service universal-silabs-flasher: starting s6-rc: info: service socat-otbr-tcp successfully started [19:55:08] INFO: Flashing firmware is disabled s6-rc: info: service universal-silabs-flasher successfully started s6-rc: info: service otbr-agent: starting [19:55:09] INFO: Starting otbr-agent... [NOTE]-AGENT---: Running 0.3.0-ff7227ea-dirty [NOTE]-AGENT---: Thread version: 1.3.0 [NOTE]-AGENT---: Thread interface: wpan0 [NOTE]-AGENT---: Radio URL: spinel+hdlc+uart:///tmp/ttyOTBR?uart-baudrate=460800&uart-init-deassert [NOTE]-AGENT---: Radio URL: trel://enp0s18 [NOTE]-ILS-----: Infra link selected: enp0s18 [INFO]-RCP_HOS-: OpenThread log level changed to 5 tiocmbic: Inappropriate ioctl for device 61d.17:04:51.501 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:0, cmd:RESET 61d.17:04:51.501 [D] P-SpinelDrive-: Waiting response: key=0 61d.17:04:53.503 [W] P-SpinelDrive-: Wait for response timeout 61d.17:04:53.503 [I] P-SpinelDrive-: co-processor self reset successfully 61d.17:04:53.503 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:1, cmd:PROP_VALUE_GET, key:PROTOCOL_VERSION 61d.17:04:53.503 [D] P-SpinelDrive-: Waiting response: key=1 61d.17:04:55.505 [W] P-SpinelDrive-: Wait for response timeout 61d.17:04:55.505 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:1, cmd:PROP_VALUE_GET, key:PROTOCOL_VERSION 61d.17:04:55.505 [D] P-SpinelDrive-: Waiting response: key=1 61d.17:04:57.507 [W] P-SpinelDrive-: Wait for response timeout 61d.17:04:57.507 [C] Platform------: Init() at spinel_driver.cpp:82: Failure 61d.17:04:57.507 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:1, cmd:PROP_VALUE_GET, key:PROTOCOL_VERSION 61d.17:04:57.507 [D] P-SpinelDrive-: Waiting response: key=1 61d.17:04:59.509 [W] P-SpinelDrive-: Wait for response timeout [19:55:17] WARNING: otbr-agent exited with code 1 (by signal 0). otbr-ingress-deny-src otbr-ingress-deny-src-swap otbr-ingress-allow-dst otbr-ingress-allow-dst-swap [19:55:17] INFO: OTBR firewall teardown completed. s6-svlisten1: fatal: /run/s6-rc/servicedirs/otbr-agent failed permanently or its supervisor died s6-rc: warning: unable to start service otbr-agent: command exited 1 s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service universal-silabs-flasher: stopping s6-rc: info: service socat-otbr-tcp: stopping s6-rc: info: service mdns: stopping s6-rc: info: service universal-silabs-flasher successfully stopped /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. 2024/11/06 19:55:17 socat[81] W exiting on signal 15 Default: mDNSResponder (Engineering Build) (Oct 7 2024 16:49:24) stopping s6-rc: info: service banner: stopping s6-rc: info: service banner successfully stopped s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping [19:55:17] INFO: mDNS ended with exit code 4 (signal 0)... s6-rc: info: service socat-otbr-tcp successfully stopped s6-rc: info: service mdns 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[19:55:08] INFO: The otbr-web is disabled.
This is the exact model https://www.amazon.com/SONOFF-Gateway-Universal-Assistant-Wireless/dp/B09KXTCMSC
Things i have tried:
Things I have not yet tried:
Home Assistant OS
Home Assistant Operating System
OpenThread Border Router
2.11.1
1. 2. 3. ...
No response
ser2net yaml confg
%YAML 1.1 --- define: &banner Connected to port \N(\d)\r\n connection: &con1 accepter: tcp,8000 connector: serialdev,/dev/ttyUSB1,460800N81,local options: banner: *banner
addon config
device: /dev/ttyS3 baudrate: "460800" flow_control: false autoflash_firmware: false otbr_log_level: debug firewall: false nat64: false network_device: 192.168.1.176:8000
i think i might be an idiot, will check tomorrow, going cross eyed, closing for now
for some reason the pi had swapped what was on physcial ttyUSB0 and ttyUSB1
resolved this by using - /dev/serial/by-id/:ttyUSB1 in my docker compose files so this can't happen again
Describe the issue you are experiencing
When i first setup the OTBR addon connecting to a Sonoff ZDongleP on an rPi exposed by ser2net everything work great.
I then removed the dongle from the pi to use in testing with home assistant installed on a different machine
now plugiing the dongle back inot the original pi get the following in the logs:
This is the exact model https://www.amazon.com/SONOFF-Gateway-Universal-Assistant-Wireless/dp/B09KXTCMSC
Things i have tried:
Things I have not yet tried:
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?
OpenThread Border Router
What is the version of the add-on?
2.11.1
Steps to reproduce the issue
1. 2. 3. ...
System Health information
System Information
Home Assistant Community Store
GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok HACS Data | ok GitHub API Calls Remaining | 5000 Installed Version | 2.0.1 Stage | running Available Repositories | 1534 Downloaded Repositories | 46AccuWeather
can_reach_server | ok -- | -- remaining_requests | 37Home Assistant Cloud
logged_in | true -- | -- subscription_expiration | July 9, 2025 at 5:00 PM relayer_connected | true relayer_region | us-east-1 remote_enabled | false remote_connected | false alexa_enabled | true google_enabled | false cloud_ice_servers_enabled | true remote_server | us-east-1-12.ui.nabu.casa certificate_status | ready instance_id | 22ed052e00ea4b728f57ab35f77af254 can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okHome Assistant Supervisor
host_os | Home Assistant OS 13.2 -- | -- update_channel | beta supervisor_version | supervisor-2024.11.2 agent_version | 1.6.0 docker_version | 27.2.0 disk_total | 125.3 GB disk_used | 21.4 GB healthy | true supported | true host_connectivity | true supervisor_connectivity | true ntp_synchronized | true virtualization | kvm board | ova supervisor_api | ok version_api | ok installed_addons | Studio Code Server (5.17.2), Advanced SSH & Web Terminal (19.0.0), TasmoAdmin (0.30.6), Glances (0.21.1), Network UPS Tools (dev), Spotify Connect (0.13.0), AirCast (4.2.2), Frigate (Full Access) Beta (0.15.0-beta1), ESPHome (2024.10.2), Samba share (12.3.2), Samba Backup (5.2.0), Network UPS Tools (0.13.2), Let's Encrypt (5.2.3), Matter Server (6.6.0), SQLite Web (4.2.2), OpenThread Border Router (2.11.1)Universal Devices ISY/IoX
host_reachable | ok -- | -- device_connected | true last_heartbeat | November 6, 2024 at 8:24 PM websocket_status | connectedDashboards
dashboards | 3 -- | -- resources | 28 views | 15 mode | storageRecorder
oldest_recorder_run | November 2, 2024 at 1:03 AM -- | -- current_recorder_run | November 6, 2024 at 5:19 PM estimated_db_size | 626.94 MiB database_engine | sqlite database_version | 3.45.3Anything in the Supervisor logs that might be useful for us?
No response
Anything in the add-on logs that might be useful for us?
No response
Additional information
ser2net yaml confg
addon config