Version 5.1.2.0 added the ability to recognize the advertisements made by devices using the HomeAssistant Discovery https://www.home-assistant.io/docs/mqtt/discovery/ mcsMQTT will collect the advertisements and if it sees a topic that matches something that has been advertised it will setup that device in HS automatically and use the pertinent information in the discovery disclosure to provide the appropriate user interface.
All disclosures provided by Tasmota version 8.1 devices have been incorporated. There are parts of the HomeAssistant discovery API that are not implemented, but will be added as other devices that use this protocol have been identified. Just let me know what you have and include the messages where discovery is being advertised.
Tasmota has done a reasonable disclosure for lighting, plugs, switches. I thought fan speed would be a something to advertise for a fan controller, but Tasmota only advertises the on/off control. It just means the "A"ssociate checkbox needs to be clicked in mcsMQTT to get the fan device and adding the publish topic to get the selector for the four speeds.
Tasmota discovery protocol is enabled with "SetOption19 1" on the Tasmota console. In addition to the disclosure on topic homeassistant/+/+/config, a new topic +/HASS_STATE has been added and the disclosure on this topic is for the RSSI. This seemed to be odd as there are many WiFi attributes as well as other attributes reported periodically besides just this one.
Auto HS device creation applies to the initial detection of a topic. If Tasmota device was run without SetOption19 set then mcsMQTT will see the topics and not create HS devices automatically because it had not previously observed a homeassistant/+/+/config topic that described its characteristics. To achieve auto device creation then select the Tasmota device topics for this device to be obsolete on either General tab with Obsolete wildcard in Inbound Management or from Association tab with the "O"bsolete column checkboxes. Restart the Tasmota device and auto device creation will occur.
Updater image for the this version is at http://mcsSprinklers.com/mcsMQTT_5_1_2_0.zip
All disclosures provided by Tasmota version 8.1 devices have been incorporated. There are parts of the HomeAssistant discovery API that are not implemented, but will be added as other devices that use this protocol have been identified. Just let me know what you have and include the messages where discovery is being advertised.
Tasmota has done a reasonable disclosure for lighting, plugs, switches. I thought fan speed would be a something to advertise for a fan controller, but Tasmota only advertises the on/off control. It just means the "A"ssociate checkbox needs to be clicked in mcsMQTT to get the fan device and adding the publish topic to get the selector for the four speeds.
Tasmota discovery protocol is enabled with "SetOption19 1" on the Tasmota console. In addition to the disclosure on topic homeassistant/+/+/config, a new topic +/HASS_STATE has been added and the disclosure on this topic is for the RSSI. This seemed to be odd as there are many WiFi attributes as well as other attributes reported periodically besides just this one.
Auto HS device creation applies to the initial detection of a topic. If Tasmota device was run without SetOption19 set then mcsMQTT will see the topics and not create HS devices automatically because it had not previously observed a homeassistant/+/+/config topic that described its characteristics. To achieve auto device creation then select the Tasmota device topics for this device to be obsolete on either General tab with Obsolete wildcard in Inbound Management or from Association tab with the "O"bsolete column checkboxes. Restart the Tasmota device and auto device creation will occur.
Updater image for the this version is at http://mcsSprinklers.com/mcsMQTT_5_1_2_0.zip
Comment