Replies: 2 comments 4 replies
-
you can either build your own framer, if all request share a common pattern. Or add custom function codes, that adds what you need. |
Beta Was this translation helpful? Give feedback.
0 replies
-
However it sounds a bit like your inverter is not really using the modbus protocol. A lot of inverters need a primary request with the information you talk about to verify the connection, this is done by adding a custom function code. Adding that information to each request is really non-standard and might break a number of other parts. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Has somebody used pymodbus to talk with Deye solar inverter?
To read registers from the inverter it's needed to add more stuff to the "read package request" like a "controle code" and the inverter serial number.
My first idea is to build a own "framer" based on
ModbusRtuFramer
and use thebuildPacket
method to build the complete package. Is this the correct way to go?Beta Was this translation helpful? Give feedback.
All reactions