Tinkerforge / esp32-firmware

Firmwares for ESP32 Brick and ESP32 Ethernet Brick (including firmwares for WARP/WARP2 Charger, WARP Energy Manager)
https://www.tinkerforge.com/en/doc/Hardware/Bricks/ESP32_Ethernet_Brick.html
23 stars 20 forks source link

meter: fix api_meter not updating last_value_change #269

Closed poohnet closed 11 months ago

poohnet commented 11 months ago

"meter/all_values_update" calls Meter::updateMeterAllValues(int idx, float val) {...}. Unfortunately last_value_change is not updated, resulting in meter monitoring blocking after some time without charging.

MattiasTF commented 11 months ago

Thanks for the fix.