tobiasfaust / SolaxModbusGateway

Modbus RTU to MQTT Gateway
GNU General Public License v3.0
54 stars 17 forks source link

Solax X3 Hybrid G4 issies with 3.2.0 #56

Closed ingof closed 2 months ago

ingof commented 3 months ago

Hello Tobias,

I created a pull request to add Cell_Voltage_High and Cell_Voltage_Low on my X3 Hybrid. After building and burning to the ESP32 i have got two issues.

In the RAW-Data there are less values. With 3.1.5 i get over 400 Value (see screenshot in pull request). But if i want to check now the new values i get 0xundefined instead of the data and get only 322 bytes RAW data. Modbus_Gateway_3_2_0

But the new data in live view works fine: Modbus_Gateway_Values

But there is a problem with "Off Grid Current L1" it shows now randomly strange values and should be zero, because the EPS Mode is not active at the moment.

Did you change the data size of the modbus request in 3.2.0? Is it possible to set it in the web interface if i need more raw-data?

ingof commented 3 months ago

Ok now i get only 319 bytes of data and it seems it now stable at 319 bytes.

tobiasfaust commented 3 months ago

HI Ingo, if you get "undefined", in the most cases you request more registers than your inverter is able to deliver. Did you change something at "RequestLiveData" Item in json?

Its now fine? Can i merge your pullrequest?

ingof commented 1 month ago

Sorry for my late reply. I just noticed your reply, at this moment.

With the old Version i get more data in RAW-Data tab. Since i compiled the source by myself with GitPod i can not see the same data like the old er Version does. My inverter is able to send more data than i can see in the RAW-Data Tab with the V3.2.0.

Yes, i changed the JSON of Modbus X3. But i only added one or two values and did not change anything else.

Is there a place in your repository where i can edit the maximum requested Data in RAW-Data tab?

If i check values in the RAW-Data tab wich show the right values in the Item-Config tab it does not work, because the RAW-Data tab does not see this values.

You can verify the screenshot from https://github.com/tobiasfaust/SolaxModbusGateway/pull/54 with the first screenshot in this issue.

With 3.1.5 i can check the values 382 and 383 in RAW-Data. With 3.2.0 i can not check this data, anymore. But the same value is shown in the Item-config tab in V3.2.0. As you can see in the second screenshot in this issue.

Is there a full compiled version available? Maybe my compiling with GitPod generates the issue.