Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By Sunspot
#15915 I have a master Linux router box running Openwrt with a web server and I write scripts to set up web pages of data from my LAN.
I currently use slave Linux router boxes to measure temperatures etc and pull data to the master with Linux wget.

I now want to use ESP8266 slaves each with its own i2c local net of sensors.

Sorry - I am new to lower level network protocols. Is there an example sketch that can communicate with some Linux app on the master box and deposit the data there as a text file?

I guess I need to run something on my master Linux box similar to whatever runs on data.sparkfun.com?

Any pointer to get me started appreciated
User avatar
By j0hncc
#16007 I recommend MQTT, I am very pleased with it. Install/run mosquitto on your master linux box. MQTT provides an easy common protocol.

I also use node-red for easy routing/ interfacing to/from MQTT to/from other sources/destinations, e.g. mySQL database.

Cheers,
John