I using esp8266 sdk to control some device in my home.
Raspberry in ap mode and using socket with java (RJ45 LAN port connect to router).
My pebble watch will connect to router and control esp8266 through raspberry
Future, i will creat node server. Remote through internet by raspberry pi
See first video here:
[youtube]https://www.youtube.com/watch?v=a5vhGCYl7w8[/youtube]