Closed jonaz closed 8 years ago
@jonaz Sorry for late response. Do you see any other errors before:
015/07/20 20:31:18 modbus: response slave id '241' does not match request '1'
It would be great if you have request/response logged somewhere so I can take a look. I guess a frame is corrupted and it is not flushed properly.
Im not sure if this is an issue with the library or an issue with my modbus device. I have a raspberry pi with a USB modbus dongle and a ventilation system which i fetch temperatures from modbus registers.
I make the connection like this and then fetch registers every 30 second after that.
It works fine for a few days then i start getting below errors. I restart my app and its fine again. Im thinking of only checking for error and then making the connection again. But this might be a library issue?