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

setup MQTT server #5

Open
fluxrock opened this issue Jan 17, 2022 · 6 comments
Open

setup MQTT server #5

fluxrock opened this issue Jan 17, 2022 · 6 comments

Comments

@fluxrock
Copy link

Hello!
Could you please explain how did you setup the local network and bridge MQTT server with 192.168.1.101 address for getting the prod/minions/emporia/ct/v1/AAAABBBBCCCCDDDDEEEEFF/debug/v2 topic ?
Thank you!

@flaviut
Copy link
Collaborator

flaviut commented Jan 17, 2022

Unfortunately, it depends heavily on the exact details of how your home network is set up. I used linux and hostapd, but I never went down this path fully. I ended up discovering how to modify the flash image so that it'd use my wifi network, which made doing so pointless.

I'd recommend following the instructions at https://gist.github.com/flaviut/93a1212c7b165c7674693a45ad52c512 to run ESPHome.

@fluxrock
Copy link
Author

Great work, Congratulations !
I'll do the espHome way! and keep looking the non soldering way too, if lucky find the ota magic byte or something else.
By the way, if change the firmware to espHome, is it possible to put the original firmware back ?
Also is there a special reason you change the other method to putting the esp32 in download mode? without using the VCC pin at all, grounding the enable and io1 like you mention in your blog.

emporiavueserial

@flaviut
Copy link
Collaborator

flaviut commented Jan 18, 2022 via email

@flaviut
Copy link
Collaborator

flaviut commented Jan 18, 2022

Also is there a special reason you change the other method to putting the esp32 in download mode? without using the VCC pin at all, grounding the enable and io1 like you mention in your blog.

Yes. The original revision of the guide suggested that you hold the pins in the hole without soldering a header. In that situation, I think it's a little easier to do things with the VCC pin.

However, I discovered that 90%+ of boards these days are coming with the holes filled with solder. So I removed that part of the guide, since it's no longer useful. But I didn't change to EN/IO0 because it doesn't really matter.

@fluxrock
Copy link
Author

aww, AWS seems like a long shot...
Is good to know the backup can go back in, I feel more confident to try the espHome.
True, my emporia had the holes filled in as well, I ended up not using header pins and just soldered the wires using those fills.
Thank you for the information and congratulations again for such a great work !

@josesa
Copy link

josesa commented Mar 13, 2024

Great work, Congratulations ! I'll do the espHome way! and keep looking the non soldering way too, if lucky find the ota magic byte or something else. By the way, if change the firmware to espHome, is it possible to put the original firmware back ? Also is there a special reason you change the other method to putting the esp32 in download mode? without using the VCC pin at all, grounding the enable and io1 like you mention in your blog.

emporiavueserial

I know this has a long time, but worth the shot:

Did you have any issue with connecting the 2 grounds together? The USB/FTDI and the emporia (mains supplied)?
I wonder how I can get the Serial output of the device in normal operation without frying the 2 different power supplies...

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