Data anomaly

edited March 2021 in API Info

I'm looking at the JSON returned by the MQTT API.


{"0702":{"0C": { "01": "009815", "40": "04D33E", "30": "0557DB"}}}


How can the "40" field (monthly usage) be smaller than the "30" field (weekly usage)?

Comments

  • It's not how I'd have done it either; it's the Current Week and Current Month, as opposed to the last rolling week and the last rolling month. I guess it's easier to calculate.

    So for today; Thursday 01/04/2021, it's the first day of the month, but three days since Monday.

    My Day and Month readings are the same which made me think about it - Except for gas where my Day reading is slightly higher than the Month reading, which suggests the Month rolled slightly after midnight.

    Looking at the doc;

    'CurrentWeekConsumptionDelivered represents the summed value of Energy, Gas, or Water delivered to the premises since the Historical Freeze Time (HFT) on Monday to the last HFT read'

    'CurrentMonthConsumptionDelivered represents the summed value of Energy, Gas, or Water delivered to the premises since the Historical Freeze Time (HFT) on the 1 st of the month to the last HFT read.'

Sign In or Register to comment.