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

Improve MQTT integration by adding status/debug topic and pr. message type subtopics #218

Open
ujhede opened this issue Jan 29, 2022 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@ujhede
Copy link

ujhede commented Jan 29, 2022

Is your feature request related to a problem? Please describe.

Just had an "incident" where for some reason data stopped flowing from the meter at midnight last night. I only noticed this because I am still having problems with ENTSO price download currency and was trying to find out what was happening.

Describe the solution you'd like

Would be very uselful if you could post a status/debug topic to MQTT so that you can setup alerts when the HAN indicator changes or the ENTSO download fails. This could potentially also be used as an alternative to telnet debugging where logmessages could be sent to MQTT.

Now that we are are at the subject of MQTT would you consider adding an option to post the different message types to their own sub-topic? Especially consumption and price mesages would be very usefull and avoid parsing errors in HA, when a message does nor have the expected json object like data or prices. Not sure if this is relevant when we get HA autodiscovery.

And finally would you consider add the exchange rate used to convert prices to both the GUI and the prices mqtt message?

Describe alternatives you've considered

This is a perfect idea so I simply cannot think of any alternative :-)

Additional context
Add any other context or screenshots about the feature request here.

@ujhede ujhede changed the title Improve MQTT integration by adding status/debug topic and pr. messgae type subtopics Improve MQTT integration by adding status/debug topic and pr. message type subtopics Jan 29, 2022
@gskjold
Copy link
Member

gskjold commented Jan 30, 2022

Thanks for the suggestion, I will think about how we could do this.

@gskjold gskjold added the enhancement New feature or request label Feb 20, 2022
@gskjold gskjold added this to the v2.2.0 milestone Feb 20, 2022
@gskjold gskjold modified the milestones: v2.2.0, Future Jan 5, 2023
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