Здравствуйте.
Запутался с подключением датчика WB-MSW v.3, подключаю к порту /dev/ttyRS485-2
В WB6 при подключении датчика в логах
root@wirenboard-AYUCEVWX:~# tail /var/log/messages
Jun 13 21:04:42 wirenboard-AYUCEVWX user.notice serial: Write: 21 03 01 0e 00 02 a3 54
Jun 13 21:04:43 wirenboard-AYUCEVWX user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 2 holding(s) @ 270 of device modbus:33: Serial protocol error: request timed out
Jun 13 21:04:43 wirenboard-AYUCEVWX user.notice serial: modbus: read 2 input(s) @ 0 of device modbus:33
Jun 13 21:04:43 wirenboard-AYUCEVWX user.notice serial: Write: 21 04 00 00 00 02 76 ab
Jun 13 21:04:43 wirenboard-AYUCEVWX user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 2 input(s) @ 0 of device modbus:33: Serial protocol error: request timed out
Jun 13 21:04:43 wirenboard-AYUCEVWX user.notice serial: modbus: read 1 input(s) @ 3 of device modbus:33
Jun 13 21:04:43 wirenboard-AYUCEVWX user.notice serial: Write: 21 04 00 03 00 01 c6 aa
Jun 13 21:04:44 wirenboard-AYUCEVWX user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 3 of device modbus:33: Serial protocol error: request timed out
Jun 13 21:04:44 wirenboard-AYUCEVWX user.notice serial: modbus: read 3 input(s) @ 9 of device modbus:33
Jun 13 21:04:44 wirenboard-AYUCEVWX user.notice serial: Write: 21 04 00 09 00 03 67 69
Конфиге выглядит след образом
{
"debug": true,
"ports": [
{
"path": "/dev/ttyRS485-1",
"devices": [],
"baud_rate": 9600,
"parity": "N",
"data_bits": 8,
"stop_bits": 2,
"poll_interval": 10,
"enabled": true
},
{
"path": "/dev/ttyRS485-2",
"devices": [
{
"slave_id": "33",
"device_type": "WB-MSW v.3"
}
],
"baud_rate": 9600,
"parity": "N",
"data_bits": 8,
"stop_bits": 2,
"poll_interval": 10,
"enabled": true
},
…….
}
Вывод dpkg -l wb-mqtt-serial
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii wb-mqtt-serial 1.51.0 armhf Wiren Board Smart Home MQTT seria
Подскажите куда копать? Контроллер только получил, настроил 3G модем и подключение по wi-fi к точке доступа.