solax icon indicating copy to clipboard operation
solax copied to clipboard

Fix X1G4Series schema to support 300 data point responses

Open cimeson opened this issue 1 year ago • 2 comments

  • Update X1G4Series schema validation to accept both 100 and 300 data points
  • Uses vol.Any to support multiple response formats similar to other inverters
  • Fixes compatibility with newer X1-Boost inverters returning 300 data points
  • Follows existing patterns used in x1_boost.py and other multi-format inverters

cimeson avatar Oct 18 '25 09:10 cimeson

How can we get this merged in? Can confirm using a WIFI+4G firmware "ver":"1.002.14" there are 300 values

{"sn":"SMJ########","ver":"1.002.14","type":18,"Data":[2417,59,5004,1464,2030,0,0,10,73,0,2,0,0,1484,0,0,0,0,0,739,0,51,3600,47,42,0,1,0,1918,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1056,0,4110,0,9261,0,0,0,113,100,3,0,96,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"Information":[3.600,18,"XB4A3#######",12,0.27,0.00,0.38,0.00,0.00,1,1,0]}

BumblingWelshman avatar Oct 25 '25 13:10 BumblingWelshman

Hi, thanks for raising this pull request. Just need to get the tests passing and then we can merge this.

squishykid avatar Dec 03 '25 15:12 squishykid