openevse_esp32_firmware icon indicating copy to clipboard operation
openevse_esp32_firmware copied to clipboard

SteVe and OCPP transaction energy metering unit options?

Open retrocoder-78 opened this issue 2 years ago • 1 comments

Hi OpenEVSE team,

Amazing work.

I took a look and hopefully this is the correct place to comment. I updated to the most recent 7.1.3. In SteVe under the transaction area, all the energy metering is in W or Wh. The Wh (energy) reporting every minute (which is great and very sufficient from a data perspective) and the power every 10 minutes. In regards to monitoring data and using that information from the database elsewhere, Amps (current flow) and Voltage would be helpful. Possibly kWh too. Are there already options to adjust from one to the other? Or, would I be building from source?

Thank you for any information! :)

retrocoder-78 avatar Jun 22 '22 22:06 retrocoder-78

Hi @retrocoder-78

Sorry for not responding earlier. The development fork for OCPP already supports more measurands, including the voltage and amperage. Feel free to try it. If you find any problems in that fork, please let me know about it, it is not fully tested yet.

If you need to change the units or add more readings, you can adapt it in the OCPP integration:

https://github.com/matth-x/ESP32_WiFi_V4.x/blob/master/src/ocpp.cpp#L134-L168

matth-x avatar Jul 13 '22 10:07 matth-x