digiblur
(digiblur)
November 28, 2023, 4:51am
106
What’s the official container and latest one to use?
trofo
(trofo)
December 11, 2023, 4:05pm
108
Hi @leopold Just wanted to let you know I installed your fork on amd64 and everything worked OK.
Everything in your README was OK, I only had to add this to my docker compose:
cap_add:
- SYS_ADMIN
- NET_ADMIN
I found this a few messages earlier in @paolo2628 's response.
Great work. Thank you.
Let me know if you want me to make a PR to add the above to the repo.
1 Like
leopold
December 11, 2023, 4:17pm
109
hi @trofo
its not needed if you use “privileged: true” like in the example here
trofo
(trofo)
December 11, 2023, 6:14pm
110
I did had “privileged: true” but it didn’t work until I added those 2 capabilities. Anyway, keep it in mind in case someone else reports it as well.
1 Like
paolo2628
(Paolo2628)
December 13, 2023, 6:35pm
111
Today zigbee stopped working for no reason. It worked well for 1 month.
It Is absurd.
It start but when i touch a switch It crash
Edit this morning It works… I’m getting crazy
Do you still need help? I just got it working on unraid
2 Likes
cadmium
January 10, 2024, 4:27pm
113
Is anyone else running into problems where starting the container just shows all the services within the container starting and then seemingly stopping for no reason?
Expand for full logs
2024-01-11 03:18:33 [INFO] Starting mDNS Responder...
Default: mDNSResponder (Engineering Build) (Jan 5 2024 22:15:16) starting
2024-01-11 03:18:33 [INFO] Flashing firmware is disabled
s6-rc: info: service universal-silabs-flasher successfully started
s6-rc: info: service cpcd: starting
2024-01-11 03:18:33 [INFO] Starting cpcd...
WARNING in function 'main' in file /usr/src/cpc-daemon/main.c at line #186 : Running CPCd as 'root' is not recommended. Proceed at your own risk.
FATAL in function 'config_validate_configuration' in file /usr/src/cpc-daemon/misc/config.c at line #932 : Use of encryption was requested, but the daemon was not compiled with -DENABLE_ENCRYPTION
2024-01-11 03:18:33 [INFO] Generating cpcd configuration.
cont-init: info: /etc/cont-init.d/config.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
[03:18:33:853563] Info : [CPCd v4.3.1.0] [Library API v3] [RCP Protocol v4]
[03:18:33:853605] Info : Git commit: 133b29678b3d0bc7578e098d2f46b4d5bcd2ebb4 / branch:
[03:18:33:853608] Info : Sources hash: ff8300587e7e4ab1def7a89a272c0baef32f9eb3bff9b0ba06b94e655d652367
[03:18:33:853615] WARNING : In function 'main' in file /usr/src/cpc-daemon/main.c at line #186 : Running CPCd as 'root' is not recommended. Proceed at your own risk.
[03:18:33:853628] Info : Reading cli arguments
[03:18:33:853632] Info : /usr/local/bin/cpcd
[03:18:33:854005] *** ASSERT *** : FATAL in function 'config_validate_configuration' in file /usr/src/cpc-daemon/misc/config.c at line #932 : Use of encryption was requested, but the daemon was not compiled with -DENABLE_ENCRYPTION
[03:18:34:854087] Info : Daemon exiting with status EXIT_FAILURE
Logger buffer size = 28672, highwater mark = 760 : 2.65%. Lost logs : 0
2024-01-11 03:18:34 [INFO] CPC ended with exit code 1 (signal 0)...
rm: cannot remove '/dev/shm/cpcd': No such file or directory
2024-01-11 03:18:35 [INFO] Starting cpcd...
WARNING in function 'main' in file /usr/src/cpc-daemon/main.c at line #186 : Running CPCd as 'root' is not recommended. Proceed at your own risk.
s6-rc: info: service cpcd successfully started
s6-rc: info: service zigbeed: starting
s6-rc: info: service zigbeed successfully started
s6-rc: info: service legacy-services: starting
2024-01-11 03:18:36 [INFO] Starting zigbeed...
s6-rc: info: service legacy-services successfully started
s6-rc: info: bringing selected services down
s6-rc: info: service legacy-services: stopping
s6-rc: info: service otbr-web: already down
s6-rc: info: service otbr-agent: already down
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service zigbeed: stopping
s6-rc: info: service mdns: stopping
Default: mDNSResponder (Engineering Build) (Jan 5 2024 22:15:16) stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
2024-01-11 03:18:36 [INFO] mDNS ended with exit code 4 (signal 0)...
2024-01-11 03:18:36 [INFO] zigbeed ended with exit code 256 (signal 15)...
s6-rc: info: service zigbeed successfully stopped
s6-rc: info: service cpcd: stopping
s6-rc: info: service mdns successfully stopped
[03:18:35:921511] Info : [CPCd v4.3.1.0] [Library API v3] [RCP Protocol v4]
[03:18:35:921559] Info : Git commit: 133b29678b3d0bc7578e098d2f46b4d5bcd2ebb4 / branch:
[03:18:35:921562] Info : Sources hash: ff8300587e7e4ab1def7a89a272c0baef32f9eb3bff9b0ba06b94e655d652367
[03:18:35:921565] WARNING : In function 'main' in file /usr/src/cpc-daemon/main.c at line #186 : Running CPCd as 'root' is not recommended. Proceed at your own risk.
[03:18:35:921578] Info : Reading cli arguments
[03:18:35:921581] Info : /usr/local/bin/cpcd
[03:18:35:921922] Info : Reading configuration
[03:18:35:921925] Info : file_path = /usr/local/etc/cpcd.conf
[03:18:35:921928] Info : instance_name = cpcd_0
[03:18:35:921930] Info : socket_folder = /dev/shm
[03:18:35:921933] Info : operation_mode = MODE_NORMAL
[03:18:35:921935] Info : use_encryption = false
[03:18:35:921937] Info : binding_key_file = /root/.cpcd/binding.key
[03:18:35:921939] Info : stdout_tracing = false
[03:18:35:921941] Info : file_tracing = false
[03:18:35:921943] Info : lttng_tracing = false
[03:18:35:921946] Info : enable_frame_trace = false
[03:18:35:921947] Info : traces_folder = /dev/shm/cpcd-traces
[03:18:35:921950] Info : bus = UART
[03:18:35:921952] Info : uart_baudrate = 460800
[03:18:35:921955] Info : uart_hardflow = false
[03:18:35:921957] Info : uart_file = /dev/ttyACM0
[03:18:35:921959] Info : fu_recovery_pins_enabled = false
[03:18:35:921961] Info : fu_connect_to_bootloader = false
[03:18:35:921964] Info : fu_enter_bootloader = false
[03:18:35:921966] Info : restart_cpcd = false
[03:18:35:921968] Info : application_version_validation = false
[03:18:35:921970] Info : print_secondary_versions_and_exit = false
[03:18:35:921972] Info : use_noop_keep_alive = false
[03:18:35:921975] Info : reset_sequence = true
[03:18:35:921976] Info : stats_interval = 0
[03:18:35:921978] Info : rlimit_nofile = 2000
[03:18:35:921981] Info : ENCRYPTION IS DISABLED
[03:18:35:921982] Info : Starting daemon in normal mode
[03:18:35:932666] Info : Connecting to Secondary...
[03:18:36:005742] Info : RX capability is 256 bytes
[03:18:36:005759] Info : Connected to Secondary
[03:18:36:007250] Info : Secondary Protocol v4
[03:18:36:010538] Info : Secondary CPC v4.3.1
[03:18:36:011986] Info : Secondary bus bitrate is 460800
[03:18:36:015266] Info : Secondary APP vUNDEFINED
[03:18:36:015339] Info : Daemon startup was successful. Waiting for client connections
[03:18:36:306902] Info : Server core cleanup
[03:18:36:306940] Info : Daemon exiting with status EXIT_SUCCESS
Logger buffer size = 28672, highwater mark = 2592 : 9.04%. Lost logs : 0
2024-01-11 03:18:36 [INFO] CPC ended with exit code 0 (signal 0)...
s6-rc: info: service cpcd successfully stopped
s6-rc: info: service universal-silabs-flasher: stopping
s6-rc: info: service universal-silabs-flasher successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
I see there is a line where it says that an assertion has failed:
[03:18:33:854005] *** ASSERT *** : FATAL in function 'config_validate_configuration' in file /usr/src/cpc-daemon/misc/config.c at line #932 : Use of encryption was requested, but the daemon was not compiled with -DENABLE_ENCRYPTION
However, there does not seem to be any configuration around enabling or disabling encryption, and CPCd seems to start multiple times. Is there possibly another version of this container that I am missing that does include this encryption support?
I am running this within kubernetes and with OTBR_ENABLE
set to 0
for debugging (similar results when it is set to 1
; no avail ). The image digest is sha256:73e104437bf16f81cf2c54fa44bc3ea1c2f80eb1b71fbf11ba8ad0acac32f8ca
.
I have been stuck on this for quite a while; any pointers would be appreciated, thanks.
leopold
January 11, 2024, 1:47pm
114
since the base images of HA now have useful tags, i have rebuilt all images for all base image tags with equivalent tags on my container
https://hub.docker.com/r/b2un0/silabs-multipan-docker/tags
the real version can also be found in the labels
Is there possibly another version of this container that I am missing that does include this encryption support?
no
i do not build or compile anything in this container.
i have only removed the HAOS stuff based on the work of @nervousapps and @m33ts4k0z
in your case, it would be much more important to know which usb stick and which firmware you are using
1 Like
cadmium
January 11, 2024, 2:40pm
115
Thanks for adding specific docker tags to your images; I’ve since updated and tried again with 2.4.2
, unfortunately with no difference.
leopold:
no.
Thanks for confirming.
This is indeed a major oversight - as an update to my post above, I’ll clarify them here:
USB dongle: SONOFF ZBDongle-E Zigbee 3.0
Firmware: MultiPAN RCP - Zigbee + Thread for Silabs Multiprotocol Addon - Baudrate 460800 4.3.1
from darkxst’s web flasher
leopold
January 12, 2024, 7:55am
116
im using this with SkyConnect and
NabuCasa_SkyConnect_RCP_v4.3.1_rcp-uart-hw-802154_460800.gbl
it looks like, that your firmware is compiled with encryption enabled.
the cpcd - compiled by HA - has no encryption.
see also here:
you should ask the maintainer for your firmware.
1 Like
leopold
January 18, 2024, 1:35pm
117
@cadmium another user had the problem! but wit SkyConnect!
he has has fixed this within
opened 10:34AM - 18 Jan 24 UTC
The docker execution exists without showing relevant error.
Running on a Ubuntu… machine (managing services with nomad, running home assistant, matter server and many other images...)
Command:
`docker run -it -e 'DEVICE=/dev/ttyUSB0' -e "BAUDRATE=460800" -e "FLOW_CONTROL=true" -e "BACKBONE_IF=enp86s0" -v '/dev/ttyUSB0:/dev/ttyUSB0' -v "/var/run/dbus:/var/run/dbus" -v "/var/run/avahi-daemon/socket:/var/run/avahi-daemon/socket" --privileged --cap-add 'SYS_ADMIN' --cap-add 'NET_ADMIN' --network host -v '/extra/home-assistant/multiplan:/data' b2un0/silabs-multipan-docker:latest 2>&1 | ts | tee docker-multipan.log`
Logs:
```
Jan 18 10:25:48 [32m2024-01-18 10:25:48 [INFO] Web UI and REST API port are exposed, starting otbr-web.[0m
Jan 18 10:25:48 s6-rc-compile: tracing: from s6-rc-compile internals: adding identifier s6rc-oneshot-runner of type longrun
Jan 18 10:25:48 s6-rc-compile: tracing: from s6-rc-compile internals: adding identifier s6rc-fdholder of type longrun
Jan 18 10:25:48 s6-rc-compile: info: parsing /etc/s6-overlay/s6-rc.d/cpcd
Jan 18 10:25:48 s6-rc-compile: info: cpcd has type longrun
Jan 18 10:25:48 s6-rc-compile: tracing: from /etc/s6-overlay/s6-rc.d: adding identifier cpcd of type longrun
Jan 18 10:25:48 s6-rc-compile: tracing: from cpcd: adding identifier universal-silabs-flasher of type unknown
Jan 18 10:25:48 s6-rc-compile: info: parsing /etc/s6-overlay/s6-rc.d/mdns
Jan 18 10:25:48 s6-rc-compile: info: mdns has type longrun
Jan 18 10:25:48 s6-rc-compile: tracing: from /etc/s6-overlay/s6-rc.d: adding identifier mdns of type longrun
Jan 18 10:25:48 s6-rc-compile: info: parsing /etc/s6-overlay/s6-rc.d/otbr-agent
Jan 18 10:25:48 s6-rc-compile: info: otbr-agent has type longrun
Jan 18 10:25:48 s6-rc-compile: tracing: from /etc/s6-overlay/s6-rc.d: adding identifier otbr-agent of type longrun
Jan 18 10:25:48 s6-rc-compile: tracing: from otbr-agent: adding identifier cpcd of type unknown
Jan 18 10:25:48 s6-rc-compile: tracing: identifier cpcd was already declared with type longrun
Jan 18 10:25:48 s6-rc-compile: info: parsing /etc/s6-overlay/s6-rc.d/otbr-web
Jan 18 10:25:48 s6-rc-compile: info: otbr-web has type longrun
Jan 18 10:25:48 s6-rc-compile: tracing: from /etc/s6-overlay/s6-rc.d: adding identifier otbr-web of type longrun
Jan 18 10:25:48 s6-rc-compile: tracing: from otbr-web: adding identifier otbr-agent of type unknown
Jan 18 10:25:48 s6-rc-compile: tracing: identifier otbr-agent was already declared with type longrun
Jan 18 10:25:48 s6-rc-compile: info: parsing /etc/s6-overlay/s6-rc.d/socat-cpcd-tcp
Jan 18 10:25:48 s6-rc-compile: info: socat-cpcd-tcp has type longrun
Jan 18 10:25:48 s6-rc-compile: tracing: from /etc/s6-overlay/s6-rc.d: adding identifier socat-cpcd-tcp of type longrun
Jan 18 10:25:48 s6-rc-compile: info: parsing /etc/s6-overlay/s6-rc.d/universal-silabs-flasher
Jan 18 10:25:48 s6-rc-compile: info: universal-silabs-flasher has type oneshot
Jan 18 10:25:48 s6-rc-compile: tracing: from /etc/s6-overlay/s6-rc.d: adding identifier universal-silabs-flasher of type oneshot
Jan 18 10:25:48 s6-rc-compile: tracing: previously encountered identifier universal-silabs-flasher now has type oneshot
Jan 18 10:25:48 s6-rc-compile: tracing: dependency from universal-silabs-flasher to s6rc-oneshot-runner (0)
Jan 18 10:25:48 s6-rc-compile: info: parsing /etc/s6-overlay/s6-rc.d/user
Jan 18 10:25:48 s6-rc-compile: info: user has type bundle
Jan 18 10:25:48 s6-rc-compile: tracing: from /etc/s6-overlay/s6-rc.d: adding identifier user of type bundle
Jan 18 10:25:48 s6-rc-compile: tracing: from user: adding identifier mdns of type unknown
Jan 18 10:25:48 s6-rc-compile: tracing: identifier mdns was already declared with type longrun
Jan 18 10:25:48 s6-rc-compile: tracing: from user: adding identifier otbr-agent of type unknown
Jan 18 10:25:48 s6-rc-compile: tracing: identifier otbr-agent was already declared with type longrun
Jan 18 10:25:48 s6-rc-compile: tracing: from user: adding identifier zigbeed of type unknown
Jan 18 10:25:48 s6-rc-compile: tracing: from user: adding identifier cpcd of type unknown
Jan 18 10:25:48 s6-rc-compile: tracing: identifier cpcd was already declared with type longrun
Jan 18 10:25:48 s6-rc-compile: tracing: from user: adding identifier otbr-web of type unknown
Jan 18 10:25:48 s6-rc-compile: tracing: identifier otbr-web was already declared with type longrun
Jan 18 10:25:48 s6-rc-compile: info: parsing /etc/s6-overlay/s6-rc.d/user2
Jan 18 10:25:48 s6-rc-compile: info: user2 has type bundle
Jan 18 10:25:48 s6-rc-compile: tracing: from /etc/s6-overlay/s6-rc.d: adding identifier user2 of type bundle
Jan 18 10:25:48 s6-rc-compile: info: parsing /etc/s6-overlay/s6-rc.d/zigbeed
Jan 18 10:25:48 s6-rc-compile: info: zigbeed has type longrun
Jan 18 10:25:48 s6-rc-compile: tracing: from /etc/s6-overlay/s6-rc.d: adding identifier zigbeed of type longrun
Jan 18 10:25:48 s6-rc-compile: tracing: previously encountered identifier zigbeed now has type longrun
Jan 18 10:25:48 s6-rc-compile: tracing: from zigbeed: adding identifier cpcd of type unknown
Jan 18 10:25:48 s6-rc-compile: tracing: identifier cpcd was already declared with type longrun
Jan 18 10:25:48 s6-rc-compile: info: parsing /package/admin/s6-overlay-3.1.6.2/etc/s6-rc/sources/base
Jan 18 10:25:48 s6-rc-compile: info: base has type bundle
Jan 18 10:25:48 s6-rc-compile: tracing: from /package/admin/s6-overlay-3.1.6.2/etc/s6-rc/sources: adding identifier base of type bundle
Jan 18 10:25:48 s6-rc-compile: tracing: from base: adding identifier legacy-cont-init of type unknown
Jan 18 10:25:48 s6-rc-compile: tracing: from base: adding identifier fix-attrs of type unknown
Jan 18 10:25:48 s6-rc-compile: info: parsing /package/admin/s6-overlay-3.1.6.2/etc/s6-rc/sources/fix-attrs
Jan 18 10:25:48 s6-rc-compile: info: fix-attrs has type oneshot
Jan 18 10:25:48 s6-rc-compile: tracing: from /package/admin/s6-overlay-3.1.6.2/etc/s6-rc/sources: adding identifier fix-attrs of type oneshot
Jan 18 10:25:48 s6-rc-compile: tracing: previously encountered identifier fix-attrs now has type oneshot
Jan 18 10:25:48 s6-rc-compile: tracing: dependency from fix-attrs to s6rc-oneshot-runner (0)
Jan 18 10:25:48 s6-rc-compile: info: parsing /package/admin/s6-overlay-3.1.6.2/etc/s6-rc/sources/legacy-cont-init
Jan 18 10:25:48 s6-rc-compile: info: legacy-cont-init has type oneshot
Jan 18 10:25:48 s6-rc-compile: tracing: from /package/admin/s6-overlay-3.1.6.2/etc/s6-rc/sources: adding identifier legacy-cont-init of type oneshot
Jan 18 10:25:48 s6-rc-compile: tracing: previously encountered identifier legacy-cont-init now has type oneshot
Jan 18 10:25:48 s6-rc-compile: tracing: from legacy-cont-init: adding identifier fix-attrs of type unknown
Jan 18 10:25:48 s6-rc-compile: tracing: identifier fix-attrs was already declared with type oneshot
Jan 18 10:25:48 s6-rc-compile: tracing: dependency from legacy-cont-init to fix-attrs (145)
Jan 18 10:25:48 s6-rc-compile: tracing: dependency from legacy-cont-init to s6rc-oneshot-runner (0)
Jan 18 10:25:48 s6-rc-compile: info: parsing /package/admin/s6-overlay-3.1.6.2/etc/s6-rc/sources/legacy-services
Jan 18 10:25:48 s6-rc-compile: info: legacy-services has type oneshot
Jan 18 10:25:48 s6-rc-compile: tracing: from /package/admin/s6-overlay-3.1.6.2/etc/s6-rc/sources: adding identifier legacy-services of type oneshot
Jan 18 10:25:48 s6-rc-compile: tracing: from legacy-services: adding identifier user of type unknown
Jan 18 10:25:48 s6-rc-compile: tracing: identifier user was already declared with type bundle
Jan 18 10:25:48 s6-rc-compile: tracing: from legacy-services: adding identifier base of type unknown
Jan 18 10:25:48 s6-rc-compile: tracing: identifier base was already declared with type bundle
Jan 18 10:25:48 s6-rc-compile: tracing: dependency from legacy-services to user (104)
Jan 18 10:25:48 s6-rc-compile: tracing: dependency from legacy-services to base (123)
Jan 18 10:25:48 s6-rc-compile: tracing: dependency from legacy-services to s6rc-oneshot-runner (0)
Jan 18 10:25:48 s6-rc-compile: info: parsing /package/admin/s6-overlay-3.1.6.2/etc/s6-rc/sources/top
Jan 18 10:25:48 s6-rc-compile: info: top has type bundle
Jan 18 10:25:48 s6-rc-compile: tracing: from /package/admin/s6-overlay-3.1.6.2/etc/s6-rc/sources: adding identifier top of type bundle
Jan 18 10:25:48 s6-rc-compile: tracing: from top: adding identifier user of type unknown
Jan 18 10:25:48 s6-rc-compile: tracing: identifier user was already declared with type bundle
Jan 18 10:25:48 s6-rc-compile: tracing: from top: adding identifier base of type unknown
Jan 18 10:25:48 s6-rc-compile: tracing: identifier base was already declared with type bundle
Jan 18 10:25:48 s6-rc-compile: tracing: from top: adding identifier legacy-services of type unknown
Jan 18 10:25:48 s6-rc-compile: tracing: identifier legacy-services was already declared with type oneshot
Jan 18 10:25:48 s6-rc-compile: tracing: from top: adding identifier user2 of type unknown
Jan 18 10:25:48 s6-rc-compile: tracing: identifier user2 was already declared with type bundle
Jan 18 10:25:48 s6-rc-compile: info: making bundles for pipelines
Jan 18 10:25:48 s6-rc-compile: info: resolving bundle names
Jan 18 10:25:48 s6-rc-compile: info: converting bundle array
Jan 18 10:25:48 s6-rc-compile: info: resolving service names
Jan 18 10:25:48 s6-rc-compile: tracing: cpcd depends on oneshot universal-silabs-flasher (8)
Jan 18 10:25:48 s6-rc-compile: tracing: otbr-agent depends on longrun cpcd (2)
Jan 18 10:25:48 s6-rc-compile: tracing: otbr-web depends on longrun otbr-agent (4)
Jan 18 10:25:48 s6-rc-compile: tracing: zigbeed depends on longrun cpcd (2)
Jan 18 10:25:48 s6-rc-compile: tracing: universal-silabs-flasher depends on longrun s6rc-oneshot-runner (0)
Jan 18 10:25:48 s6-rc-compile: tracing: fix-attrs depends on longrun s6rc-oneshot-runner (0)
Jan 18 10:25:48 s6-rc-compile: tracing: legacy-cont-init depends on oneshot fix-attrs (9)
Jan 18 10:25:48 s6-rc-compile: tracing: legacy-cont-init depends on longrun s6rc-oneshot-runner (0)
Jan 18 10:25:48 s6-rc-compile: tracing: legacy-services depends on bundle user
Jan 18 10:25:48 s6-rc-compile: tracing: legacy-services depends on bundle base
Jan 18 10:25:48 s6-rc-compile: tracing: legacy-services depends on longrun s6rc-oneshot-runner (0)
Jan 18 10:25:48 s6-rc-compile: info: converting service dependency array
Jan 18 10:25:48 s6-rc-compile: info: checking database correctness
Jan 18 10:25:48 s6-rc-compile: info: writing compiled information to /run/s6/db
Jan 18 10:25:48 s6-rc-compile: info: writing /run/s6/db/n
Jan 18 10:25:48 s6-rc-compile: info: writing /run/s6/db/resolve.cdb
Jan 18 10:25:48 s6-rc-compile: info: writing /run/s6/db/db
Jan 18 10:25:48 s6-rc-compile: info: writing /run/s6/db/servicedirs
Jan 18 10:25:48 s6-rc: info: bringing selected services up
Jan 18 10:25:48 s6-rc: info: service mdns: starting
Jan 18 10:25:48 s6-rc: info: service s6rc-oneshot-runner: starting
Jan 18 10:25:48 s6-rc: info: service mdns successfully started
Jan 18 10:25:48 s6-rc: info: service s6rc-oneshot-runner successfully started
Jan 18 10:25:48 s6-rc: info: service fix-attrs: starting
Jan 18 10:25:48 s6-ipcclient: info: s6-ipcclient: connected to /run/s6-rc/servicedirs/s6rc-oneshot-runner/s
Jan 18 10:25:48 s6-rc: info: service universal-silabs-flasher: starting
Jan 18 10:25:48 s6-ipcclient: info: s6-ipcclient: connected to /run/s6-rc/servicedirs/s6rc-oneshot-runner/s
Jan 18 10:25:48 s6-rc: info: service fix-attrs successfully started
Jan 18 10:25:48 s6-rc: info: service legacy-cont-init: starting
Jan 18 10:25:48 s6-ipcclient: info: s6-ipcclient: connected to /run/s6-rc/servicedirs/s6rc-oneshot-runner/s
Jan 18 10:25:48 cont-init: info: running /etc/cont-init.d/check-cpcd-shm.sh
Jan 18 10:25:48 cont-init: info: /etc/cont-init.d/check-cpcd-shm.sh exited 0
Jan 18 10:25:48 cont-init: info: running /etc/cont-init.d/config.sh
Jan 18 10:25:48 [32m2024-01-18 10:25:48 [INFO] Starting mDNS Responder...[0m
Jan 18 10:25:48 Default: mDNSResponder (Engineering Build) (Jan 11 2024 17:02:25) starting
Jan 18 10:25:48 [32m2024-01-18 10:25:48 [INFO] Flashing firmware is disabled[0m
Jan 18 10:25:48 s6-rc: info: service universal-silabs-flasher successfully started
Jan 18 10:25:48 s6-rc: info: service cpcd: starting
Jan 18 10:25:48 [32m2024-01-18 10:25:48 [INFO]
Jan 18 10:25:48 ######### ENV ######[0m
Jan 18 10:25:48 DEBUG_MODE=true
Jan 18 10:25:48 S6_BEHAVIOUR_IF_STAGE2_FAILS=2
Jan 18 10:25:48 HOSTNAME=shinkandia
Jan 18 10:25:48 S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0
Jan 18 10:25:48 S6_SERVICES_READYTIME=50
Jan 18 10:25:48 BAUDRATE=460800
Jan 18 10:25:48 BACKBONE_IF=enp86s0
Jan 18 10:25:48 PWD=/run/s6-rc:s6-rc-init:JMbGce/servicedirs/s6rc-oneshot-runner
Jan 18 10:25:48 BACKBONE_ROUTER=1
Jan 18 10:25:48 FLOW_CONTROL=true
Jan 18 10:25:48 HOME=/root
Jan 18 10:25:48 LANG=C.UTF-8
Jan 18 10:25:48 WEB_GUI=1
Jan 18 10:25:48 OTBR_LOG_LEVEL=notice
Jan 18 10:25:48 S6_VERBOSITY=5
Jan 18 10:25:48 S6_STAGE2_HOOK=/etc/s6-overlay/scripts/enable-check.sh
Jan 18 10:25:48 AUTOFLASH_FIRMWARE=0
Jan 18 10:25:48 OTBR_WEB_PORT=8086
Jan 18 10:25:48 TERM=xterm
Jan 18 10:25:48 OTB_FIREWALL=1
Jan 18 10:25:48 CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
Jan 18 10:25:48 CPCD_TRACE=false
Jan 18 10:25:48 OTBR_BUILD_DEPS=build-essential ninja-build cmake wget ca-certificates libreadline-dev libncurses-dev libcpputest-dev libdbus-1-dev libavahi-common-dev libavahi-client-dev libboost-dev libboost-filesystem-dev libboost-system-dev libnetfilter-queue-dev
Jan 18 10:25:48 SHLVL=1
Jan 18 10:25:48 DOCKER=1
Jan 18 10:25:48 CPCP_DISABLE_ENCRYPTION=true
Jan 18 10:25:48 OTBR_REST_LISTEN_PORT=8081
Jan 18 10:25:48 DEVICE=/dev/ttyUSB0
Jan 18 10:25:48 BORDER_ROUTING=1
Jan 18 10:25:48 PATH=/command:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Jan 18 10:25:48 S6_CMD_WAIT_FOR_SERVICES=1
Jan 18 10:25:48 NETWORK_DEVICES=0
Jan 18 10:25:48 EZSP_LISTEN_PORT=20108
Jan 18 10:25:48 DEBIAN_FRONTEND=noninteractive
Jan 18 10:25:48 OTBR_ENABLE=1
Jan 18 10:25:48 _=/usr/bin/env
Jan 18 10:25:48 [32m2024-01-18 10:25:48 [INFO] Starting cpcd...[0m
Jan 18 10:25:48 WARNING in function 'main' in file /usr/src/cpc-daemon/main.c at line #187 : Running CPCd as 'root' is not recommended. Proceed at your own risk.
Jan 18 10:25:48 FATAL in function 'config_validate_configuration' in file /usr/src/cpc-daemon/misc/config.c at line #967 : Use of encryption was requested, but the daemon was not compiled with -DENABLE_ENCRYPTION
Jan 18 10:25:48 [32m2024-01-18 10:25:48 [INFO] Generating cpcd configuration.[0m
Jan 18 10:25:48 cont-init: info: /etc/cont-init.d/config.sh exited 0
Jan 18 10:25:48 s6-rc: info: service legacy-cont-init successfully started
Jan 18 10:25:49 [2024-01-18T10:25:48.088960Z] Info : [CPCd v4.4.0.0] [Library API v3] [RCP Protocol v5]
Jan 18 10:25:49 [2024-01-18T10:25:48.088977Z] Info : Git commit: 1fcaa81347466165f81e4533ee4471e9c3b6db0a / branch:
Jan 18 10:25:49 [2024-01-18T10:25:48.088978Z] Info : Sources hash: 1e938c77bacd9c9d6d8fe7b457208a3a8a2435bd6374a1918605ffb864bf1ebe
Jan 18 10:25:49 [2024-01-18T10:25:48.088979Z] WARNING : In function 'main' in file /usr/src/cpc-daemon/main.c at line #187 : Running CPCd as 'root' is not recommended. Proceed at your own risk.
Jan 18 10:25:49 [2024-01-18T10:25:48.088986Z] Info : Reading cli arguments
Jan 18 10:25:49 [2024-01-18T10:25:48.088989Z] Info : /usr/local/bin/cpcd
Jan 18 10:25:49 [2024-01-18T10:25:48.089037Z] *** ASSERT *** : FATAL in function 'config_validate_configuration' in file /usr/src/cpc-daemon/misc/config.c at line #967 : Use of encryption was requested, but the daemon was not compiled with -DENABLE_ENCRYPTION
Jan 18 10:25:49 [2024-01-18T10:25:49.089121Z] Info : Daemon exiting with status EXIT_FAILURE
Jan 18 10:25:49 Logger buffer size = 28672, highwater mark = 844 : 2.94%. Lost logs : 0
Jan 18 10:25:49 [32m2024-01-18 10:25:49 [INFO] CPC ended with exit code 1 (signal 0)...[0m
Jan 18 10:25:49 rm: cannot remove '/dev/shm/cpcd': No such file or directory
Jan 18 10:25:50 [32m2024-01-18 10:25:50 [INFO] Starting cpcd...[0m
Jan 18 10:25:50 WARNING in function 'main' in file /usr/src/cpc-daemon/main.c at line #187 : Running CPCd as 'root' is not recommended. Proceed at your own risk.
Jan 18 10:25:51 s6-rc: info: service cpcd successfully started
Jan 18 10:25:51 s6-rc: info: service zigbeed: starting
Jan 18 10:25:51 s6-rc: info: service otbr-agent: starting
Jan 18 10:25:51 s6-rc: info: service zigbeed successfully started
Jan 18 10:25:51 [32m2024-01-18 10:25:51 [INFO] Starting zigbeed...[0m
Jan 18 10:25:51 By using this software, you are agreeing to the Silicon Labs MSLA found at https://www.silabs.com/about-us/legal/master-software-license-agreement.
Jan 18 10:25:51 [32m2024-01-18 10:25:51 [INFO] Setup OTBR firewall...[0m
Jan 18 10:25:51 [32m2024-01-18 10:25:51 [INFO] Starting otbr-agent...[0m
Jan 18 10:25:51 otbr-agent[259]: [NOTE]-AGENT---: Running 0.3.0
Jan 18 10:25:51 otbr-agent[259]: [NOTE]-AGENT---: Thread version: 1.3.0
Jan 18 10:25:51 otbr-agent[259]: [NOTE]-AGENT---: Thread interface: wpan0
Jan 18 10:25:51 otbr-agent[259]: [NOTE]-AGENT---: Radio URL: spinel+cpc://cpcd_0?iid=2&iid-list=0
Jan 18 10:25:51 otbr-agent[259]: [NOTE]-ILS-----: Infra link selected: enp86s0
Jan 18 10:25:51 otbr-agent[259]: 49d.18:08:52.541 [C] Platform------: mCpcBusSpeed = 115200
Jan 18 10:25:51 [2024-01-18T10:25:50.139998Z] Info : [CPCd v4.4.0.0] [Library API v3] [RCP Protocol v5]
Jan 18 10:25:51 [2024-01-18T10:25:50.140025Z] Info : Git commit: 1fcaa81347466165f81e4533ee4471e9c3b6db0a / branch:
Jan 18 10:25:51 [2024-01-18T10:25:50.140028Z] Info : Sources hash: 1e938c77bacd9c9d6d8fe7b457208a3a8a2435bd6374a1918605ffb864bf1ebe
Jan 18 10:25:51 [2024-01-18T10:25:50.140032Z] WARNING : In function 'main' in file /usr/src/cpc-daemon/main.c at line #187 : Running CPCd as 'root' is not recommended. Proceed at your own risk.
Jan 18 10:25:51 [2024-01-18T10:25:50.140043Z] Info : Reading cli arguments
Jan 18 10:25:51 [2024-01-18T10:25:50.140049Z] Info : /usr/local/bin/cpcd
Jan 18 10:25:51 [2024-01-18T10:25:50.141212Z] Info : Reading configuration
Jan 18 10:25:51 [2024-01-18T10:25:50.141213Z] Info : file_path = /usr/local/etc/cpcd.conf
Jan 18 10:25:51 [2024-01-18T10:25:50.141214Z] Info : instance_name = cpcd_0
Jan 18 10:25:51 [2024-01-18T10:25:50.141215Z] Info : socket_folder = /dev/shm
Jan 18 10:25:51 [2024-01-18T10:25:50.141216Z] Info : operation_mode = MODE_NORMAL
Jan 18 10:25:51 [2024-01-18T10:25:50.141217Z] Info : use_encryption = false
Jan 18 10:25:51 [2024-01-18T10:25:50.141218Z] Info : binding_key_file = /root/.cpcd/binding.key
Jan 18 10:25:51 [2024-01-18T10:25:50.141219Z] Info : stdout_tracing = false
Jan 18 10:25:51 [2024-01-18T10:25:50.141219Z] Info : file_tracing = false
Jan 18 10:25:51 [2024-01-18T10:25:50.141220Z] Info : lttng_tracing = false
Jan 18 10:25:51 [2024-01-18T10:25:50.141221Z] Info : enable_frame_trace = false
Jan 18 10:25:51 [2024-01-18T10:25:50.141222Z] Info : traces_folder = /dev/shm/cpcd-traces
Jan 18 10:25:51 [2024-01-18T10:25:50.141222Z] Info : bus = UART
Jan 18 10:25:51 [2024-01-18T10:25:50.141223Z] Info : uart_baudrate = 460800
Jan 18 10:25:51 [2024-01-18T10:25:50.141224Z] Info : uart_hardflow = true
Jan 18 10:25:51 [2024-01-18T10:25:50.141225Z] Info : uart_file = /dev/ttyUSB0
Jan 18 10:25:51 [2024-01-18T10:25:50.141226Z] Info : fu_recovery_pins_enabled = false
Jan 18 10:25:51 [2024-01-18T10:25:50.141226Z] Info : fu_connect_to_bootloader = false
Jan 18 10:25:51 [2024-01-18T10:25:50.141227Z] Info : fu_enter_bootloader = false
Jan 18 10:25:51 [2024-01-18T10:25:50.141228Z] Info : restart_cpcd = false
Jan 18 10:25:51 [2024-01-18T10:25:50.141229Z] Info : application_version_validation = false
Jan 18 10:25:51 [2024-01-18T10:25:50.141229Z] Info : print_secondary_versions_and_exit = false
Jan 18 10:25:51 [2024-01-18T10:25:50.141230Z] Info : use_noop_keep_alive = false
Jan 18 10:25:51 [2024-01-18T10:25:50.141231Z] Info : reset_sequence = true
Jan 18 10:25:51 [2024-01-18T10:25:50.141232Z] Info : stats_interval = 0
Jan 18 10:25:51 [2024-01-18T10:25:50.141233Z] Info : rlimit_nofile = 2000
Jan 18 10:25:51 [2024-01-18T10:25:50.141233Z] Info : [31;1mENCRYPTION IS DISABLED [0m
Jan 18 10:25:51 [2024-01-18T10:25:50.152406Z] Info : Starting daemon in normal mode
Jan 18 10:25:51 [2024-01-18T10:25:50.163755Z] Info : Connecting to Secondary...
Jan 18 10:25:51 [2024-01-18T10:25:50.239540Z] Info : RX capability is 256 bytes
Jan 18 10:25:51 [2024-01-18T10:25:50.239558Z] Info : Connected to Secondary
Jan 18 10:25:51 [2024-01-18T10:25:50.242852Z] Info : Secondary Protocol v4
Jan 18 10:25:51 [2024-01-18T10:25:50.249714Z] Info : Secondary CPC v4.3.2
Jan 18 10:25:51 [2024-01-18T10:25:50.753373Z] Info : Secondary bus bitrate is 460800
Jan 18 10:25:51 [2024-01-18T10:25:50.760088Z] Info : Secondary APP vUNDEFINED
Jan 18 10:25:51 [2024-01-18T10:25:50.760190Z] Info : Daemon startup was successful. Waiting for client connections
Jan 18 10:25:51 [2024-01-18T10:25:51.111854Z] Info : New client connection using library v4.4.0.0
Jan 18 10:25:51 [2024-01-18T10:25:51.115399Z] Info : Opened connection socket for ep#12
Jan 18 10:25:51 [2024-01-18T10:25:51.119001Z] Info : Endpoint socket #12: Client connected. 1 connection(s)
Jan 18 10:25:52 [2024-01-18T10:25:52.080417Z] Info : New client connection using library v4.4.0.0
Jan 18 10:25:52 [2024-01-18T10:25:52.084100Z] Info : Endpoint socket #12: Client connected. 2 connection(s)
Jan 18 10:25:53 otbr-agent[259]: 00:00:00.068 [N] RoutingManager: BR ULA prefix: fd75:999a:abae::/48 (loaded)
Jan 18 10:25:53 otbr-agent[259]: 00:00:00.068 [N] RoutingManager: Local on-link prefix: fdde:ad00:beef:cafe::/64
Jan 18 10:25:53 s6-rc: info: service otbr-agent successfully started
Jan 18 10:25:53 s6-rc: info: service otbr-web: starting
Jan 18 10:25:53 s6-rc: info: service otbr-web successfully started
Jan 18 10:25:53 s6-ipcclient: info: s6-ipcclient: connected to /run/s6-rc/servicedirs/s6rc-oneshot-runner/s
Jan 18 10:25:53 [32m2024-01-18 10:25:53 [INFO] Starting otbr-web...[0m
Jan 18 10:25:53 s6-rc: info: service legacy-services: starting
Jan 18 10:25:53 otbr-web[346]: [INFO]-WEB-----: Running 0.3.0
Jan 18 10:25:53 listenAddr not specified, using default ::
Jan 18 10:25:53 otbr-web[346]: [INFO]-WEB-----: Border router web started on wpan0
Jan 18 10:25:53 s6-rc: info: service legacy-services successfully started
Jan 18 10:25:53 s6-rc: info: bringing selected services down
Jan 18 10:25:53 s6-rc: info: service legacy-services: stopping
Jan 18 10:25:53 s6-ipcclient: info: s6-ipcclient: connected to /run/s6-rc/servicedirs/s6rc-oneshot-runner/s
Jan 18 10:25:53 s6-rc: info: service legacy-services successfully stopped
Jan 18 10:25:53 s6-rc: info: service legacy-cont-init: stopping
Jan 18 10:25:53 s6-ipcclient: info: s6-ipcclient: connected to /run/s6-rc/servicedirs/s6rc-oneshot-runner/s
Jan 18 10:25:53 s6-rc: info: service zigbeed: stopping
Jan 18 10:25:53 s6-rc: info: service otbr-web: stopping
Jan 18 10:25:53 s6-rc: info: service mdns: stopping
Jan 18 10:25:53 otbr-web[346]: [CRIT]-WEB-----: Stopping web server
Jan 18 10:25:53 Default: mDNSResponder (Engineering Build) (Jan 11 2024 17:02:25) stopping
Jan 18 10:25:53 otbr-agent[259]: [WARN]-MDNS----: DNSServiceProcessResult failed: Service Not Running (serviceRef = 0x5606e1a4c0c0)
Jan 18 10:25:53 otbr-agent[259]: [WARN]-MDNS----: Need to reconnect to mdnsd
Jan 18 10:25:53 otbr-agent[259]: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:20 Err:-1 Errno:111 Connection refused
Jan 18 10:25:53 otbr-agent[259]: [ERR ]-MDNS----: Failed to register service Home Assistant Silicon Labs Multiprotocol #4AC7._meshcop._udp: Service Not Running
Jan 18 10:25:53 otbr-agent[259]: [WARN]-BA------: Result of publish meshcop service Home Assistant Silicon Labs Multiprotocol #4AC7._meshcop._udp.local: Invalid state
Jan 18 10:25:53 s6-rc: info: service legacy-cont-init successfully stopped
Jan 18 10:25:53 s6-rc: info: service fix-attrs: stopping
Jan 18 10:25:53 s6-ipcclient: info: s6-ipcclient: connected to /run/s6-rc/servicedirs/s6rc-oneshot-runner/s
Jan 18 10:25:53 s6-rc: info: service fix-attrs successfully stopped
Jan 18 10:25:53 [32m2024-01-18 10:25:53 [INFO] zigbeed ended with exit code 256 (signal 15)...[0m
Jan 18 10:25:53 [32m2024-01-18 10:25:53 [INFO] otbr-web ended with exit code 0 (signal 0)...[0m
Jan 18 10:25:53 s6-rc: info: service zigbeed successfully stopped
Jan 18 10:25:53 [32m2024-01-18 10:25:53 [INFO] mDNS ended with exit code 4 (signal 0)...[0m
Jan 18 10:25:53 s6-rc: info: service otbr-web successfully stopped
Jan 18 10:25:53 s6-rc: info: service otbr-agent: stopping
Jan 18 10:25:53 s6-rc: info: service mdns successfully stopped
Jan 18 10:25:53 [32m2024-01-18 10:25:53 [INFO] otbr-agent ended with exit code 0 (signal 0)...[0m
Jan 18 10:25:53 OTBR_FORWARD_INGRESS all opt in * out wpan0 ::/0 -> ::/0
Jan 18 10:25:53 Chain OTBR_FORWARD_INGRESS (0 references)
Jan 18 10:25:53 target prot opt source destination
Jan 18 10:25:53 DROP all anywhere anywhere PKTTYPE = unicast
Jan 18 10:25:53 DROP all anywhere anywhere match-set otbr-ingress-deny-src src
Jan 18 10:25:53 ACCEPT all anywhere anywhere match-set otbr-ingress-allow-dst dst
Jan 18 10:25:53 DROP all anywhere anywhere PKTTYPE = unicast
Jan 18 10:25:53 ACCEPT all anywhere anywhere
Jan 18 10:25:53 otbr-ingress-deny-src
Jan 18 10:25:53 otbr-ingress-deny-src-swap
Jan 18 10:25:53 otbr-ingress-allow-dst
Jan 18 10:25:53 otbr-ingress-allow-dst-swap
Jan 18 10:25:53 OTBR_FORWARD_EGRESS all opt in wpan0 out * ::/0 -> ::/0
Jan 18 10:25:53 Chain OTBR_FORWARD_EGRESS (0 references)
Jan 18 10:25:53 target prot opt source destination
Jan 18 10:25:53 ACCEPT all anywhere anywhere
Jan 18 10:25:53 [32m2024-01-18 10:25:53 [INFO] OTBR firewall teardown completed.[0m
Jan 18 10:25:53 s6-rc: info: service otbr-agent successfully stopped
Jan 18 10:25:53 s6-rc: info: service cpcd: stopping
Jan 18 10:25:53 [2024-01-18T10:25:53.586989Z] Info : Endpoint socket #12: Client disconnected. 1 connections
Jan 18 10:25:53 [2024-01-18T10:25:53.587008Z] Info : Client disconnected
Jan 18 10:25:53 [2024-01-18T10:25:53.600524Z] Info : Endpoint socket #12: Client disconnected. 0 connections
Jan 18 10:25:53 [2024-01-18T10:25:53.642579Z] Info : Client disconnected
Jan 18 10:25:53 [2024-01-18T10:25:53.971508Z] Info : Server core cleanup
Jan 18 10:25:53 [2024-01-18T10:25:53.971558Z] Info : Daemon exiting with status EXIT_SUCCESS
Jan 18 10:25:53 Logger buffer size = 28672, highwater mark = 3231 : 11.27%. Lost logs : 0
Jan 18 10:25:53 [32m2024-01-18 10:25:53 [INFO] CPC ended with exit code 0 (signal 0)...[0m
Jan 18 10:25:53 s6-rc: info: service cpcd successfully stopped
Jan 18 10:25:53 s6-rc: info: service universal-silabs-flasher: stopping
Jan 18 10:25:53 s6-ipcclient: info: s6-ipcclient: connected to /run/s6-rc/servicedirs/s6rc-oneshot-runner/s
Jan 18 10:25:53 s6-rc: info: service universal-silabs-flasher successfully stopped
Jan 18 10:25:53 s6-rc: info: service s6rc-oneshot-runner: stopping
Jan 18 10:25:53 s6-rc: info: service s6rc-oneshot-runner successfully stopped
```
After the legacy-services started, s6 brings the services down, not sure why
```
Jan 18 10:25:53 s6-rc: info: service legacy-services successfully started
Jan 18 10:25:53 s6-rc: info: bringing selected services down
```
b2un0:main
← crystalin:patch-1
opened 01:13PM - 18 Jan 24 UTC
`cpcd` service needs to wait until the cpcd.conf (from `legacy-cont-init` script… ) is created, otherwise it can fail and trigger a s6 halt
the docker images with 2.4.3(latest) are rebuilded
https://hub.docker.com/r/b2un0/silabs-multipan-docker
cadmium
January 19, 2024, 2:04am
118
Thanks so much for updating me! I have re-pulled 2.4.3
, and I can confirm that the image is no longer randomly quitting
Would you also be able to re-build 2.4.2
version with these changes? It appears that 2.4.3
has incompatibility problems with zigbee2mqtt, and I am thus unable to connect z2m to this version of the silabs addon: Assertion failed: Command (setConfigurationValue) returned unexpected state: [object Object] · Issue #19168 · Koenkk/zigbee2mqtt · GitHub
Thanks so much again!
cadmium
January 19, 2024, 1:58pm
120
Thanks so much; I am able to now get zigbee2mqtt to connect and resume operation
1 Like
fdequeker
(Florian Dequeker)
January 25, 2024, 6:44pm
121
Hello @MowMdown , how do you got it to work on unraid with home assistant container ? Thank you
seems broken still over here as well…
(Unraid hosting Home Assistant VM)
[15:17:13] INFO: Starting cpcd…
WARNING in function ‘main’ in file /usr/src/cpc-daemon/main.c at line #186 : Running CPCd as ‘root’ is not recommended. Proceed at your own risk.
FATAL in function ‘protocol_version_check’ in file /usr/src/cpc-daemon/server_core/server_core.c at line #729 : Secondary Protocol v5 doesn’t match CPCd Protocol v4
[15:17:13:333160] Info : [CPCd v4.3.1.0] [Library API v3] [RCP Protocol v4]
[15:17:13:333184] Info : Git commit: 133b29678b3d0bc7578e098d2f46b4d5bcd2ebb4 / branch:
[15:17:13:333185] Info : Sources hash: ff8300587e7e4ab1def7a89a272c0baef32f9eb3bff9b0ba06b94e655d652367
[15:17:13:333186] WARNING : In function ‘main’ in file /usr/src/cpc-daemon/main.c at line #186 : Running CPCd as ‘root’ is not recommended. Proceed at your own risk.
[15:17:13:333194] Info : Reading cli arguments
[15:17:13:333196] Info : /usr/local/bin/cpcd
[15:17:13:335096] Info : Reading configuration
[15:17:13:335098] Info : file_path = /usr/local/etc/cpcd.conf
[15:17:13:335099] Info : instance_name = cpcd_0
[15:17:13:335099] Info : socket_folder = /dev/shm
[15:17:13:335100] Info : operation_mode = MODE_NORMAL
[15:17:13:335100] Info : use_encryption = false
[15:17:13:335101] Info : binding_key_file = /etc/binding-key.key
[15:17:13:335101] Info : stdout_tracing = false
[15:17:13:335102] Info : file_tracing = false
[15:17:13:335102] Info : lttng_tracing = false
[15:17:13:335103] Info : enable_frame_trace = false
[15:17:13:335103] Info : traces_folder = /dev/shm/cpcd-traces
[15:17:13:335104] Info : bus = UART
[15:17:13:335104] Info : uart_baudrate = 460800
[15:17:13:335105] Info : uart_hardflow = true
[15:17:13:335105] Info : uart_file = /dev/ttyUSB0
[15:17:13:335105] Info : fu_recovery_pins_enabled = false
[15:17:13:335106] Info : fu_connect_to_bootloader = false
[15:17:13:335106] Info : fu_enter_bootloader = false
[15:17:13:335107] Info : restart_cpcd = false
[15:17:13:335107] Info : application_version_validation = false
[15:17:13:335108] Info : print_secondary_versions_and_exit = false
[15:17:13:335109] Info : use_noop_keep_alive = false
[15:17:13:335109] Info : reset_sequence = true
[15:17:13:335110] Info : stats_interval = 0
[15:17:13:335110] Info : rlimit_nofile = 2000
[15:17:13:335111] Info : ENCRYPTION IS DISABLED
[15:17:13:335111] Info : Starting daemon in normal mode
[15:17:13:345783] Info : Connecting to Secondary…
[15:17:13:426296] Info : RX capability is 256 bytes
[15:17:13:426303] Info : Connected to Secondary
[15:17:13:430023] Info : Secondary Protocol v5
[15:17:13:430026] *** ASSERT *** : FATAL in function ‘protocol_version_check’ in file /usr/src/cpc-daemon/server_core/server_core.c at line #729 : Secondary Protocol v5 doesn’t match CPCd Protocol v4
[15:17:14:430385] Info : Daemon exiting with status EXIT_FAILURE
Logger buffer size = 28672, highwater mark = 2438 : 8.50%. Lost logs : 0
[15:17:14] INFO: CPC ended with exit code 1 (signal 0)…
edit: I updated it on Home Assistant SkyConnect and it started up in the addon now, but it still doesn’t work within home assistant. I still get Unknown error occured
leopold
January 26, 2024, 10:36am
123
okay?! and how do you think we should help now?
I have no idea… I switched it just just straight zigbee firmware for now and its solid. the multi-pan is so unstable.