Добрый день!
Сегодня обнаружил на одном из контроллеров ошибки в логах wb-rules:
root@IQ314000:~# journalctl -u wb-rules -f -n 5000 | grep Set
Aug 23 07:09:44 IQ314000 wb-rules[28317]: ERROR: failed to SetValue for unexisting control wb-mr3_39/K1: true
Aug 23 07:09:44 IQ314000 wb-rules[28317]: ERROR: failed to SetValue for unexisting control wb-mr3_39/K2: true
Aug 23 07:09:44 IQ314000 wb-rules[28317]: ERROR: failed to SetValue for unexisting control wb-mr3_39/K3: true
Aug 23 07:10:09 IQ314000 wb-rules[28877]: ERROR: failed to SetValue for unexisting control wb-mr6c_43/K1: false
Aug 23 07:10:10 IQ314000 wb-rules[28877]: ERROR: failed to SetValue for unexisting control wb-mr6c_43/K2: false
Aug 23 07:10:11 IQ314000 wb-rules[28877]: ERROR: failed to SetValue for unexisting control wb-mr6c_43/K3: false
Aug 23 07:10:14 IQ314000 wb-rules[28877]: ERROR: failed to SetValue for unexisting control wb-mr3_39/K2: true
Aug 23 07:10:14 IQ314000 wb-rules[28877]: ERROR: failed to SetValue for unexisting control wb-mr3_39/K3: true
Aug 23 07:10:14 IQ314000 wb-rules[28877]: ERROR: failed to SetValue for unexisting control wb-mr3_39/K1: true
Aug 23 07:10:15 IQ314000 wb-rules[28877]: ERROR: failed to SetValue for unexisting control syberia5_1/Power_ON_OFF: true
Aug 23 07:10:15 IQ314000 wb-rules[28877]: ERROR: failed to SetValue for unexisting control syberia5_1/Extractor fan target: 20
Aug 23 07:10:15 IQ314000 wb-rules[28877]: ERROR: failed to SetValue for unexisting control syberia5_1/Inflow fan target: 20
Aug 23 07:10:15 IQ314000 wb-rules[28877]: ERROR: failed to SetValue for unexisting control syberia5_1/Temp target: 8
Aug 23 07:10:26 IQ314000 wb-rules[30712]: ERROR: failed to SetValue for unexisting control wb-mr6c_43/K1: false
Aug 23 07:10:26 IQ314000 wb-rules[30712]: ERROR: failed to SetValue for unexisting control wb-mr6c_43/K2: false
Aug 23 07:10:27 IQ314000 wb-rules[30712]: ERROR: failed to SetValue for unexisting control wb-mr6c_43/K3: false
Aug 23 07:10:28 IQ314000 wb-rules[30712]: ERROR: failed to SetValue for unexisting control wb-mr3_39/K2: true
Aug 23 07:10:28 IQ314000 wb-rules[30712]: ERROR: failed to SetValue for unexisting control wb-mr3_39/K3: true
Aug 23 07:10:28 IQ314000 wb-rules[30712]: ERROR: failed to SetValue for unexisting control wb-mr3_39/K1: true
Далее я проверил, есть ли эти допики в действительности. Оказалось, что отображается только кусок девайса.
IQ314000:~# mosquitto_sub -t /devices/wb-mr3_39/# -v
/devices/wb-mr3_39/controls/Uptime 4005746
/devices/wb-mr3_39/controls/Input Voltage 11.831
/devices/wb-mr3_39/controls/Uptime 4005749
/devices/wb-mr3_39/controls/Input Voltage 11.821
root@IQ314000:~# mosquitto_sub -t /devices/wb-mr6c_43/# -v
/devices/wb-mr6c_43/controls/Uptime 4008262
/devices/wb-mr6c_43/controls/Input Voltage 12.371
/devices/wb-mr6c_43/controls/Uptime 4008268
/devices/wb-mr6c_43/controls/Input Voltage 12.384
wb-mqtt-serial при этом работает, данные по напряжению на реле и uptime обновляется
Версия wb-mqtt-serial
root@IQ314000:~# apt-cache policy wb-mqtt-serial
wb-mqtt-serial:
Installed: 2.45.0-wb2
Candidate: 2.59.2-wb2
Version table:
2.59.2-wb2 990
990 http://deb.wirenboard.com/wb6/stretch stable/main armhf Packages
*** 2.45.0-wb2 100
100 /var/lib/dpkg/status