After hours of frustrating try and error I found your video. My HA did not auto detect the MQTT integration. The missing peace of information was the Broker name "core-mosquitto". Thank you very much, great video!
That's odd as it should be enabled by default Click on Settings, then click Devices & Services Under the MQTT broker integration click Configure Now click Re-Configure MQTT Assuming those settings are fine, click Next Now make sure Enable discovery is enabled and then click Submit
For me it was configured in my DNS server If you don't have a DNS server you can add a static entry to a computer's hosts file to do the translation Otherwise you could just use the IP address
@@TechTutorialsDavidMcKone I've tried the IP address of the Rpi hosting the HA instance... doest connect for some reason. I was going to give it a name in "Terminal" but got a little scared... I don't want to screw anything up. FYI, I'm running Unifi controller if that makes a difference. Thx for the quick reply.
@@ppi57 Well a basic test is can you reach home assistant itself from this device? Point a web browser to port 8123 and see if the login page comes up If not then there is a connectivity problem that needs fixing Are there any firewalls in the way that could block access to the broker? Did you disable the SSL/TLS option and are using http instead of https?
In that case it requires deeper troubleshooting You can check the log files for Mosquitto broker to see if that shows anything when you try to connect If you have access to a windows computer try a telnet session to port 1883 If you don't get any response at all then something is wrong on the HA end that will need investigating Otherwise we're into using something like wireshark to see what's going wrong
Hello, thanks for the tutorial. Only one question, you create a Mqqt Client account, but never show us, where and how to use it, only yhe Mqtt broker account ;) All the best!
Thanks for the feedback, much appreciated The MQTT broker will be used by other devices and I didn't want to repeat installing this broker every time I create a video that uses MQTT So this video covers installing the broker but also a user account you would use for MQTT clients
by the way you don't need to edit the username because it auto adds cause it registers if a tasmota or some device connects like shelly or zigbee2mqtt so you do not need to edit the integration mosquito broker add on knows if a device joins via mqtt
Thanks for the feedback, much appreciated I prefer to control user accounts to improve security There are plenty of warnings about IoT device security weakness and the last thing I want is any device being able to connect to the broker
A lot depends on how these different networks connect to each other If there's a firewall in the path for instance then it needs to allow the traffic The MQTT client would also need the option disabled that restricts access to the local network
Не помогло ни разу. У меня нет ни каких аддонов в меню ((( не знаю как подключить новое устройство - сенсор в home assistant. mqtt брокер - его видит и принимает сообщения в топике, но в home assitant не понятно как увидеть показания с этого сенсора
Надеюсь, это переводится правильно Видео охватывает только установку брокера Но в качестве примера я установил Room Assistant и ESPresence в дополнение к этому. После того, как датчики были настроены для общения с MQTT Broker, Home Assistant узнает об этих датчиках У меня нет других датчиков MQTT для сравнения, но похоже, что Home Assistant не распознает ваши датчики Я установил Home Assistant и оставил настройки по умолчанию, чтобы разрешить MQTT работать автоматически Но разработчики сделали все необходимое, чтобы позволить этим двум системам работать с Home Assistant.