Add MQTT export component#1518
Conversation
|
What's the use of this export?
|
|
It would save you the trouble of subscribing (again because you already did it in your With #1496 included this will enable me to create a simple static web page which will use the websocket support of HBMQTT to display state information. I will not use the term "Smart mirror" here but it will go in this direction. |
|
Hmm, is the message being retained?
|
There is a story for this kind of feature. It would only make sense to use a retained message if history is not used. |
|
I don't see the benefit of adding another component to export data to MQTT. For MQTT we already have the MQTT Eventstream component which forwards all events (including state changed) to an MQTT topic. For the different stats aggregators we have individual components to export the data. |
|
I think that this PR was open long enough. The requester seems to want something different anyway. So, the place for this component is in my |
Description:
This component collects and sends all states as one MQTT messages to a given topic. In addition there is the current configuration attached (as shown in the Rest API docs).
Example entry for
configuration.yaml(if applicable):Checklist:
toxrun successfully.devbranch before creating the PR.