-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwattpilot_mapping_gen.go
217 lines (216 loc) · 9.89 KB
/
wattpilot_mapping_gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
package wattpilot
var propertyMap = map[string]string{
"accessState": "acs",
"adapterLimit": "adi",
"adapterLimit1": "al1",
"adapterLimit2": "al2",
"adapterLimit3": "al3",
"adapterLimit4": "al4",
"adapterLimit5": "al5",
"akkuMode": "fbuf_akkuMode",
"akkuSoc": "fbuf_akkuSOC",
"allowCharging": "alw",
"allowedCurrent": "acu",
"appRecommendedVersion": "arv",
"averagePAkku": "pvopt_averagePAkku",
"averagePGrid": "pvopt_averagePGrid",
"averagePPv": "pvopt_averagePPv",
"avgPowerOhmpilot": "pvopt_averagePOhmpilot",
"awattarCountry": "awc",
"awattarCurrentPrice": "awcp",
"awattarMaxPrice": "awp",
"awattarPriceList": "awpl",
"buttonAllowCurrentChange": "bac",
"cableCurrentLimit": "cbl",
"cableLock": "ust",
"cableUnlockStatus": "cus",
"carConsumption": "cco",
"carState": "car",
"carType": "ct",
"chargeControllerRecommendedVersion": "ccrv",
"chargeControllerUpdateProgress": "ccu",
"chargingCurrent": "amp",
"chargingDurationInfo": "cdi",
"chargingEnergyLimit": "dwo",
"cloudClientAuth": "cca",
"cloudWsConnected": "cwsc",
"cloudWsConnectedAge": "cwsca",
"cloudWsEnabled": "cwe",
"cloudWsStarted": "cws",
"colorCharging": "cch",
"colorFinished": "cfi",
"colorIdle": "cid",
"colorWaitCar": "cwc",
"cpEnable": "cpe",
"cpEnableRequest": "cpr",
"currentLimitPresets": "clp",
"currentlyConnectedWifi": "ccw",
"defaultRoute": "nif",
"deltaCurrent": "pvopt_deltaA",
"deltaPower": "pvopt_deltaP",
"deviceType": "typ",
"dnsServer": "dns",
"effectiveLockSetting": "lck",
"effectiveRoundingMode": "ferm",
"energy": "nrg",
"energyCounterSinceStart": "wh",
"energyCounterTotal": "eto",
"energySetKwh": "esk",
"energyTotalPersisted": "etop",
"errorState": "err",
"espChipInfo": "eci",
"espCpuFreq": "ecf",
"espFlashInfo": "efi",
"espFreeHeap": "efh",
"espFreeHeap32": "efh32",
"espFreeHeap8": "efh8",
"espHeapSize": "ehs",
"espMaxHeap": "emhb",
"espMinFreeHeap": "emfh",
"espResetReason": "rr",
"factoryFriendlyName": "ffna",
"factoryWifiApKey": "facwak",
"factoryWifiApName": "fwan",
"fbufAge": "fbuf_age",
"firmwareCarControl": "fwc",
"firmwareDescription": "apd",
"firmwareVersion": "fwv",
"flashEncryptionMode": "fem",
"forceSinglePhase": "fsp",
"forceSinglePhaseDuration": "psmd",
"forceSinglePhaseToggleWishedSince": "fsptws",
"forceState": "frc",
"frequency": "fhz",
"friendlyName": "fna",
"hostname": "host",
"httpConnectedClients": "wcch",
"httpStaAuthentication": "hsa",
"httpStaReachable": "hws",
"inverterDataAge": "inva",
"inverterDataOverride": "ido",
"lastButtonPress": "lbp",
"lastCarStateChangedFromCharging": "lccfc",
"lastCarStateChangedFromIdle": "lccfi",
"lastCarStateChangedToCharging": "lcctc",
"lastForceSinglePhaseToggle": "lfspt",
"lastModelStatusChange": "lmsc",
"lastPvSurplusCalculation": "lpsc",
"lastStaSwitchedFromConnected": "lssfc",
"lastStaSwitchedToConnected": "lsstc",
"ledBrightness": "lbr",
"ledInfo": "led",
"ledSaveEnergy": "lse",
"loadBalancingAmpere": "loa",
"loadBalancingEnabled": "loe",
"loadBalancingMembers": "lom",
"loadBalancingStatus": "los",
"loadBalancingTotalAmpere": "lot",
"loadBalancingType": "loty",
"loadFallback": "lof",
"loadGroupId": "log",
"loadMapping": "map",
"loadPriority": "lop",
"localTime": "loc",
"lockFeedback": "ffb",
"lockFeedbackAge": "ffba",
"logicMode": "lmo",
"maxCurrentLimit": "ama",
"minChargePauseDuration": "mcpd",
"minChargePauseEndsAt": "mcpea",
"minChargeTime": "fmt",
"minChargingCurrent": "mca",
"minPhaseToggleWaitTime": "mptwt",
"minPhaseWishSwitchTime": "mpwst",
"minimumChargingInterval": "mci",
"modelStatus": "modelStatus",
"modelStatusInternal": "msi",
"moduleHwPcbVersion": "mod",
"norwayMode": "nmo",
"numberOfPhases": "pnp",
"oemManufacturer": "oem",
"ohmpilotState": "fbuf_ohmpilotState",
"ohmpilotTemperature": "fbuf_ohmpilotTemperature",
"ohmpilotTemperatureLimit": "fot",
"otaCloudApp": "oca",
"otaCloudBranches": "ocu",
"otaCloudLength": "ocl",
"otaCloudMessage": "ocm",
"otaCloudProgress": "ocp",
"otaCloudStatus": "ocs",
"otaCloudUseClientAuth": "ocuca",
"otaNewestVersion": "onv",
"otaPartition": "otap",
"pAkku": "pakku",
"pGrid": "pgrid",
"pPv": "ppv",
"partitionTable": "part",
"partitionTableOffset": "pto",
"phaseSwitchHysteresis": "psh",
"phaseSwitchMode": "psm",
"phaseWishMode": "pwm",
"phases": "pha",
"powerAcTotal": "fbuf_pAcTotal",
"powerAkku": "fbuf_pAkku",
"powerGrid": "fbuf_pGrid",
"powerPv": "fbuf_pPv",
"prioOffset": "po",
"pvBatteryLimit": "fam",
"pvOptSpecialCase": "pvopt_specialCase",
"queueSizeCloud": "qsc",
"queueSizeWs": "qsw",
"rebootCharger": "rst",
"rebootCounter": "rbc",
"registeredCards": "cards",
"relayFeedback": "rfb",
"residualCurrentDetection": "rcd",
"roundingMode": "frm",
"rtcResetReasons": "esr",
"schedulerSaturday": "sch_satur",
"schedulerSunday": "sch_sund",
"schedulerWeekday": "sch_week",
"secureBootEnabled": "sbe",
"serialNumber": "sse",
"simulateUnplugging": "su",
"simulateUnpluggingAlways": "sua",
"simulateUnpluggingDuration": "sumd",
"startingPower": "fst",
"stopHysteresis": "sh",
"temperatureCurrentLimit": "amt",
"temperatureSensors": "tma",
"threePhaseSwitchLevel": "spl3",
"timeServer": "ts",
"timeServerEnabled": "tse",
"timeServerOperatingMode": "tsom",
"timeServerSyncInterval": "tssi",
"timeServerSyncMode": "tssm",
"timeServerSyncStatus": "tsss",
"timeSinceBoot": "rbt",
"timezoneDaylightSavingMode": "tds",
"timezoneOffset": "tof",
"totalPowerAverage": "tpa",
"transaction": "trx",
"unlockPowerOutage": "upo",
"useDynamicPricing": "ful",
"usePvSurplus": "fup",
"utcTime": "utc",
"variant": "var",
"wifiApKey": "wak",
"wifiApName": "wan",
"wifiConfigs": "wifis",
"wifiCurrentMac": "wcb",
"wifiEnabled": "wen",
"wifiFailedMac": "wfb",
"wifiPlannedMac": "wpb",
"wifiRssi": "rssi",
"wifiScanAge": "scaa",
"wifiScanResult": "scan",
"wifiScanStatus": "scas",
"wifiSsid": "wss",
"wifiStaErrorCount": "wsc",
"wifiStaErrorMessage": "wsm",
"wifiStaStatus": "wst",
"wifiStateMachineState": "wsms",
"wsConnectedClients": "wccw",
"zeroFeedin": "fzf",
"zeroFeedinOffset": "zfo",
}