Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish tariff forecast data via WS/MQTT #13725

Open
naltatis opened this issue May 3, 2024 · 4 comments
Open

Publish tariff forecast data via WS/MQTT #13725

naltatis opened this issue May 3, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@naltatis
Copy link
Member

naltatis commented May 3, 2024

With #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.

@naltatis naltatis added the enhancement New feature or request label May 3, 2024
@andig
Copy link
Member

andig commented May 9, 2024

We should probably refactor publishTariffs then and convert the output into a struct?

@naltatis
Copy link
Member Author

naltatis commented May 9, 2024

Makes sense. Currently, we have quite a few tariff* properties. And if I see it correctly, they are all published together (if they exist).

@andig andig self-assigned this May 10, 2024
@andig
Copy link
Member

andig commented May 10, 2024

Brauchen wir das publishDelta oder ist das verfrühte Optimierung?

@naltatis
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants