|
@@ -316,12 +316,12 @@ def processMeterData(data):
|
|
if momType_conv2 is not None and meters_yaml[cNum].get('influxFieldName_mom_conv2', None) is not None:
|
|
if momType_conv2 is not None and meters_yaml[cNum].get('influxFieldName_mom_conv2', None) is not None:
|
|
data_momentary[cNum][meters_yaml[cNum].get('influxFieldName_mom_conv2', 'momentaryUsage_conv2')] = round(momValue_conv2, momDigits_conv2)
|
|
data_momentary[cNum][meters_yaml[cNum].get('influxFieldName_mom_conv2', 'momentaryUsage_conv2')] = round(momValue_conv2, momDigits_conv2)
|
|
|
|
|
|
- print()
|
|
|
|
- print("data_energy[cNum]")
|
|
|
|
- print(data_energy[cNum])
|
|
|
|
- print("data_momentary[cNum]")
|
|
|
|
- print(data_momentary[cNum])
|
|
|
|
- print()
|
|
|
|
|
|
+ #print()
|
|
|
|
+ #print("data_energy[cNum]")
|
|
|
|
+ #print(data_energy[cNum])
|
|
|
|
+ #print("data_momentary[cNum]")
|
|
|
|
+ #print(data_momentary[cNum])
|
|
|
|
+ #print()
|
|
|
|
|
|
# InfluxDB
|
|
# InfluxDB
|
|
t_utc = datetime.datetime.utcnow()
|
|
t_utc = datetime.datetime.utcnow()
|