Adam Bogocz
Adam Bogocz
Hi @Trilis29, try following decode table and tell me if it works for you and please copy to_signed32 function from my PR #100. ``` GridAVoltage: value: .1 * Data[0] GridBVoltage:...
Glad to hear that :). I have given access to all mapping tables to @squishykid and I believe that all should get integrated at some point, see #101 for details.
There is function in utility to convert 32 bit value to signed 32 bit value, called to_signed32 https://github.com/squishykid/solax/blob/5fdb6d18acd78350b33fd645f69b4eb301167a72/solax/utils.py#L77 It is used for example here https://github.com/squishykid/solax/blob/5fdb6d18acd78350b33fd645f69b4eb301167a72/solax/inverters/x3_hybrid_g4.py#L82
Hi, you can watch out for my PR #100 😉 , I am using it already with HA at my home.
#100 integrated, so you should be able to try it on master now
Hi @rwg0, what is the type code of your inverter?
OK, that's basically the same as X1-Hybrid-G4, data mapping wise and that is implemented and missing EPS values. Which are EPS Power (W) : Index 28 EPS Voltage (V) :...
You are welcome :) ``` 3 = { Yield_Today: { value: .1 * bit16(1, t[13])}, Yield_Total: { value: .1 * bit32(1, t[11], t[12])}, PowerDc1: { value: bit16(1, t[7])}, PowerDc2: {...
I also have conversion table for each run mode code of each inverter type
And here is the run mode table ``` 3 = { 0: "Wait Mode", 1: "Check Mode", 2: "Normal Mode", 3: "Fault Mode", 4: "Permanent Fault Mode", 5: "Update Mode",...