|
|
@@ -61,13 +61,13 @@ def iterate_json(json_obj):
|
|
|
else:
|
|
|
if key.startswith("active"):
|
|
|
if key.endswith("_w"):
|
|
|
- print(f"P {key} Power={value};2100;2200;2300;0;2500 Current Watts:{value}")
|
|
|
+ print(f"P {key} Power={value};2100;2200;0;2500 Current Watts:{value}")
|
|
|
if key.endswith("_v"):
|
|
|
- print(f"P {key} volt={value};252;253;260;0;300 Current Volts:{value}")
|
|
|
+ print(f"P {key} volt={value};252;253;0;300 Current Volts:{value}")
|
|
|
if key.endswith("_a"):
|
|
|
- print(f"P {key} amps={value};8;10;15;0;20 Current Amps:{value}")
|
|
|
+ print(f"P {key} amps={value};8;10;0;20 Current Amps:{value}")
|
|
|
if key.endswith("tariff"):
|
|
|
- print(f"P {key} tariff={value};;;;; Current Tariff:{value}")
|
|
|
+ print(f"P {key} tariff={value};;;; Current Tariff:{value}")
|
|
|
|
|
|
# Additional information is available, but not at current needed
|
|
|
# if key.startswith("external"):
|