Open Nukle0n opened 2 years ago
Iām stuck here too š
Were you able to get past this?
You need to make sure your MQTT broker is accessible, you have to set up the "listener" argument in the .conf file so it can be accessed outside of the local machine. Also the address for the MQTT broker has to be without a port, it only works with the default port of 1883. Check out TomW1605's fork for some modified code that lets you access the config page without having to reflash it, as it is right now if your MQTT server doesn't work you can't change the config without reflashing and starting over.
Thank you very much! I got it working this afternoon
Sorry for the newbie question, but where do I find the .conf file?
Sorry for the newbie question, but where do I find the .conf file?
If you're using HAOS there's no conf file, you just need to set up MQTT as an extension. If you're doing docker you need map a static directory to where there is a conf file.
So I set up an MQTT broker and linked it to Home Assistant, and I soldered the board in and flashed it, and ran the config from its ad-hoc network... now what? I'm seeing the device on my router but I don't know what to do next, none of the guides on MQTT broker stuff seem to explain what to do, if I should just expect it to work? I tried inputting the address of my MQTT broke both with and without port number and I don't really know what the heck to do. Do i need to broadcast a topic? What even is a topic? Should I have set something in the code before flashing it?
My apologies for ranting but this is has turned out to be a really poor example of a first time MQTT project š