amsreader-firmware icon indicating copy to clipboard operation
amsreader-firmware copied to clipboard

2.1.7 / ESP32 / Aidon 3p IT doers not publish data for L3 in MQTT raw full

Open tronde-ams opened this issue 1 year ago • 2 comments

ESP32 / Aidon 3p IT Norway

No logging. I have not used MQTT for long time, so I don't from which version this appeared first. I am using public broker broker.emqx.io without SSL.

{publish topic}/meter/l3/current {publish topic}/meter/l3/voltage

is not published for MQTT raw full. MQTT raw minimal does publish them as expected.

My meter does not publish power factor, so I don't kow if it is affected as well.

tronde-ams avatar Aug 28 '22 18:08 tronde-ams

Could you try this version: esp32.zip

gskjold avatar Sep 25 '22 08:09 gskjold

feb8e50 behaves the same as 2.1.7 :-(

I use MQTT Explorer to monitor.

It also seems like there are some kind of bug related to prices. I have noticed it in 2.1.7, but not paid much attention at the moment. Will open a new issue if I get a better impression of what it is about., but maybe you should look at the retain flag for prices?

This is RAW full (time 15:14:49). RAW full was activated several minutes before the screen shot. No data for L3

full 2022-09-25_151449

This is RAW minimal (time 15:15:55) OK data for L3

minimal 2022-09-25_151555

tronde-ams avatar Sep 25 '22 13:09 tronde-ams

Currently debugging with RAW full and consistently receiving data for l3. Maybe you are hitting some limits of emqx? https://docs.emqx.com/en/cloud/latest/intro/restriction.html#connected-communications

gskjold avatar Sep 27 '22 16:09 gskjold

Maybe? But I find it strange that it always affect L3-

I will try some of the other public brokers an see what happens.

tronde-ams avatar Sep 27 '22 19:09 tronde-ams

I have changed to test.mosquitto.org, and everything including prices seems to be OK. I use the same hardware running https://github.com/gskjold/AmsToMqttBridge/commit/feb8e5007bb210557c74cacfcd2699ad836595a8 so it seems like EMQX was the culprit here.

tronde-ams avatar Sep 27 '22 23:09 tronde-ams

Good to know!

gskjold avatar Sep 28 '22 04:09 gskjold