fix apparent vs active power
This commit is contained in:
parent
ad255e73c9
commit
7c1ea8b2a7
2 changed files with 9 additions and 5 deletions
|
@ -27,7 +27,7 @@ TABLE_LAYOUT = {
|
|||
},
|
||||
},
|
||||
"row2": {
|
||||
"apparent-power": {
|
||||
"active-power": {
|
||||
"name": "Apparent Power",
|
||||
"suffix": "W",
|
||||
},
|
||||
|
|
|
@ -57,10 +57,14 @@ class SDM630_MQTT:
|
|||
self.modbus.open()
|
||||
for idx, (readable, address) in enumerate(
|
||||
{
|
||||
"apparent-power/L1": 0x000C,
|
||||
"apparent-power/L2": 0x000E,
|
||||
"apparent-power/L3": 0x0010,
|
||||
"apparent-power/total": 0x0034,
|
||||
"active-power/L1": 0x000C,
|
||||
"active-power/L2": 0x000E,
|
||||
"active-power/L3": 0x0010,
|
||||
"active-power/total": 0x0034,
|
||||
"apparent-power/L1": 0x0012,
|
||||
"apparent-power/L2": 0x0014,
|
||||
"apparent-power/L3": 0x0016,
|
||||
"apparent-power/total": 0x0038,
|
||||
"current-demand/L1": 0x0102,
|
||||
"current-demand/L2": 0x0104,
|
||||
"current-demand/L3": 0x0106,
|
||||
|
|
Loading…
Reference in a new issue