more metrics please
This commit is contained in:
parent
9dd75085ad
commit
e28a64fbea
1 changed files with 10 additions and 1 deletions
|
@ -9,7 +9,6 @@ from pyModbusTCP.utils import decode_ieee, word_list_to_long
|
|||
logging.basicConfig(level=logging.DEBUG)
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class SDM630_MQTT:
|
||||
def __init__(
|
||||
self,
|
||||
|
@ -62,6 +61,14 @@ class SDM630_MQTT:
|
|||
"apparent-power/L2": 0x000E,
|
||||
"apparent-power/L3": 0x0010,
|
||||
"apparent-power/total": 0x0034,
|
||||
"current-demand/L1": 0x0102,
|
||||
"current-demand/L2": 0x0104,
|
||||
"current-demand/L3": 0x0106,
|
||||
"current-demand/N": 0x0068,
|
||||
"current-demand/max_L1": 0x0108,
|
||||
"current-demand/max_L2": 0x010A,
|
||||
"current-demand/max_L3": 0x010C,
|
||||
"current-demand/max_N": 0x006A,
|
||||
"current/L1": 0x0006,
|
||||
"current/L2": 0x0008,
|
||||
"current/L3": 0x000A,
|
||||
|
@ -77,6 +84,8 @@ class SDM630_MQTT:
|
|||
"phase-angle/L2": 0x0026,
|
||||
"phase-angle/L3": 0x0028,
|
||||
"phase-angle/total": 0x003E,
|
||||
"power-demand/max": 0x0056,
|
||||
"power-demand/total": 0x0054,
|
||||
"power-factor/L1": 0x001E,
|
||||
"power-factor/L2": 0x0020,
|
||||
"power-factor/L3": 0x0022,
|
||||
|
|
Loading…
Reference in a new issue