Skip to content

3 INVERTERS

patience4711 edited this page Jul 23, 2024 · 14 revisions

registering

Go to menu->inverters, click add and fill-up the form. You should provide a 12 characters inverter serial nr. which can be found on the housing of the inverter. For each channel that has a solar panel connected you should click the checkbox. When ready click save, a file will be saved with the inverterdata.
Now you can wipe eventual data in the database for this inverter. Go to menu->databases, choose the inverter number an choose wipe values of both invData and invEnergy.
As a result you will have a fresh registered inverter with empty databases. inv_reg

pairing

The inverter should be binded (paired) to the Zigbee network. First the Zigbee hardware should be wired and checked.
Let's assume you want to pair inverter0. Go to menu->inverters and click inv0 in the upper menu bar. You should see its data and the status 'unpaired'. Now click 'pair in the menu bar left-below. In the next page you can choose the inverter you like to pair and click 'pair' in the menu bar right below. Now the pairing starts and the results are shown in the page.
If this failes you should check the inverters serial nr. , the wiring and/or move closer to the inverter. If pairing was successfull, the inverters status wil show its short id e.g. 0xAB12.
Please note that the pairing sometimes failes when there is no sunshine. It is reported that a yc600 would need 40 watt per panel and a QS1 20 Watt.

polling

When the registering and pairing was successfull, the inverter will be polled for data every 5 minutes. The inverter sends the level of produced energy from which an energy increase per 5 minutes is calculated. From this value the power is calculated and both values are saved in the database invData.
example:

  • 10:00hr poll 1: energy1 10000Wh time1: 300000
  • 10:05hr poll 2: energy2 10025Wh time2: 300300
  • 10:05hr Energy increase = poll 2 -/- poll 1 = 25wh ---> store in database
  • 10:05hr 25Wh = 25/(time2-/-time1) = 25/300 = 0,08333(Wsec). Power Wh = energy increase(Wsec) * 3600 = 300(Wh) ----> store in database
  • 10:05hr the polled energy value itself is stored in ramdisk, neede for the next increase calculation.
  • 19:05hr the energy increases are stacked and displayed in webpage/mqtt as enStack[0.1.2.3] and totalenStack

So totalenStack is a shadow variable of what is kept in the database, this value is not influenced by inverter resets. And should even survive a reboot of the RPI.

inverter resets

When the inverter gets not enough light it stops working. This can happen due to a solar eclipse or a very dark shower. Also during twilight this can happen on very cloudy days. And ofcourse at sunset. If the inverter restarts when the lightconditions have improved, the energy value it reports starts from null. So the value in the frontpage is in fact incorrect after a reset of the inverter. This can be checked in the journal. The energy increases in the database will be correct however. So the total energy in the database at the end of the day is also correct.

This means that the reported produced energy in the database is invulnerable for the inverter resets. The charts and statistics will be correct.

Clone this wiki locally