KipK / openevse-gui-v2

OpenEVSE WiFi Gateway User Interface (V2)
BSD 2-Clause "Simplified" License
5 stars 2 forks source link

MQTT topic for ECO and shaper must be different? #30

Closed pdhoogh closed 1 year ago

pdhoogh commented 1 year ago

This is v4.7.1 on GUI v2.

I tried current shaper and it does not seem to work. I put this on a different issue, but Guillaume thought it was out of topic, so I'm making a new one for this. I'm not sure if this is a GUI v2 issue or a 4.1.7 issue. I have no problem moving this to the "general/official" section.

image

Guillaume thought in the current implementation the MQTT topics for ECO and Shaper must be different. Since Shaper was built separate as an add-on I understand why that is. In my opinion both should be using the same topic by default. as it is essentially the same "process value", only logical.

KipK commented 1 year ago

you're still on the UI git repo ;)

Anyway, the way Divert is implemented, it needs one of the 2 mqtt divert feed to be filled to know wich divert type it uses. Using the same for Shaper will then cause issue and force Divert to Grid I/E. This would need first to have a proper setting for divert type.

pdhoogh commented 1 year ago

OK, you want me to move this to the https://github.com/OpenEVSE/ESP32_WiFi_V4.x/issues ?

KipK commented 1 year ago

Yes, also I have a fix already for that I'll PR today

PR is here waiting for approval https://github.com/OpenEVSE/ESP32_WiFi_V4.x/pull/551

KipK commented 1 year ago

https://github.com/OpenEVSE/ESP32_WiFi_V4.x/commit/bab6d5a43f36aa0c58d02244945d4e9dd26c8ed6 should now allow using same topic, if you can test

pdhoogh commented 1 year ago

Thanks Guillaume! Will do tomorrow: drove 100km with EV today, SoC 19%, tomorrow lots of sun forecasted: ideal circumstances!

pdhoogh commented 1 year ago

Bonjour Guillaume,

This specific item is working well now. I like the new GUI a lot.

The behavior of 4.1.8 FW with the different modes: Divert Only, Shaper Only, Divert and Shaper both enabled I have also tested. Where would be the best place to put my test results with issues?

Versions:

The short story:

The past few days I used the OpenEVSE with Divert enabled (Shaper Disabled, it needs work). That has worked well for me. There was lots of sunshine, an eventual cloud obscuring it, the swimspa (up to 5 kW power use) kicking in once in a while, my wife putting the washing machine and the dryer on, the dishwasher working, coffee makers spiking the power use... lots of opportunities for the OpenEVSE to go wrong. It did a wonderful job. The little Peugeot was happy and got charged from 19% to 75% SoC without issues.

By the way, Peugeot nailed it with the e-208. It is a fantastic little EV, ticking all the marks for comfort and utility for a city dweller. We use it for 95% of our errands. It is power hungry in winter (2020 model) and on the highway. We don't use it for trips that would need charging on the road for a one day stretch. Or if we need more room. For this we have the Merc Diesel, its usual spot is catching dust on the driveway.