evcc
evcc copied to clipboard
Publish tariff forecast data via WS/MQTT
With https://github.com/evcc-io/evcc/pull/13451 forecast data can be consumed via plugin. It would be nice to expose tariff forecast data via WS/MQTT. Currently only available via HTTP. This is useful when integrating with other automation systems like home assistant. It could also be applicable for future topics like solar forecast.
In MQTT this could be a single entry with JSON payload.
We should probably refactor publishTariffs
then and convert the output into a struct?
Makes sense. Currently, we have quite a few tariff*
properties. And if I see it correctly, they are all published together (if they exist).
Brauchen wir das publishDelta
oder ist das verfrühte Optimierung?
Hm, gute Frage. Kann dir nicht mehr genau sagen ob es dafür eine technische Notwendigkeit gab. Jetzt gerade sehe ich keine. Ich würd sagen "mach raus, und wir gucken was passiert" :D