phev2mqtt
phev2mqtt copied to clipboard
Improve MQTT handling and use cache for incorrect battery and charge remaining readings
- Bypass cache when sending MQTT messages This fixes the problem of sensor data unavailable after HASS or MQTT broker restart
- Send persistent HASS discovery messages, report discovery message send errors
- Send cached values of battery level and charge remaining in case the reading from vehicle are incorrect
This will need to be fixed to work with the new viper flag methods.
Resolved conflicts
thanks again for the change!
For some reason, some of my changes were not integrated. I will submit couple of more patches