dingo35 / SmartEVSE-3.5

Smart Electric Vehicle Charging Station (EVSE)
MIT License
38 stars 13 forks source link

RC2 session charged kWh not displayed #45

Closed rvdgaag closed 2 months ago

rvdgaag commented 2 months ago
Scherm­afbeelding 2024-04-05 om 07 09 22

RC2 works fine here, however when the session is finished the total charged kWH is not displayed.

{"version":"v3.5.0-RC2","mode":"OFF","mode_id":0,"car_connected":true,"wifi":{"status":"WL_CONNECTED","ssid":"McWifi_IoT","rssi":-53,"bssid":"D0:21:F9:73:17:8A"},"evse":{"temp":25,"temp_max":65,"connected":true,"access":false,"mode":1,"loadbl":1,"pwm":1024,"solar_stop_timer":0,"state":"Charging Stopped","state_id":9,"error":"None","error_id":0,"rfid":"Not Installed"},"settings":{"charge_current":0,"override_current":0,"current_min":6,"current_max":16,"current_main":25,"current_max_circuit":25,"current_max_sum_mains":65,"solar_max_import":2,"solar_start_current":4,"solar_stop_time":3,"enable_C2":"Solar Off","modem":"Not present","mains_meter":"API","starttime":0,"stoptime":0,"repeat":0},"mqtt":{"host":"192.168.1.11","port":1883,"topic_prefix":"SmartEVSE1","username":"energie","password_set":true,"status":"Connected"},"home_battery":{"current":-38,"last_update":1712293971},"ev_meter":{"description":"Eastron3P","address":101,"import_active_power":0,"total_kwh":9711.900391,"charged_kwh":0,"currents":{"TOTAL":0,"L1":0,"L2":0,"L3":0},"import_active_energy":9711.900391,"export_active_energy":0},"mains_meter":{"import_active_energy":0,"export_active_energy":0},"phase_currents":{"TOTAL":83,"L1":47,"L2":28,"L3":8,"last_data_update":1712293971,"original_data":{"TOTAL":83,"L1":47,"L2":28,"L3":8}},"backlight":{"timer":120,"status":"ON"}}

dingo35 commented 2 months ago

@rvdgaag Was this in Smart mode or in Solar mode?

rvdgaag commented 2 months ago

It was in the smart mode


Van: dingo35 @.> Verzonden: Friday, April 5, 2024 8:28:39 AM Aan: dingo35/SmartEVSE-3.5 @.> CC: rvdgaag @.>; Mention @.> Onderwerp: Re: [dingo35/SmartEVSE-3.5] RC2 session charged kWh not displayed (Issue #45)

@rvdgaaghttps://github.com/rvdgaag Was this in Smart mode or in Solar mode?

— Reply to this email directly, view it on GitHubhttps://github.com/dingo35/SmartEVSE-3.5/issues/45#issuecomment-2039040773, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACNTC36NYGXN56E7HW5MJIDY3ZABPAVCNFSM6AAAAABFYQAYEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZZGA2DANZXGM. You are receiving this because you were mentioned.Message ID: @.***>

dingo35 commented 2 months ago

Now I also have those "resets" to zero (like @djoenez):

Schermafdruk van 2024-04-05 10-23-42

...but they happen exactly when I start charging:

Schermafdruk van 2024-04-05 10-25-25

...so that is intended behaviour.

What state changes can you see that cause a reset? I'm afraid my test rig only shows this kind of behaviour when I am at state B1, which should then be reset to B by the EV... which turns back to normal behaviour.

EDIT: light blue = charging in the lower graph.

dingo35 commented 2 months ago

@rvdgaag : You are sure you were charging on the Master, and snapshot and config are all from Master device?

So we are not talking about the Node / Slave device ?

rvdgaag commented 2 months ago

Yup its the master. The slave unit is only used for my wifes car


Van: dingo35 @.> Verzonden: Friday, April 5, 2024 11:22:37 AM Aan: dingo35/SmartEVSE-3.5 @.> CC: rvdgaag @.>; Mention @.> Onderwerp: Re: [dingo35/SmartEVSE-3.5] RC2 session charged kWh not displayed (Issue #45)

@rvdgaaghttps://github.com/rvdgaag : You are sure you were charging on the Master, and snapshot and config are all from Master device?

So we are not talking about the Node / Slave device ?

— Reply to this email directly, view it on GitHubhttps://github.com/dingo35/SmartEVSE-3.5/issues/45#issuecomment-2039310094, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACNTC34CEJKE4XS7FC3W3YTY3ZUN3AVCNFSM6AAAAABFYQAYEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZZGMYTAMBZGQ. You are receiving this because you were mentioned.Message ID: @.***>

dingo35 commented 2 months ago

Well both my fellow dev and I cannot reproduce, nor explain it (going through the code), perhaps djoenez can give us some pointers on his observations / logs...

rvdgaag commented 2 months ago

yesterdays and last nights charging sessions were ok, the reporting was not reset again. So let's consider this a hickup.

djoenez commented 2 months ago

image Dove into the reset. i see the smartevse becomes unavailable (so a reboot?). after that it started charging again. I agree with rvdgaag. let's see it as a hickup, and ill monitor if it happens more often and open a new issue if that is the case.