Bei dir kann aber folgendes passieren, ich baue 2 ESPs auf und aktiviere MQTT setze aber keine ClientId (warum sollte ich, brauche ich ja sonst auch nicht) → Fehler im Broker, ClientId doppelt
Ich würde ClientId nicht fürs Topic nutzen.
Das sind für mich 2 getrennte Paar Schuhe.
Wenn man schon dabei ist könnte man das komplett konfigurier bar machen.
ClientId → wenn keine gesetzt → nimm Espuino_(%MAC)
Topic → wenn keins gesetzt → nimm Hostname
TopicPrefix → packe vors Topic wenn gesetzt
Siehe dazu auch: MQTT - Tasmota
Client = device's unique identifier. In 99% of cases it's okay to leave it as is, however some Cloud-based MQTT brokers require a ClientID connected to your account. Can not be identical to Topic!
bzw. die Version die da gemacht wird mit dem FullTopic finde ich auch nett