Code samples for ESP8266 for Internet of Things applications
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information. updated readme Sep 28, 2015
init.lua deleted temp files Sep 28, 2015
mqtt_get_actuator.lua deleted temp files Sep 28, 2015
mqtt_send_sensor.lua deleted temp files Sep 28, 2015
mqtt_send_sensor_and_get_actuator.lua deleted temp files Sep 28, 2015


Sample codes for ESP8266 development boards for Internet of Things applications using platform. is an IoT platform that bridges the gap between hardware devices and mobile/web developers by providing a collection of straightforward APIs to both ends. The web platform, not only gathers data but makes sense of the data spewed out by billions of connected devices and helps people make smarter decisions by giving them the possibility to remote control the devices.


All sample codes are made using the programming language LUA.

We used NodeMCU 0.9.6-dev_20150704 float firmware, which has fully working MQTT. It can be downloaded from: You can write it easily using the espTool here: (Be sure to put GPIO0 to GND to be in bootloader mode when doing it) Please use the init.lua file for all samples. It will help you upload code easier and avoid errors on the module. Be sure to change the sample name in it before uploading. For upload, we used ESPlorer which can be downloaded from here:


Ideas, bugs, tests and pull requests always welcome.