phev2mqtt icon indicating copy to clipboard operation
phev2mqtt copied to clipboard

Improve MQTT handling and use cache for incorrect battery and charge remaining readings

Open altserg opened this issue 7 months ago • 2 comments

  1. Bypass cache when sending MQTT messages This fixes the problem of sensor data unavailable after HASS or MQTT broker restart
  2. Send persistent HASS discovery messages, report discovery message send errors
  3. Send cached values of battery level and charge remaining in case the reading from vehicle are incorrect

altserg avatar Apr 18 '25 09:04 altserg

This will need to be fixed to work with the new viper flag methods.

buxtronix avatar May 14 '25 03:05 buxtronix

Resolved conflicts

altserg avatar May 14 '25 08:05 altserg

thanks again for the change!

buxtronix avatar May 15 '25 04:05 buxtronix

For some reason, some of my changes were not integrated. I will submit couple of more patches

altserg avatar May 15 '25 06:05 altserg