I have a Novus device which has RS-485 communication and works as a modbus gateway.
It is possible to read/write to slave devices connected to the gateway over MQTT publish.
The device return in another topic a payload containing the modbus response in HEX, but the result comes as a string.
What I want is the value on the requested register.
I've tried to follow some tutorials on how to parse modbus values, but lead me to nowhere.
how can I convert this string to the real value of the register?
Sorry if this is a repeated topic, But I didn't find anything related to this.
I would appreciate any help.