Skip to content

Some values not reported correctly #24

@ludrao

Description

@ludrao

The problem encountered

Note: this may be related to #20
Using MQTT mode + Home Assistant.

Some value seem truncated, e.g. 324206 instead of 3242060 (missing the last digit) for EASF0x energy indexes
This screws home assistant statistics since it thinks the index looped...

Firmware version

V3.2.7

Steps for reproducing the error

Nothing specific this seems to happen randomly, a couple of times a day

What I've already tested

I captured what is reported to mosquito server using this command:
mosquitto_sub -u ha-client -P "XXXXX" -t 'TICMeter/545520/EASF01' -t 'TICMeter/545520/EASF02' -t 'TICMeter/545520/EASF03' -t 'TICMeter/545520/EASF04' -t 'TICMeter/545520/EASF05' -t 'TICMeter/545520/EASF06' -p 1883 > mqttsub.log
Thus taking Home Assistant out of the equation.

This is the output I got (truncated file, greped on "324" to list the same index value)

3241862
3241870
3241878
3241887
3241896
3241905
3241914
3241921
3241922
3241937
3241952
3241960
3241968
3241968
3241984
3241993
324200
3242010
3242018
3242027
3242035
3242043
3242051
324206
3242069
3242077

As you can see the TICMeter reported truncated value 324200 and 324206 (3rd and 10th line from the end)

This is confirmed from the data view in home assistant:
image

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions