это конфиг. он выше. устройства отключены программно, кроме 26го
{
"debug": true,
"ports": [
{
"path": "/dev/ttyAPP1",
"devices": [
{
"slave_id": "26",
"device_type": "WB-MR14"
},
{
"slave_id": "108",
"device_type": "WB-MR6C",
"enabled": false
}
],
"port_type": "serial",
"baud_rate": 9600,
"parity": "N",
"data_bits": 8,
"stop_bits": 2,
"enabled": true,
"poll_interval": 50
},
{
"path": "/dev/ttyAPP2",
"devices": [
{
"slave_id": "1",
"device_type": "DRM108EM",
"poll_interval": 200,
"protocol": "modbus",
"name": "Humidity relay"
}
],
"baud_rate": 9600,
"parity": "N",
"data_bits": 8,
"stop_bits": 1,
"enabled": false,
"poll_interval": 50,
"response_timeout_ms": 50,
"guard_interval_us": 50
},
{
"path": "/dev/ttyAPP4",
"devices": [
{
"slave_id": "10",
"device_type": "WB-MR14"
}
],
"baud_rate": 9600,
"parity": "N",
"data_bits": 8,
"stop_bits": 1,
"enabled": false,
"poll_interval": 50
},
{
"path": "/dev/ttyAPP3",
"devices": [
{
"slave_id": "24",
"device_type": "mercury230",
"protocol": "mercury230",
"poll_interval": 100,
"enabled": false
},
{
"slave_id": "34",
"device_type": "RD-DCM20"
}
],
"enabled": false,
"baud_rate": 9600,
"parity": "N",
"data_bits": 8,
"stop_bits": 1,
"poll_interval": 50
}
]
}
Это ошибки. они в конце лога что выше.
Feb 12 09:38:12 wirenboard user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 14 discrete(s) @ 0 of device modbus:26: Serial protocol error: invalid crc
Feb 12 09:38:14 wirenboard user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 14 input(s) @ 32 of device modbus:26: Serial protocol error: invalid crc
Feb 12 09:38:17 wirenboard user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 14 coil(s) @ 0 of device modbus:26: Serial protocol error: invalid crc
Feb 12 09:38:32 wirenboard user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 14 input(s) @ 32 of device modbus:26: Serial protocol error: invalid crc
Feb 12 09:38:52 wirenboard user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:26: Serial protocol error: invalid crc
что еще нужно? я больше чем уверен, что то произошло аппратно, тк. дальше на линии висит wbm6c и работает замчечательно.