Controlling network of ESP8266 esp-12
Posted: Wed Nov 25, 2015 6:35 am
Hi everyone. I am trying to make a network of ESP8266-based devices that have lights on them. Basically what I want to do is have an app on a smartphone connect to this network directly and control these lights. Specifically I want to be able to control the timing with which each light turns on. Say I have 10 ESPs with lights, I want esp#1 to turn its light on at 2s, Esp#2 to turn its light on at 3.3s, ESP#3 @ 6.6s and so on. I have looked into using Blynk already but having all the commands go through blynks servers significantly slows things down.
For my purposes a mesh network would be best for controlling the ESPs but from what I have seen that isn't a very easy thing to implement yet. So I was thinking of setting one up as an access point (while still functioning as a light also) and then having the rest of the ESPs and my smartphone connect to the Access Point ESP. Any idea for existing apps or any guidance on how to pull this off? I want the timing to be as accurate as possible and I was hoping to do this through websockets. Hopefully I can get some guidance on this project here as I feel like I'm over my head.
For my purposes a mesh network would be best for controlling the ESPs but from what I have seen that isn't a very easy thing to implement yet. So I was thinking of setting one up as an access point (while still functioning as a light also) and then having the rest of the ESPs and my smartphone connect to the Access Point ESP. Any idea for existing apps or any guidance on how to pull this off? I want the timing to be as accurate as possible and I was hoping to do this through websockets. Hopefully I can get some guidance on this project here as I feel like I'm over my head.