Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embarrasingly stuck #55

Open
Nukle0n opened this issue Jul 17, 2022 · 5 comments
Open

Embarrasingly stuck #55

Nukle0n opened this issue Jul 17, 2022 · 5 comments

Comments

@Nukle0n
Copy link

Nukle0n commented Jul 17, 2022

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 😅

@Rclark01
Copy link

I’m stuck here too 😖

Were you able to get past this?

@Nukle0n
Copy link
Author

Nukle0n commented Aug 24, 2022

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.

@Rclark01
Copy link

Thank you very much! I got it working this afternoon

@boomvalt
Copy link

boomvalt commented Oct 2, 2022

Sorry for the newbie question, but where do I find the .conf file?

@Nukle0n
Copy link
Author

Nukle0n commented Oct 2, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants