Skip to content

MQTT setup with homeassistant and mosquito broker #668

Answered by visualapproach
dychonn asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
As you say, you should setup HA with an MQTT broker like mosquitto. Preferably also create a HA user "mymqttuser" with a password. You don't need to setup a special user in the MQTT broker. Instead go to settings/persons/users and set it up. Figure out the IP of home assistant by going to settings/system/network and check out the address under network adapter.

On the ESP side, visit the MQTT config page and enter that IP address, port 1883 unless you change it. User name and password as you created in previous step.

The things that pops up automatically is all the sensors and switches, once you establish mqtt connection. It will take a reboot of the ESP and a few minutes before it sho…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dychonn
Comment options

Answer selected by dychonn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants