Hi,
i am using Modbus binding on Raspberry PI4 (Openhabian 3.0.2) with RS-485 to USB convertor , it work great with no issue but i have noticed sudden crash for Openhab quite often now which means openhab stop working or responding at all and USB stop communication to modbus salve devices .
finding :
- when i have error in log for modbus RS-485 communication (via USB convertor) the crash happen and when i have more error the crash happen faster.
- when crash happen openhab stop responding and logs are freezes while i still can access SSH and reboot Raspberry PI.
any help please
code:
UID: modbus:serial:156451a229
label: 2_Serial Slave Micro
thingTypeUID: modbus:serial
configuration:
baud: 9600
timeBetweenTransactionsMillis: 35
connectMaxTries: 1
stopBits: "1.0"
parity: none
receiveTimeoutMillis: 1500
dataBits: 8
echo: false
encoding: rtu
flowControlIn: none
port: /dev/ttyUSB0
flowControlOut: none
connectTimeoutMillis: 10000
id: 2
enableDiscovery: false
UID: modbus:poller:156451a229:50f7d7d314
label: 2_ DO Poll
thingTypeUID: modbus:poller
configuration:
start: 220
length: 1
refresh: 50
maxTries: 3
cacheMillis: 50
type: coil
bridgeUID: modbus:serial:156451a229
UID: modbus:data:50f7d7d314:ce5fe50177
label: 2_DO 3
thingTypeUID: modbus:data
configuration:
readTransform: default
writeType: coil
writeTransform: default
updateUnchangedValuesEveryMillis: 1000
writeValueType: bit
writeMultipleEvenWithSingleRegisterOrCoil: false
writeMaxTries: 3
writeStart: "220"
bridgeUID: modbus:poller:156451a229:50f7d7d314