-->
Page 1 of 2

Sparkfun Things talk to each other locally.

PostPosted: Sat Mar 25, 2017 11:59 am
by teastain
Yes, new here!
I have ben exhausted trying to get two ESP8266, Sparkfun Things to talk to each other. The main unit would be the Thermostat and the other remote temp and servo action to close a floor vent!
All of the BLYNK, mDNS local, Client/Server work well through the browser or outside server such as BLYNK.
But...I need for the two Things to talk without needing an external server like BLYNK, or control through a browser.
My expertise is Control Automation, but I rarely use Ethernet, WiFi, TCP/IP etc.
Program IDE is Arduino.
Please give this some thought?
Thanks Terry

Re: Sparkfun Things talk to each other locally.

PostPosted: Sun Mar 26, 2017 6:49 pm
by gdsports
One way to do this is to make one an HTTP/web server and the other an HTTP client. Example programs are included in the ESP8266 board package.

https://github.com/esp8266/Arduino/blob ... Client.ino

https://github.com/esp8266/Arduino/blob ... Server.ino

Re: Sparkfun Things talk to each other locally.

PostPosted: Sun Mar 26, 2017 8:09 pm
by villTech
you can also check esp8266 mqtt.
you will need a broker. and you can install a broker in a pc or in sbc like raspberry pi and intel edison or in a router running openwrt.

Re: Sparkfun Things talk to each other locally.

PostPosted: Sun Mar 26, 2017 10:24 pm
by teastain
Did know about MQTT, I will look into this!
Thanks, Terry