|
104 | 104 | Sensor(661, "Gen L1 voltage", VOLT, 0.1, alias="AUX L1 voltage"), |
105 | 105 | Sensor(662, "Gen L2 voltage", VOLT, 0.1, alias="AUX L2 voltage"), |
106 | 106 | Sensor(663, "Gen L3 voltage", VOLT, 0.1, alias="AUX L3 voltage"), |
107 | | - Sensor(671, "Gen L1 current", AMPS, -0.01, alias="AUX L1 current"), |
108 | | - Sensor(672, "Gen L2 current", AMPS, -0.01, alias="AUX L2 current"), |
109 | | - Sensor(673, "Gen L3 current", AMPS, -0.01, alias="AUX L3 current"), |
| 107 | + # Sensor(671, "Gen L1 current", AMPS, -0.01, alias="AUX L1 current"), |
| 108 | + # Sensor(672, "Gen L2 current", AMPS, -0.01, alias="AUX L2 current"), |
| 109 | + # Sensor(673, "Gen L3 current", AMPS, -0.01, alias="AUX L3 current"), |
110 | 110 | ) |
111 | 111 |
|
112 | 112 | #################### |
|
188 | 188 | # SDStatusSensor(0, "SD Status", ""), # 3 Phase does not have SD Card but crashes when removed |
189 | 189 | TempSensor(540, "DC transformer temperature", CELSIUS, 0.1), |
190 | 190 | TempSensor(541, "Radiator temperature", CELSIUS, 0.1), |
191 | | - BinarySensor(552, "Grid Connected", bitmask=1 << 2), |
192 | 191 | SystemTimeRWSensor((62, 63, 64), "Date Time", unit=""), |
193 | 192 | ) |
194 | 193 |
|
|
198 | 197 | SENSORS += ( |
199 | 198 | BinarySensor(552, "INV Relay Status", bitmask=1 << 0), |
200 | 199 | BinarySensor(552, "Undefined Load Relay Status", bitmask=1 << 1), |
201 | | - BinarySensor(552, "Grid Relay Status", bitmask=1 << 2), |
| 200 | + BinarySensor(552, "Grid Connected", bitmask=1 << 2, alias="Grid Relay Status"), |
202 | 201 | BinarySensor(552, "Generator Relay Status", bitmask=1 << 3), |
203 | 202 | BinarySensor(552, "Grid Give Power to Relay Status", bitmask=1 << 4), |
204 | 203 | BinarySensor(552, "Dry Contact1 Status", bitmask=1 << 5), |
|
215 | 214 | NumberRWSensor(126, "Grid Charge Start Battery Voltage", VOLT, 0.01, max=6300), |
216 | 215 | NumberRWSensor(127, "Grid Charge Start Battery SOC", "%"), |
217 | 216 | SwitchRWSensor(130, "Grid Charge enabled", on=1), |
218 | | - SwitchRWSensor(146, "Use Timer"), |
219 | 217 | SwitchRWSensor(145, "Solar Export", on=1), |
220 | 218 | NumberRWSensor(143, "Export Limit power", WATT, max=RATED_POWER), |
221 | 219 | NumberRWSensor(108, "Battery Max Charge current", AMPS, max=240), |
|
357 | 355 | "Prog Time Of Use Enabled", |
358 | 356 | on=1 << 0, |
359 | 357 | bitmask=1 << 0, |
| 358 | + alias="Use Timer", |
360 | 359 | ), |
361 | 360 | SwitchRWSensor(146, "Prog Monday Enabled", on=1 << 1, bitmask=1 << 1), |
362 | 361 | SwitchRWSensor(146, "Prog Tuesday Enabled", on=1 << 2, bitmask=1 << 2), |
|
0 commit comments