wallento / sungrow-websocket

Python Library to acees the websocket interface of Sungrow inverters
MIT License
7 stars 3 forks source link

Support more than one device in the device list #5

Open damolp opened 1 year ago

damolp commented 1 year ago

Useful if you have more than one device on RS485, eg Batteries or other Inverters in Primary/Secondary

+-------------------+---------------------------------------+-------------------+
| Device            | Item                                  | Value             |
+-------------------+---------------------------------------+-------------------+
| SH6.0RS(COM1-001) | Daily PV Yield                        | 10.4 kWh          |
| SH6.0RS(COM1-001) | Total PV Yield                        | 153.0 kWh         |
| SH6.0RS(COM1-001) | Total Yield                           | -- kWh            |
| SH6.0RS(COM1-001) | Running Status                        | Dispatch Running  |
| SH6.0RS(COM1-001) | Bus Voltage                           | 465.3 V           |
| SH6.0RS(COM1-001) | Internal Air Temperature              | 33.6 ℃            |
| SH6.0RS(COM1-001) | Array Insulation Resistance           | 1121 kΩ           |
| SH6.0RS(COM1-001) | Daily Self-consumption Rate           | 100.0 %           |
| SH6.0RS(COM1-001) | Total Export Active  Power            | 0.00 kW           |
| SH6.0RS(COM1-001) | Purchased Power                       | 0.00 kW           |
| SH6.0RS(COM1-001) | Daily Feed-in Energy                  | -- kWh            |
| SH6.0RS(COM1-001) | Total Feed-in Energy                  | 10.1 kWh          |
| SH6.0RS(COM1-001) | Daily Purchased Energy                | -- kWh            |
| SH6.0RS(COM1-001) | Total Purchased Energy                | 266.9 kWh         |
| SH6.0RS(COM1-001) | Daily Feed-in Energy (PV)             | 0.0 kWh           |
| SH6.0RS(COM1-001) | Total Feed-in Energy (PV)             | 0.5 kWh           |
| SH6.0RS(COM1-001) | Total Load Active Power               | 0.289 kW          |
| SH6.0RS(COM1-001) | Daily Load Energy Consumption from PV | 1.6 kWh           |
| SH6.0RS(COM1-001) | Total Load Energy Consumption from PV | 52.3 kWh          |
| SH6.0RS(COM1-001) | Total DC Power                        | 0.10 kW           |
| SH6.0RS(COM1-001) | Total Active Power                    | 0.29 kW           |
| SH6.0RS(COM1-001) | Total Reactive Power                  | 1.41 kvar         |
| SH6.0RS(COM1-001) | Total Apparent Power                  | 1.45 kVA          |
| SH6.0RS(COM1-001) | Total Power Factor                    | 0.202             |
| SH6.0RS(COM1-001) | Grid Frequency                        | 50.02 Hz          |
| SH6.0RS(COM1-001) | Phase A Voltage                       | 246.7 V           |
| SH6.0RS(COM1-001) | Phase A Current                       | 7.3 A             |
| SH6.0RS(COM1-001) | Phase A Backup Current                | 1.9 A             |
| SH6.0RS(COM1-001) | Phase B Backup Current                | 0.0 A             |
| SH6.0RS(COM1-001) | Phase C Backup Current                | 0.0 A             |
| SH6.0RS(COM1-001) | Phase A Backup Voltage                | 246.7 V           |
| SH6.0RS(COM1-001) | Phase B Backup Voltage                | 0.0 V             |
| SH6.0RS(COM1-001) | Phase C Backup Voltage                | 0.0 V             |
| SH6.0RS(COM1-001) | Backup Frequency                      | 50.02 HZ          |
| SH6.0RS(COM1-001) | Phase A Backup Power                  | 0.263 kW          |
| SH6.0RS(COM1-001) | Phase B Backup Power                  | 0.000 kW          |
| SH6.0RS(COM1-001) | Phase C Backup Power                  | 0.000 kW          |
| SH6.0RS(COM1-001) | Total Backup Power                    | 0.263 kW          |
| SH6.0RS(COM1-001) | Maximum Apparent Power                | 6.0 kVar          |
| SH6.0RS(COM1-001) | Meter Grid Freq                       | 50.00 Hz          |
| SH6.0RS(COM1-001) | Reactive Power Uploaded by Meter      | -- var            |
| SH6.0RS(COM1-001) | Battery Charging Power                | 0.000 kW          |
| SH6.0RS(COM1-001) | Battery Discharging Power             | 0.232 kW          |
| SH6.0RS(COM1-001) | Battery Voltage                       | 400.0 V           |
| SH6.0RS(COM1-001) | Battery Current                       | 0.5 A             |
| SH6.0RS(COM1-001) | Battery Temperature                   | 19.0 ℃            |
| SH6.0RS(COM1-001) | Battery Level (SOC)                   | 98.9 %            |
| SH6.0RS(COM1-001) | Battery Health (SOH)                  | 100.0 %           |
| SH6.0RS(COM1-001) | Max. Charging Current (BMS)           | 10 A              |
| SH6.0RS(COM1-001) | Max. Discharging Current (BMS)        | 30 A              |
| SH6.0RS(COM1-001) | Daily Battery Charging Energy from PV | 8.8 kWh           |
| SH6.0RS(COM1-001) | Total Battery Charging Energy from PV | 100.2 kWh         |
| SH6.0RS(COM1-001) | Daily Battery Discharging Energy      | 2.8 kWh           |
| SH6.0RS(COM1-001) | Total Battery Discharging Energy      | 144.4 kWh         |
| SH6.0RS(COM1-001) | Daily Battery Charging Energy         | 14.0 kWh          |
| SH6.0RS(COM1-001) | Total Battery Charging Energy         | 194.7 kWh         |
| SH6.0RS(COM1-001) | MPPT1 Voltage                         | 112.4 V           |
| SH6.0RS(COM1-001) | MPPT1 Current                         | 0.6 A             |
| SH6.0RS(COM1-001) | MPPT2 Voltage                         | 60.3 V            |
| SH6.0RS(COM1-001) | MPPT2 Current                         | 0.4 A             |
| SBR192(COM1-200)  | Battery Voltage                       | 399.2 V           |
| SBR192(COM1-200)  | Battery Current                       | 0.0 A             |
| SBR192(COM1-200)  | Battery Temperature                   | 19.4 ℃            |
| SBR192(COM1-200)  | Battery Level                         | 99.0 %            |
| SBR192(COM1-200)  | Battery Health (SOH)                  | 100 %             |
| SBR192(COM1-200)  | Total Battery Charging Energy         | 168.0 kWh         |
| SBR192(COM1-200)  | Total Battery Discharge (BMS)         | 152.3 kWh         |
| SBR192(COM1-200)  | Battery Operation Status              | Run               |
| SBR192(COM1-201)  | Battery Voltage                       | 399.2 V           |
| SBR192(COM1-201)  | Battery Current                       | 0.7 A             |
| SBR192(COM1-201)  | Battery Temperature                   | 18.6 ℃            |
| SBR192(COM1-201)  | Battery Level                         | 98.3 %            |
| SBR192(COM1-201)  | Battery Health (SOH)                  | 100 %             |
| SBR192(COM1-201)  | Total Battery Charging Energy         | 21.5 kWh          |
| SBR192(COM1-201)  | Total Battery Discharge (BMS)         | 9.3 kWh           |
| SBR192(COM1-201)  | Battery Operation Status              | Run               |
+-------------------+---------------------------------------+-------------------+