-->
Page 1 of 2

Controlling 2 esp8266 esp-12 with a mobile application

PostPosted: Fri Mar 24, 2017 11:29 pm
by B'TO
I am working on a project for college which is about sending an instruction to 2 esp8266 esp-12 via a mobile application and it works perfectly with just one esp, but trying to program both to do the same at the same time is killing me. I've tried everything, I read tons of articles and nothing. I built the mobile application with no problem at all. I tried implementing sockets and get errors, I tried access point coding and nothing, MQTT and that either worked for me, I looked at Blynk, they have an option called Bridge which is exactly what I need but I would need to use a Blynk application and that's not approved for the project. Can anyone point me in the right direction please, its frustrating, I've looked for over 6 months now and its driving me crazy. Any help would be very appreciated. Just in case I can post the code if needed.

Re: Controlling 2 esp8266 esp-12 with a mobile application

PostPosted: Mon Mar 27, 2017 1:15 pm
by jeffas
If you have something that works with a single ESP, perhaps you can explain here how you have tried to extend it to two units.

Re: Controlling 2 esp8266 esp-12 with a mobile application

PostPosted: Mon Mar 27, 2017 4:39 pm
by alex_g
I'd be curious to know why MQTT didn't work.
After all, that's just the sort of job it's made for.
Did both the devices not receive the message they were subscribed to at the same time?
Or was something else the problem?

Re: Controlling 2 esp8266 esp-12 with a mobile application

PostPosted: Mon Mar 27, 2017 8:42 pm
by joem
Sir I have similar thesis project with you the only difference is that i'm working to another esp+arduino as controller and not the mobile app. Did you experience delays in the respond of your 2 esp? because mine have delays. Can i ask for your code? pls Big thanks :)