Simple Python wrapper for the local CGI provided by ZeverSolar. Tested on ...
NOTE: I'm not affiliated with ZeverSolar in any way.
The data is either all separated by spaces, or all newlines except for a space between time and date, either way split() parses them the same.
Field Num | Name | Type | Comment |
---|---|---|---|
00 | WIFI_ENABLED | bool (0|1) | 0==False|1==True |
01 | ? | int | |
02 | SERIAL_NUM|REGISTRY_ID | string | Depends on the value of 01. SerialNum if 01==0|3 else RegistryID. RegistryID is the ethernet MAC address |
03 | REGISTRY_KEY | string | |
04 | HARDWARE_VERSION | string | Known values: M10|M11 |
05 | SOFTWARE_VERSION | string | |
06 | REPORTED_TIME | HH:MM | |
07 | REPORTED_DATE | DD/MM/YYYY | |
08 | COMMUNICATION_STATUS | int|OK|ERROR | Connection to ZeverCloud, 0==OK |
09 | ROW | int (0-4) | Number of inverters connected and providing data, up to a possible 4 |
Repeats ROW number of times: | |||
10 | SERIAL_NUMBER | string | |
11 | INVERTER_VERSION? | string | (Optional) Given with some, seemingly older, versions |
11|12 | PAC | int (Watt) | Current power being generated |
12|13 | ENERGY_TODAY | float (kWh) | Power generated so far today since midnight |
13|14 | STATUS | bool (OK|ERROR) | State of the inverter |
... | |||
n | METER_STATUS | bool (OK|ERROR) | State of the connected meter, if any. ERROR if not connected |
If METER_STATUS==OK: | |||
n+1 | M_P | ? | |
n+2 | M_IN | ? | |
n+3 | M_OUT | ? | |
n+4 | M_METER | ? |
(Some info obscured for privacy)
Field Num | Example 1 | Example 2 | Example 3 | Example 4 | Example 5 |
---|---|---|---|---|---|
00 | 1 | 1 | 1 | 1 | 1 |
01 | 1 | 1 | 1 | 1 | 1 |
02 | EAB961888888 | EAB241666666 | EAB961777777 | EAB961555555 | EAB961555555 |
03 | ABWDWHTQXXXXXXXX | ZYXTBGERXXXXXXXX | WSMQKHTQXXXXXXXX | KS4GLDHNXXXXXXXX | KS4GLDHNXXXXXXXX |
04 | M10 | M10 | M10 | M11 | M11 |
05 | 16415-562R+16413-561R | 18625-797R+17829-719R | 17717-709R+17511-707R | 16B21-663R+16B21-658R | 16B21-663R+16B21-658R |
06 | 15:57 | 16:22 | 13:59 | 16:47 | 16:41 |
07 | 02/02/2023 | 20/02/2022 | 04/02/2023 | 03/02/2023 | 03/02/2023 |
08 | Error | 1 | 0 | Error | Error |
09 | 1 | 1 | 1 | 1 | 0 |
10 | BS15006011999999 | ZS15004513777777 | BS20006011888888 | SX0004016666666 | Error |
11 | V610-01037-04 | 1234 | 226 | 2425 | |
12 | 30 | 8.9 | 0.89 | 19.70 | |
13 | 0.0 | OK | OK | OK | |
14 | OK | Error | Error | Error | |
15 | Error |