-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Describe the bug
MQTT documentation tells:
_
MQTT - Auto Discovery¶
(AutoDiscovery related settings added 2025/06/28)Enable Auto Discovery: When checked, the controller will send discovery data for all connected and enabled tasks to the MQTT server on first startup, and when receiving an online message in the Discovery Trigger Topic, when configured.
_
But where is the mentioned "Enable Auto Discovery" checkbox? I can't find on april release nor on the november nightly i tried yesterday.
As the documentation has been updated in june i'm a bit confused.
In addition, the config message that is sent and that Home Assistant needs for discovery and entity creation appears to be empty or incorrectly filled.
If I understand correctly, these functions should have been updated or implemented with #5199 .
What you see here is what I managed to achieve with a lot of tinkering and adding "/config" to the "Controller Subscribe" and "Controller Publish" topics. However, no config message with the necessary information is sent here on its own. Therefore, the MQTT integration in HA does not create any entities.
To Reproduce
Steps to reproduce the behavior:
- Go to 'controllers/MQTT'
- check for Auto Discovery checkbox or feature
- check mqtt messages send, i. e. in MQTT Explorer integration
Expected behavior
Aktivierung der MQTT Autodiscovery Funktion möglich, damit die nötigen Messages gesendet werden.
Used platform (please complete the following information):
- ESP type: ESP8266
- Build version: [ESP_Easy_mega_20251105_custom_312_ESP8266_4M2M_LittleFS Nov 5 2025]
Platform Specifics (when applicable, please complete the following information):
- Flash size: 4M
- Brand/Model: NodeMCU
- Browser + OS Win10 + Brave