hi
I have one already working with Z2M
Now i want to add 2nd instance of Z2M (using this good tutorial https://www.youtube.com/watch?v=QOx733CU1p8) and work with a new device of the same type i bought
Im using latest HA and all integrations up-to date 28/7/2024
The 2nd Tasmota is accessible via web interface, i configured it correctly with TCP port listening. Its has different unique topic name
But HA Tasmota integration does not show it (its supposed to be auto-discovered?)
and i cant add manually a device to Tasmota integration - it says only a single configuration is possible
The current Tasmota integ shows 1 device (which is the one existing Tasmota bridge I have) and 9 entities (the various zigbee sensors i have)
Am i doing something wrong or misunderstand how this integ works? it cant support 2 different Tasmota gateways?
I don’t see why not. Just make sure you have an unique topic in ‘Configure MQTT’, and an unique name in ‘Configure other’
And yes, only 1 Tasmota integration. It should auto-discover your second bridge.
so i was able to progress
I was missing setting the mqtt user/password for the 2nd tasmota gateway
now it was detected by HA
Per my understanding, both Tasmotas talk with same MQTT server on HA, on same port 1883, correct?
But as i tried to add 2nd Z2m instance per the tutorial (different docker port, different base topic) mentioned above, it started to crash (the first Z2m instance) even before i added any zigbee device
thank you for your answer
I did already as you mentioned, it is in the youtube guide
I attache the 2 instances config pictures
I note also that the data path config line (first line) is same in both, the guide did not mention to change it
also note: Even when i disabled Z2M instance 2, and kept the 2nd tasmota device running, i got errors in the original first Z2M instance log like it was interfering somehow, and i had to pull the plug form the 2nd device to make it stop
I don’t use the add-on, running Zigbee2MQTT bare metal. But it makes sense you need to change the data_path too, otherwise they overwrite each others configurations.
ok, that did the trick!
changed to data path to /config/zigbee2mqtt2, now have 2 instances working!
surprised it was not mentioned in the guide, but maybe things changed since it was recorded
thanks a lot!