[Support request]: How to retrieve the raw result instead of the "decoded text string" for the get DEVICE_STATUS request ? #729
MichelRabozee
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
[remark: this is a request regarding huawei-solar-lib, but there is no "Issues" section on the github for that]
The answer to my request is certainly obvious but clearly I lack some python skills :-(
I am using huawei-solar-lib to do my own logging of the state of the inverter. I use
All is well, but the returns the "text" corresponding to the actual "code value" (for instance: "On-grid" for the value 0x0200).
Is there a way to prevent the "translation - done during response decoding -" and get the 0x0200 numeric value (in this example) ?
Thanks for your work already !
Michel
Beta Was this translation helpful? Give feedback.
All reactions