Кнопка отрабатывает то быстро, то держать нужно долго

Всем привет!
Наконец-то я запустил систему, что купил полгода назад. Правда с самого начала она меня начала ставить в тупик. Жму кнопку или у контроллера замыкаю проводами и отрабатывает по разному, то в мгновение ока, то держать нужно секунд 10-20-30.

Опишу систему.
В слаботочном шкафу стоит WB6 и от него уходит в силовой щит шина RS-485.
Далее по порядку как проходит шина:

  1. WB-MR6C v.2 (1 реле)
  2. WB-MR6C v.2 (2 реле)
  3. WB-MIO и от него WBIO-DI-WD-14 к нему подключена кнопка.

Запускаю правило из примеров, а оно работает через раз:

var di9 = “DI0/IN9”; //Сохраним в переменной имя входа.
var di10 = “DI0/IN10”; //Сохраним в переменной имя входа.
var r1Name = “R1”; //Сохраним в переменной имя устройства.

defineRule(“wb-di_9”, {
whenChanged: di9,
then: function (newValue, devName, cellName) {
log.info(“newValue”, newValue, “devName”, devName, “cellName”, cellName); //Это лог.
if (newValue) {
dev[r1Name][“K1”] = !dev[r1Name][“K1”];
dev[r1Name][“K2”] = !dev[r1Name][“K2”];
dev[r1Name][“K3”] = !dev[r1Name][“K3”];
dev[r1Name][“K4”] = !dev[r1Name][“K4”];
dev[r1Name][“K5”] = !dev[r1Name][“K5”];
dev[r1Name][“K6”] = !dev[r1Name][“K6”];
log.info(“k1”, dev[r1Name][“K1”]); //Это лог.
}
}
});

Скажите куда копать, что делать?

