Hi, please help.
I am newbie in OpenHab and am trying connect to the serial port on windows using modbus binding.
Here is my conf:
serial.slave1.connection=“COM4”
serial.slave1.id=“1”
serial.slave1.length=“4”
serial.slave1.start=“0”
serial.slave1.type=“coil”
And here is error from logs:
[ERROR] [pi.modbus.io.ModbusSerialTransaction] - execute try 1/3 error: readResponse I/O exception - failed to read: readResponse: I/O exception - Serial port timeout… Request: net.wimpi.modbus.msg.ReadCoilsRequest@6e5f8669 (unit id 1 & transaction 889). Serial parameters: SerialParameters@7bec4c4b[portName=COM4,baudRate=9600,flowControlIn=none,flowControlOut=none,databits=8,stopbits=1,parity=none,encoding=ascii,echo=false,receiveTimeoutMillis=1500]
Versions:
OpenHab 2
Modbus binding 1.10.0
Windows 8.1
COM4 is exists and successfully tested from another program (connection not locked).