Есть какая-то инструкция как обрабатывать нажатия в новой прошивке 3.4.0 для WB-LED?
Добрый день! Всё точно так же как и ранее. Вам нужно обновить прошивку на 3.4.0 и обновить пакеты через apt update; apt upgrade
. Поддержка событий для WB-LED появилась в wb-mqtt-serial с версии 2.93.4.
Если вы использовали счетчики нажатий в правилах на контроллере, то теперь отклик на них будет быстрее и время отклика не будет зависеть от числа устройств на шине и от числа опрашиваемых каналов. Специально ничего настраивать и менять правила не нужно.
не получается выполнить apt update; apt upgrade
W: Failed to fetch http://deb.wirenboard.com/wb6/bullseye/dists/testing/InRelease Splitting up /var/lib/apt/lists/partial/deb.wirenboard.com_wb6_bullseye_dists_testing_InRelease into data and signature failed
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
python3-wb-diag-collect python3-wb-mqtt-metrics python3-wb-nm-helper wb-configs wb-diag-collect wb-mqtt-metrics wb-mqtt-serial wb-nm-helper wb-release-info
9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
33 not fully installed or removed.
Need to get 937 kB/945 kB of archives.
After this operation, 12.3 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Err:1 http://deb.wirenboard.com/wb6/bullseye testing/main armhf wb-configs all 3.18.4
Connection failed [IP: 52.218.25.212 80]
Err:2 http://deb.wirenboard.com/wb6/bullseye testing/main armhf wb-release-info all 1.0-testing~wb6+bullseye~20230718122619
Connection failed [IP: 52.92.4.36 80]
Err:3 http://deb.wirenboard.com/wb6/bullseye testing/main armhf wb-diag-collect all 1.6.1
Connection failed [IP: 52.218.37.92 80]
Err:4 http://deb.wirenboard.com/wb6/bullseye testing/main armhf python3-wb-diag-collect all 1.6.1
Connection failed [IP: 52.218.109.156 80]
Err:5 http://deb.wirenboard.com/wb6/bullseye testing/main armhf wb-nm-helper all 1.27.5
Connection failed [IP: 52.218.25.212 80]
Err:6 http://deb.wirenboard.com/wb6/bullseye testing/main armhf python3-wb-nm-helper all 1.27.5
Connection failed [IP: 52.92.4.36 80]
Err:7 http://deb.wirenboard.com/wb6/bullseye testing/main armhf wb-mqtt-serial armhf 2.90.0
Connection failed [IP: 52.218.37.92 80]
(Reading database ... 34241 files and directories currently installed.)
Preparing to unpack .../wb-mqtt-metrics_0.3.1_all.deb ...
Unpacking wb-mqtt-metrics (0.3.1) over (0.3.0) ...
Preparing to unpack .../python3-wb-mqtt-metrics_0.3.1_all.deb ...
Unpacking python3-wb-mqtt-metrics (0.3.1) over (0.3.0) ...
Setting up libfile-fcntllock-perl (0.22-3+b7) ...
Setting up libalgorithm-diff-perl (1.201-1) ...
Setting up binutils-common:armhf (2.35.2-2) ...
Setting up libctf-nobfd0:armhf (2.35.2-2) ...
Setting up libgomp1:armhf (10.2.1-6) ...
Setting up libfakeroot:armhf (1.25.3-1.1) ...
Setting up libasan6:armhf (10.2.1-6) ...
Setting up fakeroot (1.25.3-1.1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/fakeroot.1.gz because associated file /usr/share/man/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/faked.1.gz because associated file /usr/share/man/man1/faked-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/es/man1/fakeroot.1.gz because associated file /usr/share/man/es/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/es/man1/faked.1.gz because associated file /usr/share/man/es/man1/faked-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/fr/man1/fakeroot.1.gz because associated file /usr/share/man/fr/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/fr/man1/faked.1.gz because associated file /usr/share/man/fr/man1/faked-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/sv/man1/fakeroot.1.gz because associated file /usr/share/man/sv/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/sv/man1/faked.1.gz because associated file /usr/share/man/sv/man1/faked-sysv.1.gz (of link group fakeroot) doesn't exist
Setting up make (4.3-4.1) ...
Setting up libmpfr6:armhf (4.1.0-3) ...
Setting up python3-wb-mqtt-metrics (0.3.1) ...
Setting up libmpc3:armhf (1.2.0-1) ...
Setting up libatomic1:armhf (10.2.1-6) ...
Setting up libdpkg-perl (1.20.12) ...
Setting up libubsan1:armhf (10.2.1-6) ...
Setting up libbinutils:armhf (2.35.2-2) ...
Setting up libisl23:armhf (0.23-1) ...
Setting up libalgorithm-diff-xs-perl (0.04-6+b1) ...
Setting up libcc1-0:armhf (10.2.1-6) ...
Setting up liblocale-gettext-perl (1.07-4+b1) ...
Setting up cpp-10 (10.2.1-6) ...
Setting up libalgorithm-merge-perl (0.08-3) ...
Setting up libctf0:armhf (2.35.2-2) ...
Setting up libgcc-10-dev:armhf (10.2.1-6) ...
Setting up wb-mqtt-metrics (0.3.1) ...
Setting up cpp (4:10.2.1-1) ...
Setting up binutils-arm-linux-gnueabihf (2.35.2-2) ...
Setting up libstdc++-10-dev:armhf (10.2.1-6) ...
Setting up binutils (2.35.2-2) ...
Setting up dpkg-dev (1.20.12) ...
Setting up gcc-10 (10.2.1-6) ...
Setting up g++-10 (10.2.1-6) ...
Setting up gcc (4:10.2.1-1) ...
Setting up g++ (4:10.2.1-1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.9) ...
Processing triggers for libc-bin (2.31-13+deb11u6) ...
E: Failed to fetch http://deb.wirenboard.com/wb6/bullseye/pool/main/w/wb-configs/wb-configs_3.18.4_all.deb Connection failed [IP: 52.218.25.212 80]
E: Failed to fetch http://deb.wirenboard.com/wb6/bullseye/pool/main/w/wb-release-info/wb-release-info_1.0-testing%7ewb6%2bbullseye%7e20230718122619_all.deb Connection failed [IP: 52.92.4.36 80]
E: Failed to fetch http://deb.wirenboard.com/wb6/bullseye/pool/main/w/wb-diag-collect/wb-diag-collect_1.6.1_all.deb Connection failed [IP: 52.218.37.92 80]
E: Failed to fetch http://deb.wirenboard.com/wb6/bullseye/pool/main/w/wb-diag-collect/python3-wb-diag-collect_1.6.1_all.deb Connection failed [IP: 52.218.109.156 80]
E: Failed to fetch http://deb.wirenboard.com/wb6/bullseye/pool/main/w/wb-nm-helper/wb-nm-helper_1.27.5_all.deb Connection failed [IP: 52.218.25.212 80]
E: Failed to fetch http://deb.wirenboard.com/wb6/bullseye/pool/main/w/wb-nm-helper/python3-wb-nm-helper_1.27.5_all.deb Connection failed [IP: 52.92.4.36 80]
E: Failed to fetch http://deb.wirenboard.com/wb6/bullseye/pool/main/w/wb-mqtt-serial/wb-mqtt-serial_2.90.0_armhf.deb Connection failed [IP: 52.218.37.92 80]
root@wirenboard-ADOT5UTN:~#
root@wirenboard-ADOT5UTN:~#
root@wirenboard-ADOT5UTN:~# apt update && apt upgrade
Get:1 http://deb.wirenboard.com/wb6/bullseye testing InRelease [3943 B]
Hit:2 https://deb.nodesource.com/node_16.x bullseye InRelease
Err:1 http://deb.wirenboard.com/wb6/bullseye testing InRelease
Splitting up /var/lib/apt/lists/partial/deb.wirenboard.com_wb6_bullseye_dists_testing_InRelease into data and signature failed
Get:3 https://download.docker.com/linux/debian bullseye InRelease [43.3 kB]
Err:2 https://deb.nodesource.com/node_16.x bullseye InRelease
Splitting up /var/lib/apt/lists/deb.nodesource.com_node%5f16.x_dists_bullseye_InRelease into data and signature failed
Err:3 https://download.docker.com/linux/debian bullseye InRelease
Splitting up /var/lib/apt/lists/partial/download.docker.com_linux_debian_dists_bullseye_InRelease into data and signature failed
Hit:4 http://deb.debian.org/debian bullseye InRelease
Get:5 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Err:4 http://deb.debian.org/debian bullseye InRelease
Splitting up /var/lib/apt/lists/deb.debian.org_debian_dists_bullseye_InRelease into data and signature failed
Err:5 http://security.debian.org/debian-security bullseye-security InRelease
Splitting up /var/lib/apt/lists/partial/security.debian.org_debian-security_dists_bullseye-security_InRelease into data and signature failed
Get:6 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Err:6 http://deb.debian.org/debian bullseye-updates InRelease
Splitting up /var/lib/apt/lists/partial/deb.debian.org_debian_dists_bullseye-updates_InRelease into data and signature failed
Get:7 http://deb.debian.org/debian bullseye-backports InRelease [49.0 kB]
Err:7 http://deb.debian.org/debian bullseye-backports InRelease
Splitting up /var/lib/apt/lists/partial/deb.debian.org_debian_dists_bullseye-backports_InRelease into data and signature failed
Fetched 47.3 kB in 2s (20.3 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
7 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.wirenboard.com/wb6/bullseye testing InRelease: Splitting up /var/lib/apt/lists/partial/deb.wirenboard.com_wb6_bullseye_dists_testing_InRelease into data and signature failed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://deb.nodesource.com/node_16.x bullseye InRelease: Splitting up /var/lib/apt/lists/deb.nodesource.com_node%5f16.x_dists_bullseye_InRelease into data and signature failed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://download.docker.com/linux/debian bullseye InRelease: Splitting up /var/lib/apt/lists/partial/download.docker.com_linux_debian_dists_bullseye_InRelease into data and signature failed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.debian.org/debian bullseye InRelease: Splitting up /var/lib/apt/lists/deb.debian.org_debian_dists_bullseye_InRelease into data and signature failed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.debian.org/debian-security bullseye-security InRelease: Splitting up /var/lib/apt/lists/partial/security.debian.org_debian-security_dists_bullseye-security_InRelease into data and signature failed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.debian.org/debian bullseye-updates InRelease: Splitting up /var/lib/apt/lists/partial/deb.debian.org_debian_dists_bullseye-updates_InRelease into data and signature failed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.debian.org/debian bullseye-backports InRelease: Splitting up /var/lib/apt/lists/partial/deb.debian.org_debian_dists_bullseye-backports_InRelease into data and signature failed
W: Failed to fetch http://deb.debian.org/debian/dists/bullseye/InRelease Splitting up /var/lib/apt/lists/deb.debian.org_debian_dists_bullseye_InRelease into data and signature failed
W: Failed to fetch http://deb.debian.org/debian/dists/bullseye-updates/InRelease Splitting up /var/lib/apt/lists/partial/deb.debian.org_debian_dists_bullseye-updates_InRelease into data and signature failed
W: Failed to fetch http://deb.debian.org/debian/dists/bullseye-backports/InRelease Splitting up /var/lib/apt/lists/partial/deb.debian.org_debian_dists_bullseye-backports_InRelease into data and signature failed
W: Failed to fetch http://security.debian.org/debian-security/dists/bullseye-security/InRelease Splitting up /var/lib/apt/lists/partial/security.debian.org_debian-security_dists_bullseye-security_InRelease into data and signature failed
W: Failed to fetch https://download.docker.com/linux/debian/dists/bullseye/InRelease Splitting up /var/lib/apt/lists/partial/download.docker.com_linux_debian_dists_bullseye_InRelease into data and signature failed
W: Failed to fetch https://deb.nodesource.com/node_16.x/dists/bullseye/InRelease Splitting up /var/lib/apt/lists/deb.nodesource.com_node%5f16.x_dists_bullseye_InRelease into data and signature failed
W: Failed to fetch http://deb.wirenboard.com/wb6/bullseye/dists/testing/InRelease Splitting up /var/lib/apt/lists/partial/deb.wirenboard.com_wb6_bullseye_dists_testing_InRelease into data and signature failed
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
python3-wb-diag-collect python3-wb-nm-helper wb-configs wb-diag-collect wb-mqtt-serial wb-nm-helper wb-release-info
7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 937 kB of archives.
After this operation, 12.3 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Err:1 http://deb.wirenboard.com/wb6/bullseye testing/main armhf wb-configs all 3.18.4
Connection failed [IP: 52.92.36.172 80]
Err:2 http://deb.wirenboard.com/wb6/bullseye testing/main armhf wb-release-info all 1.0-testing~wb6+bullseye~20230718122619
Connection failed [IP: 52.92.35.76 80]
Err:3 http://deb.wirenboard.com/wb6/bullseye testing/main armhf wb-diag-collect all 1.6.1
Connection failed [IP: 52.218.88.36 80]
Err:4 http://deb.wirenboard.com/wb6/bullseye testing/main armhf python3-wb-diag-collect all 1.6.1
Connection failed [IP: 52.218.108.92 80]
Err:5 http://deb.wirenboard.com/wb6/bullseye testing/main armhf wb-nm-helper all 1.27.5
Connection failed [IP: 52.92.36.172 80]
Err:6 http://deb.wirenboard.com/wb6/bullseye testing/main armhf python3-wb-nm-helper all 1.27.5
Connection failed [IP: 52.92.35.76 80]
Err:7 http://deb.wirenboard.com/wb6/bullseye testing/main armhf wb-mqtt-serial armhf 2.90.0
Connection failed [IP: 52.218.88.36 80]
E: Failed to fetch http://deb.wirenboard.com/wb6/bullseye/pool/main/w/wb-configs/wb-configs_3.18.4_all.deb Connection failed [IP: 52.92.36.172 80]
E: Failed to fetch http://deb.wirenboard.com/wb6/bullseye/pool/main/w/wb-release-info/wb-release-info_1.0-testing%7ewb6%2bbullseye%7e20230718122619_all.deb Connection failed [IP: 52.92.35.76 80]
E: Failed to fetch http://deb.wirenboard.com/wb6/bullseye/pool/main/w/wb-diag-collect/wb-diag-collect_1.6.1_all.deb Connection failed [IP: 52.218.88.36 80]
E: Failed to fetch http://deb.wirenboard.com/wb6/bullseye/pool/main/w/wb-diag-collect/python3-wb-diag-collect_1.6.1_all.deb Connection failed [IP: 52.218.108.92 80]
E: Failed to fetch http://deb.wirenboard.com/wb6/bullseye/pool/main/w/wb-nm-helper/wb-nm-helper_1.27.5_all.deb Connection failed [IP: 52.92.36.172 80]
E: Failed to fetch http://deb.wirenboard.com/wb6/bullseye/pool/main/w/wb-nm-helper/python3-wb-nm-helper_1.27.5_all.deb Connection failed [IP: 52.92.35.76 80]
E: Failed to fetch http://deb.wirenboard.com/wb6/bullseye/pool/main/w/wb-mqtt-serial/wb-mqtt-serial_2.90.0_armhf.deb Connection failed [IP: 52.218.88.36 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Проверьте настройку сети контроллера. Судя по вывлоду - нет доступа к интернету.
Эта тема была автоматически закрыта через 7 дней после последнего ответа. В ней больше нельзя отвечать.