Пропадает устройство в WB

Давайте не будем контроллер заменять. Разработчики поправили конфиг на вашем контроллере - теперь всё должно работать. Проверьте, пожалуйста, и дайте обратную связь.

Затем удалите, пожалуйста, нас из организации в облаке.

Ещё вопрос. А как вы обновлялись? Всегда FIT файлом (factory reset, сброс к заводским настройкам) или через apt в терминале (apt update; apt upgrade)?

Посмотрел, действительно) счетчики появились, все ок. А что было? Мы где то накосячили?

Обновляемся всегда через консоль.

При обновлении нужно было оставить выбор по умолчанию N (keep your currently-installed version):

Setting up mosquitto (2.0.20-1-wb102) ...
Installing new version of config file /etc/init.d/mosquitto ...
Installing new version of config file /etc/logrotate.d/mosquitto ...

Configuration file '/etc/mosquitto/mosquitto.conf'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** mosquitto.conf (Y/I/N/O/D/Z) [default=N] ? d
--- /etc/mosquitto/mosquitto.conf       2025-05-18 15:16:20.874481935 +0300
+++ /etc/mosquitto/mosquitto.conf.dpkg-new      2025-04-28 19:49:02.000000000 +0300
@@ -3,12 +3,11 @@
 # A full description of the configuration file is at
 # /usr/share/doc/mosquitto/examples/mosquitto.conf.example

-pid_file /run/mosquitto/mosquitto.pid
+#pid_file /run/mosquitto/mosquitto.pid

-# persistence is disabled by default. enable in /etc/mosquitto/conf.d/000persistence.conf
+persistence true
 persistence_location /var/lib/mosquitto/

-log_dest syslog
+log_dest file /var/log/mosquitto/mosquitto.log

-include_dir /usr/share/wb-configs/mosquitto
 include_dir /etc/mosquitto/conf.d

Configuration file '/etc/mosquitto/mosquitto.conf'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** mosquitto.conf (Y/I/N/O/D/Z) [default=N] ? y
Installing new version of config file /etc/mosquitto/mosquitto.conf ...

Кхм, т.е в новой версии mosquito.conf есть какие то изменения которые привели к данной проблеме? Повлияет ли данное изменение на другие контроллеры или там действительно баг и его поправят в следующей версии?

Не совсем так, у нас используются некоторые кастомные настройки в mosquitto.conf, которых нет в mosquitto.conf который поставляется с пакетом mosquitto. Поэтому сброс к “install the package maintainer’s version” нежелателен. Но сейчас в тестинг внесли исправление, чтобы даже если пользователь заменил конфиг при обновлении, то после перезагрузки в конфиг добавятся необходимые настройки.