Files
mqtt_creator/README.md
2024-06-28 12:38:19 +01:00

2.4 KiB

MqttCreator

This project is a simple and incomplete generator to create a Homeassinstant compatible MQTT Autodiscovery Entity

Limited Coverage

By now only the these entities (binary_sensor, light, sensor, switch) are supported by the generator, because they are the most commmonly used entities for my own needs

Usage

The UI is seperated into two parts, the global generator with settings and upper Topic and the entity itselt

Generator:

Automated Topic Settings:

  • all: the topics will be generated automatically from the other supplied inputs, all changes will be wiped
  • only changes: user inputs will be synced accross all topics (only works if the general structure stays the same and changes are not to large at once)
  • none: everything is done manually

Entity:

After choosing an entity type, change and input the corresponding values as you like and if automated topics is actived the topics will be populated automatically

Once done, you can press the DiscoveryString button.

Discovery String:

First you see the discovery string formatted, there you can check for any errors in the configuration

Below there will be a discovery string with escaped perentecies to input into print statements or similar

The last field Discovery Topic is the automatically generated Discovery Topic for default Homeassistant MQTT Autodiscovery