I’ve successfully configured Home Assistant to access a Tasmota device. It’s running on an ESP microcontroller to access 4 relays using the generic setting. I now want to add more similar devices. When I try to ‘add integration’ I get ‘Already configured. Only a single configuration possible’.
I’ve also got Kasa devices, and I’ve added nine of these, no problem.
Can I really only have one Tasmota device, or am I missing something?
FWIW, I didn’t need to restart Home Assistant in order for the Tasmota integration to discover new devices.
The new device publishes its discovery information (unless this function isn’t enabled or misconfigured on the device) to the MQTT broker. Home Assistant’s Tasmota integration detects the published discovery data and uses it to create an appropriate device and entities.
Tasmota devices’ MQTT setting configured to communicate with the MQTT broker.
Tasmota devices flashed with version 9.2, or later (tasmota-lite.bin does not support this integration).
Tasmota devices configured for native discovery (SetOption19 0).
Although the Tasmota integration supports custom fulltopic it is strongly suggested to leave fulltopic at its default, Tasmota does not prevent setting an invalid or non-unique fulltopic, for example a fulltopic without the %prefix% or %topic% tokens.
The device logs into the MQTT broker using whatever username and password you configured. All devices can use the same username/password but use client_id to distinguish one for the other.
The %06X gets replaced by a unique hexadecimal value. For example: tasmota_912FE3
Changing it to a hard-coded value is permissible as long as they’re unique to each device. The only way changing it helps to fix something was if you had devices with identical client_id values. If you didn’t then changing it was merely incidental to whatever else was done (like restart something).