Mqtt from reading PV .
Service receives topic
DEBUG user.MQTTSubscribe: (Service) MessageCallbackProvider data-> incoming topic: sunnybeam, QOS: 0, retain: 0, payload: b'\n{"time": "2021-04-07 22:53:34", "device":"140049694", "pac":0.00, "e_today":2.56, "e_total":19139.73}'
Data is not parsed value is zero’
DEBUG user.MQTTSubscribe: (Service) TopicManager data-> incoming sunnybeam: dateTime: 2021-04-07 22:56:48, device: 140049694.0, eToday1: 0.0, eTotal1: 0.0, pacInv1: 0.0
If course zero in, zero out.
DEBUG user.MQTTSubscribe: (Service) TopicManager data-> outgoing sunnybeam: dateTime: 1617829041.0, device: 140049694.0, eToday1: 0.0, eTotal1: 0.0, pacInv1: 0.0, usUnits: 16
Accumulator
[Accumulator]
[[pacInv1]]
accumulator = scalar
adder = add
merger = minmax
extractor = avg
[[eToday1]]
accumulator = scalar
adder = add
merger = minmax
extractor = last
[[eTotal1]]
accumulator = scalar
adder = add
merger = minmax
extractor = last
[[topics]]
unit_system = METRIC
datetime_format = "%Y-%m-%d %H:%M:%S"
[[[Message]]]
type = json
keyword_separator = ":"
[[[sunnybeam]]]
[[[[time]]]]
name = dateTime
conversion_type = none
[[[[pac]]]]
contains_total = False
units = watt
name = pacInv1
[[[[e_today]]]]
contains_total = True
units = kilowatt_hour
name = eToday1
[[[[e_total]]]]
contains_total = True
units = kilowatt_hour
name = eTotal1