Может конфиг неверен?
{
“debug”: false,
“ports”: [
{
“path”: “/dev/ttyRS485-1”,
“devices”: [
{
“slave_id”: “130”,
“device_type”: “WB-MR6C”,
“enabled”: true,
“name”: “R1”,
“id”: “R1”
},
{
“slave_id”: “90”,
“device_type”: “WB-MR6C”,
“enabled”: true,
“name”: “R2”,
“id”: “R2”
},
{
“slave_id”: “22:1”,
“device_type”: “WBIO-DI-WD-14”,
“name”: “DI0”,
“enabled”: true,
“poll_interval”: 10,
“id”: “DI0”
}
],
“baud_rate”: 9600,
“parity”: “N”,
“data_bits”: 8,
“stop_bits”: 2,
“poll_interval”: 100,
“enabled”: true
},

Раскинул для теста WB-MR6C и WB-MIO на разные шины и о чудо, все залетало. Ребятf из WB это как понимать? Ваше же оборудование на одной шине конфликтует.

Добрый день. До сих пор конфликтов обнаружено не было. Включите пожалуйста debug для wb-mqtt-serial и посмотрте, есть ли ошибки обмена.

Я первый день с вашей продукцией и пока на вы, так что от подробной инструкции что искать не откажусь.

Дебаг вывел:
WARNING: [serial] no devices defined for port </dev/ttyRS485-2 9600 8 N 2>. Skipping.
WARNING: [modbus] failed to read 1 holding(s) @ 8 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 holding(s) @ 8 of device modbus:90: Serial protocol error: request timed out
WARNING: [mqtt] connection lost
WARNING: [modbus] Register <modbus_io:22:1:: 10000> setup failed: Serial protocol error: malformed response: invalid crc
WARNING: [modbus] failed to read 6 input(s) @ 32 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 13 input(s) @ 39 of device modbus:130: Serial protocol error: malformed response: invalid crc
WARNING: [modbus] failed to read 2 input(s) @ 54 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 input(s) @ 121 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 coil(s) @ 0 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 discrete(s) @ 0 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10002> setup failed: Serial protocol error: request and response slave id mismatch
WARNING: [modbus] failed to read 1 holding(s) @ 8 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 13 input(s) @ 39 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 2 input(s) @ 54 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 coil(s) @ 0 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 discrete(s) @ 0 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10003> setup failed: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 holding(s) @ 8 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 input(s) @ 32 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 2 input(s) @ 54 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 input(s) @ 121 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 coil(s) @ 0 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 discrete(s) @ 0 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 discrete(s) @ 7 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 holding(s) @ 8 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 input(s) @ 32 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 13 input(s) @ 39 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 2 input(s) @ 54 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 input(s) @ 121 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 coil(s) @ 0 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 discrete(s) @ 0 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10000> setup failed: Serial protocol error: malformed response: invalid crc
WARNING: [modbus] failed to read 1 holding(s) @ 8 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 input(s) @ 32 of device modbus:90: Serial protocol error: malformed response: invalid crc
WARNING: [modbus] failed to read 13 input(s) @ 39 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 2 input(s) @ 54 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 input(s) @ 121 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 coil(s) @ 0 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 discrete(s) @ 0 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 discrete(s) @ 7 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10000> setup failed: Serial protocol error: request and response slave id mismatch
WARNING: [modbus] failed to read 1 holding(s) @ 8 of device modbus:130: Serial protocol error: request timed out
WARNING: [mqtt] connection lost
WARNING: [modbus] failed to read 6 input(s) @ 32 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 2 input(s) @ 54 of device modbus:130: Serial protocol error: malformed response: invalid crc
WARNING: [modbus] failed to read 1 input(s) @ 121 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 coil(s) @ 0 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 discrete(s) @ 0 of device modbus:130: Serial protocol error: malformed response: invalid crc
WARNING: [modbus] failed to read 1 discrete(s) @ 7 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 holding(s) @ 8 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 input(s) @ 32 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 13 input(s) @ 39 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 2 input(s) @ 54 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 input(s) @ 121 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 discrete(s) @ 0 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 discrete(s) @ 7 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 2 input(s) @ 54 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 input(s) @ 121 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 coil(s) @ 0 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 discrete(s) @ 7 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 holding(s) @ 8 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 13 input(s) @ 39 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 2 input(s) @ 54 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 input(s) @ 121 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 discrete(s) @ 0 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 discrete(s) @ 7 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10000> setup failed: Serial protocol error: malformed response: invalid crc
WARNING: [modbus] failed to read 1 holding(s) @ 8 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 input(s) @ 32 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 13 input(s) @ 39 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 2 input(s) @ 54 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 input(s) @ 121 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 coil(s) @ 0 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 discrete(s) @ 0 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 discrete(s) @ 7 of device modbus:130: Serial protocol error: malformed response: invalid data size
WARNING: [modbus] failed to read 1 holding(s) @ 8 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 input(s) @ 32 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 13 input(s) @ 39 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 2 input(s) @ 54 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 input(s) @ 121 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 coil(s) @ 0 of device modbus:90: Serial protocol error: request timed out
WARNING: [mqtt] connection lost
WARNING: [modbus] failed to read 6 discrete(s) @ 0 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10001> setup failed: Serial protocol error: request and response slave id mismatch
WARNING: [modbus] failed to read 1 holding(s) @ 8 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 input(s) @ 32 of device modbus:90: Serial protocol error: malformed response: invalid crc
WARNING: [modbus] failed to read 13 input(s) @ 39 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 2 input(s) @ 54 of device modbus:90: Serial protocol error: malformed response: invalid crc
WARNING: [modbus] failed to read 1 input(s) @ 121 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 discrete(s) @ 0 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 discrete(s) @ 7 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10001> setup failed: Serial protocol error: request and response slave id mismatch
WARNING: [modbus] failed to read 1 holding(s) @ 8 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 input(s) @ 32 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 13 input(s) @ 39 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 2 input(s) @ 54 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 input(s) @ 121 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 coil(s) @ 0 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 discrete(s) @ 0 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 discrete(s) @ 7 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10000> setup failed: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 holding(s) @ 8 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 input(s) @ 32 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 13 input(s) @ 39 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 2 input(s) @ 54 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 input(s) @ 121 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 coil(s) @ 0 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 discrete(s) @ 0 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 discrete(s) @ 7 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 holding(s) @ 8 of device modbus:90: Serial protocol error: malformed response: invalid crc
WARNING: [modbus] failed to read 6 input(s) @ 32 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 13 input(s) @ 39 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 2 input(s) @ 54 of device modbus:90: Serial protocol error: malformed response: invalid data size
WARNING: [modbus] failed to read 1 input(s) @ 121 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 coil(s) @ 0 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 discrete(s) @ 7 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 holding(s) @ 8 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 input(s) @ 32 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 2 input(s) @ 54 of device modbus:130: Serial protocol error: request timed out
WARNING: [mqtt] connection lost
WARNING: [modbus] failed to read 1 input(s) @ 121 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 coil(s) @ 0 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10000> setup failed: Serial protocol error: malformed response: invalid crc
WARNING: [modbus] failed to read 1 holding(s) @ 8 of device modbus:90: Serial protocol error: malformed response: invalid crc
WARNING: [modbus] failed to read 6 input(s) @ 32 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 13 input(s) @ 39 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 2 input(s) @ 54 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 input(s) @ 121 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 coil(s) @ 0 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 discrete(s) @ 0 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 discrete(s) @ 7 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 holding(s) @ 8 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 input(s) @ 32 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 13 input(s) @ 39 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 2 input(s) @ 54 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 input(s) @ 121 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 coil(s) @ 0 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 discrete(s) @ 0 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 discrete(s) @ 7 of device modbus:90: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10000> setup failed: Serial protocol error: malformed response: invalid crc
WARNING: [modbus] failed to read 1 holding(s) @ 8 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 input(s) @ 32 of device modbus:130: Serial protocol error: request timed out
^CWARNING: [modbus] failed to read 13 input(s) @ 39 of device modbus:130: Serial protocol error: malformed response: invalid crc
WARNING: [modbus] failed to read 6 coil(s) @ 0 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 6 discrete(s) @ 0 of device modbus:130: Serial protocol error: request timed out
WARNING: [modbus] failed to read 1 discrete(s) @ 7 of device modbus:130: Serial protocol error: request timed out
WARNING: [mqtt] connection lost
WARNING: [backend] Unable to cleanup topic ‘/devices/R2/controls/Supply voltage’: timed out
wb-mqtt-serial: wblib/mqtt.cpp:211: virtual WBMQTT::TFuture WBMQTT::TMosquittoMqttClient::PublishSynced(const WBMQTT::TMqttMessage&): Assertion `Connected.load()’ failed.

По статье Настройка параметров обмена данными по RS-485 для modbus-устройств Wiren Board — Wiren Board увеличил скорость, теперь срабатывание происходит при зажатой кнопке за секунду. На отдельной шине вообще в момент, по одному щелчку. Отдельную шину выделить не могу под это, так как она зарезервирована под терморегулятор. Мне честно не понятно почему так происходит, как сделать, что бы по человечески все работало?

В правилах, кстати, лучше в whenChanged использовать не текущий статус входа, а счётчик срабатываний. Задержка так меньше не станет, но срабатывать будет от любой длительности нажатия.

Мгновенной реакции при использовании Modbus на общей шине не добиться. Если есть возможность, то подключите WBIO-DI-WD-14 напрямую к WB6 без WB-MIO - работать будет мгновенно.

Щиты вмонтированы, проводка уже нарезана и заведена. По сути между щитами 2,5 метра кабелем. Возможно просто кабелем удлинить боковой порт WB?

Нет, очень не советую. Там i2c.
Судя по логу - сплошные ошибки… Надо разобраться - почему. Для этого, как лучший путь предлагаю кинуть кабель для Modbus и питания отдельный, времянку. И подключить на него одно устройство из второго щита. Именно новым кабелем и только одно. Остальные - отключить в конфиге.

А вот такие записи говорят о плохом контакте, наводках (возможно)

В принципе я это делал. Мне нужно подключить и снять еще раз лог?

Да. Берем заведомо исправный кабель, подключаем одно устройство из второго щитка. Остальные - отключаем в настройках и физически.

Кинул новый кабель напрямую между щитками. Логи с WB-MIO:

root@wirenboard-A3XSMV7Z:~# wb-mqtt-serial -d -3

WARNING: [modbus] Register <modbus_io:22:1:: 10000> setup failed: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10001> setup failed: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10000> setup failed: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10000> setup failed: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10000> setup failed: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10002> setup failed: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10001> setup failed: Serial protocol error: request timed out
WARNING: [modbus] SkipNoise failed: Serial protocol error: read() failed
WARNING: [modbus] Register <modbus_io:22:1:: 10000> setup failed: Serial protocol error: malformed response: invalid crc
WARNING: [mqtt] connection lost
WARNING: [modbus] Register <modbus_io:22:1:: 10001> setup failed: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10001> setup failed: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10000> setup failed: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10000> setup failed: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10000> setup failed: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10000> setup failed: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10000> setup failed: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10000> setup failed: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10000> setup failed: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10000> setup failed: Serial protocol error: request timed out
WARNING: [modbus] Register <modbus_io:22:1:: 10000> setup failed: Serial protocol error: request timed out
WARNING: [modbus] failed to read 14 coil(s) @ 0 of device modbus_io:22:1: Serial protocol error: request timed out
WARNING: [modbus] failed to read 14 coil(s) @ 0 of device modbus_io:22:1: Serial protocol error: request timed out
WARNING: [modbus] failed to read 14 holding(s) @ 250 of device modbus_io:22:1: Serial protocol error: request timed out
WARNING: [modbus] failed to read 14 coil(s) @ 0 of device modbus_io:22:1: Serial protocol error: request timed out
WARNING: [modbus] failed to read 14 holding(s) @ 250 of device modbus_io:22:1: Serial protocol error: request timed out
WARNING: [modbus] failed to read 14 holding(s) @ 250 of device modbus_io:22:1: Serial protocol error: request timed out
WARNING: [modbus] failed to read 14 coil(s) @ 0 of device modbus_io:22:1: Serial protocol error: request timed out
WARNING: [mqtt] connection lost
WARNING: [modbus] failed to read 14 coil(s) @ 0 of device modbus_io:22:1: Serial protocol error: request timed out
WARNING: [modbus] failed to read 14 holding(s) @ 250 of device modbus_io:22:1: Serial protocol error: request timed out
WARNING: [modbus] failed to read 14 holding(s) @ 250 of device modbus_io:22:1: Serial protocol error: request timed out
WARNING: [modbus] failed to read 14 coil(s) @ 0 of device modbus_io:22:1: Serial protocol error: request timed out
WARNING: [modbus] failed to read 14 coil(s) @ 0 of device modbus_io:22:1: Serial protocol error: malformed response: invalid crc
WARNING: [modbus] failed to read 14 holding(s) @ 250 of device modbus_io:22:1: Serial protocol error: malformed response: invalid crc
WARNING: [modbus] failed to read 14 holding(s) @ 250 of device modbus_io:22:1: Serial protocol error: malformed response: invalid crc
WARNING: [modbus] failed to read 14 holding(s) @ 250 of device modbus_io:22:1: Serial protocol error: request timed out
WARNING: [modbus] failed to read 14 coil(s) @ 0 of device modbus_io:22:1: Serial protocol error: request timed out
WARNING: [modbus] failed to read 14 holding(s) @ 250 of device modbus_io:22:1: Serial protocol error: request timed out
WARNING: [modbus] failed to read 14 coil(s) @ 0 of device modbus_io:22:1: Serial protocol error: request timed out
WARNING: [modbus] failed to read 14 holding(s) @ 250 of device modbus_io:22:1: Serial protocol error: malformed response: invalid crc
WARNING: [modbus] failed to read 14 holding(s) @ 250 of device modbus_io:22:1: Serial protocol error: request and response function code mismatch
WARNING: [modbus] failed to read 14 coil(s) @ 0 of device modbus_io:22:1: Serial protocol error: malformed response: invalid crc
WARNING: [modbus] failed to read 14 holding(s) @ 250 of device modbus_io:22:1: Serial protocol error: request timed out
WARNING: [modbus] failed to read 14 coil(s) @ 0 of device modbus_io:22:1: Serial protocol error: request timed out
WARNING: [modbus] failed to read 14 holding(s) @ 250 of device modbus_io:22:1: Serial protocol error: request timed out
WARNING: [modbus] failed to read 14 coil(s) @ 0 of device modbus_io:22:1: Serial protocol error: malformed response: invalid data size
WARNING: [modbus] failed to read 14 holding(s) @ 250 of device modbus_io:22:1: Serial protocol error: request timed out
ERROR: [mqtt] publish error: MOSQ_ERR_NO_CONN
WARNING: [mqtt] connection lost
WARNING: [modbus] failed to read 14 holding(s) @ 250 of device modbus_io:22:1: Serial protocol error: request timed out
WARNING: [modbus] failed to read 14 coil(s) @ 0 of device modbus_io:22:1: Serial protocol error: request timed out
WARNING: [modbus] failed to read 14 holding(s) @ 250 of device modbus_io:22:1: Serial protocol error: request timed out
^CWARNING: [modbus] failed to read 14 coil(s) @ 0 of device modbus_io:22:1: Serial protocol error: malformed response: invalid crc
wb-mqtt-serial: wblib/mqtt.cpp:211: virtual WBMQTT::TFuture WBMQTT::TMosquittoMqttClient::PublishSynced(const WBMQTT::TMqttMessage&): Assertion `Connected.load()’ failed.
Aborted
root@wirenboard-A3XSMV7Z:~#

Сервис wb-mqtt-serial на момент запуска точно остановлен?

root@wirenboard-A3XSMV7Z:~# service wb-mqtt-serial stop
root@wirenboard-A3XSMV7Z:~# wb-mqtt-serial -d -2
INFO: [modbus] Init: IODIR: setup register <modbus_io:22:1:: 10000> ← 65535
INFO: [modbus] Init: IPOL: setup register <modbus_io:22:1:: 10001> ← 0
INFO: [modbus] Init: GPINTEN: setup register <modbus_io:22:1:: 10002> ← 65535
INFO: [modbus] Init: DEFVAL: setup register <modbus_io:22:1:: 10003> ← 0
INFO: [modbus] Init: INTCON: setup register <modbus_io:22:1:: 10004> ← 0
INFO: [modbus] Init: IOCON: setup register <modbus_io:22:1:: 10005> ← 17476
INFO: [modbus] Init: CONFIG-FLAG: setup register <modbus_io:22:1:: 9999> ← 1
INFO: [serial client] device modbus_io:22:1 is connected
WARNING: [modbus] failed to read 14 coil(s) @ 0 of device modbus_io:22:1: Serial protocol error: request timed out

Ошибки появляются?

Вот только эти вижу:
WARNING: [modbus] failed to read 14 coil(s) @ 0 of device modbus_io:22:1: Serial protocol error: request timed out
WARNING: [modbus] failed to read 14 coil(s) @ 0 of device modbus_io:22:1: Serial protocol error: request timed out
WARNING: [modbus] failed to read 14 coil(s) @ 0 of device modbus_io:22:1: Serial protocol error: request timed out
WARNING: [modbus] failed to read 14 coil(s) @ 0 of device modbus_io:22:1: Serial protocol error: request timed out

Для порта Response timeout какой стоит?

Не установлен по дефолту из системы.

Поставил из коробки другой WB-MIO, влогах:
root@wirenboard-A3XSMV7Z:~# service wb-mqtt-serial stop
root@wirenboard-A3XSMV7Z:~# wb-mqtt-serial -d -2
INFO: [modbus] Init: IODIR: setup register <modbus_io:16:1:: 10000> ← 65535
INFO: [modbus] Init: IPOL: setup register <modbus_io:16:1:: 10001> ← 0
INFO: [modbus] Init: GPINTEN: setup register <modbus_io:16:1:: 10002> ← 65535
INFO: [modbus] Init: DEFVAL: setup register <modbus_io:16:1:: 10003> ← 0
INFO: [modbus] Init: INTCON: setup register <modbus_io:16:1:: 10004> ← 0
INFO: [modbus] Init: IOCON: setup register <modbus_io:16:1:: 10005> ← 17476
INFO: [modbus] Init: CONFIG-FLAG: setup register <modbus_io:16:1:: 9999> ← 1
INFO: [serial client] device modbus_io:16:1 is connected
^CWARNING: [backend] Unable to cleanup topic ‘/devices/wb-mio-gpio_16:1/controls/Counter 1/meta/order’: timed out
WARNING: [backend] Unable to cleanup topic ‘/devices/wb-mio-gpio_16:1/controls/Counter 1/meta/readonly’: timed out
WARNING: [backend] Unable to cleanup topic ‘/devices/wb-mio-gpio_16:1/controls/Counter 1/meta/type’: timed out
WARNING: [backend] Unable to cleanup topic ‘/devices/wb-mio-gpio_16:1/controls/IN8’: timed out
WARNING: [backend] Unable to cleanup topic ‘/devices/wb-mio-gpio_16:1/controls/IN8/meta/order’: timed out
WARNING: [backend] Unable to cleanup topic ‘/devices/wb-mio-gpio_16:1/controls/IN8/meta/readonly’: timed out
WARNING: [backend] Unable to cleanup topic ‘/devices/wb-mio-gpio_16:1/controls/IN8/meta/type’: timed out
WARNING: [backend] Unable to cleanup topic ‘/devices/wb-mio-gpio_16:1/controls/Counter 2’: timed out
WARNING: [backend] Unable to cleanup topic ‘/devices/wb-mio-gpio_16:1/controls/Counter 2/meta/readonly’: timed out
WARNING: [backend] Unable to cleanup topic ‘/devices/wb-mio-gpio_16:1/controls/Counter 2/meta/type’: timed out