jeanmarc77 / 123solar

123Solar is a lightweight set of PHP/JS files that makes a web logger to monitor your photovoltaic inverter(s). It just need a web server and PHP, no databases are even needed. The philosophy is: To keep it simple, fast, with a low foot print to run on cheap and low powered devices.
GNU General Public License v3.0
36 stars 12 forks source link

Sofar solar (Alias zucchetti) 1100tl-3300tl G1 rs485 modbus protocol implementation #66

Open guadax opened 6 months ago

guadax commented 6 months ago

Hi, just a question: protocol php file for the above inverter is almost completed (when completed i can post it). The only issues i have is on the variable

$KWHT is the total counter (a Wh precision is needed)

well... modbus register give me only total produce KWH precision (not watt):

image

without watt/hours precision the main production page is empty (maybe i'm wrong).

Any suggestions?

jeanmarc77 commented 6 months ago

Hi, Yes it is mandatory. Maybe you can also use a daily counter more precise ? If think mi600-webif.php use some sort of calculation to get a wh precision

guadax commented 6 months ago

all the data available below.... so i've to replace the total production(Produzione cumulativa (kw)) with daily production(Produzione giorno (kw))? sorry for the missing description but i cannof find documentation about inverter data register... the only one i found is different...

image

jeanmarc77 commented 6 months ago

i don't think so, the daily counter don't seem to have a Wh precision

guadax commented 6 months ago

Seems to work with daily production image

guadax commented 6 months ago

Jean... a question... as you can see below daily csv data files seems correct (some issues on efficency, but i'm working on it), but the avereage an the main page seems too...."average": values are multiple of 10: image

below ac power and avg production:

image

and the csv file: image

it is possible that the average is affected by the: //$KWHT is the total counter (a Wh precision is needed) that i cannot have(max precision 10w)?

jeanmarc77 commented 6 months ago

Yes i think so, avg power need to have Wh precison or you'll get bumps in the chart

guadax commented 6 months ago

no way: adding watt/hour precision manually didn't solve the problem.... so is elsewhere.... could you tell me the php file with implements the avg plotting function?

jeanmarc77 commented 6 months ago

you missing Wh, that would be 3.27x kWh programday does that job

guadax commented 6 months ago

added random last number (watt precision) not equal to zero image

image