Closed buffedelic closed 3 years ago
So I figured it out, not quite the best approach. I have terminated my transmission line to spec and have a, probably, good usb-rs485 adapter. But to me it seems like a hardware problem, in what end I am not shure.. Link to datasheet
I am closing this due to the reason it is not a problem with minimalmodbus. This is confirmed with other, not so great, modules out there :)
# Read response
answer = self.serial.read(number_of_bytes_to_read)
answer = answer[1:-1] #Strip leading and trailing byte
_LATEST_READ_TIMES[self.serial.port] = time.time()
Hi
Running into a problem during testing against a HVAC device from Heru.
As you can see below the respone har a leading 0x00 witch I suspect is throwing everything off.
Thing is that I had a device reading the HVAC unit 6 years ago with minimal modbus and I recall having to modify the code for it to work. Since then the device is dead and also the memory of how to deal with the leading byte of terror :) Any help is much appriciated!
EDIT: I even bragged about fixing it but not sharing how i did! https://forum.m.nu/viewtopic.php?f=26&t=3545&start=15#p24749 what a dumbass :facepalm: