dingo35 / Sensorbox-2

Sensorbox-2 will measure three phase current with CT's or a Smart Meter connection, and send this data to a SmartEVSE
2 stars 0 forks source link

Sometimes empty/null values on the MQTT broker #2

Open fluppie opened 1 week ago

fluppie commented 1 week ago

Describe the bug Sometimes an empty/null value is posted to the MQTT broker. afbeelding

afbeelding

Upload your config Press the "raw" button in the SmartEVSE webserver and upload the json settings file, so we can look at your configuration. `

  |   -- | -- version | "21:14:10 @Oct 30 2024" serialnr | 100321 smartevse_host | "" wifi |   status | "WL_CONNECTED" ssid | "MyWiFiSSID" rssi | -32 bssid | "F0:9F:C2:F4:01:56" settings |   mains_meter | "Sensorbox" evse |   temp | 0 ev_meter |   description | "Disabled" currents |   TOTAL | 0 L1 | 0 L2 | 0 L3 | 0 mqtt |   host | "verybigsecret.com" port | 1883 topic_prefix | "Sensorbox/100321" username | "secretuser" password_set | true status | "Connected" phase_currents |   TOTAL | 34 L1 | 34 L2 | 0 L3 | 0 last_data_update | 1730322503

`

To Reproduce Just flash the new Sensorbox fw, connect to your MQTT broker and watch the traffic in MQTT Explorer

Expected behavior No null/empty values, maybe from time to time, but now this is almost 50% of the time I get these.

dingo35 commented 3 days ago

So are you using P1 connection or CT clamps?

fluppie commented 3 days ago

CT Clamp, Only on L1. But for some weird reason, when I now launch mqtt explorer... No more nulls afbeelding

dingo35 commented 3 days ago

Ok I am not able to test in real life conditions, but Michael Stegen has had this version running for some time now without problems, so I will be releasing this version (it is added functionality so even if it has a bug in it, nobody sacrifices anything....)