Home Automation - Internet of Things - MQTT (MQ Telemetry Transport), ESP8266 and MycroPython

1,019 views
By Abhijit Ghosh on Mar 22, 2017 3:51:40 AM

This is my first post on home automation. As a 'Hello World' project, switching on/off a bulb is a common use case. This post is not an exception. But to spice it up, we'll use MQTT (MQ Telemetry Transport) - a machine-to-machine (M2M)/Internet of Things (IOT) connectivity protocol and an android app (IoT MQTT Dashboard). Bulb is merely a symbolic representation of an electrical device. We can practically control any device (Internet of Things) over internet.

Tags:

Example: Remotely switch on/off and control brightness of an LED using MicroPython WebREPL

1,106 views
By Abhijit Ghosh on Mar 8, 2017 1:49:40 AM

So far, we have flashed MicroPython firmware onto an ESP8266 and setup WebREPL to run programs over WIFI on the chip. Now it's time for a hands-on excercise. We'll remotely switch on/off and control brightness of an LED using MicroPython WebREPL.

Tags:

How to setup WebREPL to connect to Python prompt (REPL) of ESP8266 over WIFI network?

1,599 views
By Abhijit Ghosh on Feb 23, 2017 2:05:33 AM

WebREPL daemon auto-start is disabled by default in MycroPython on ESP8266 for security reason. Here, we'll enable the same, connect to the REPL over WIFI using locally installed WebREPL client and run a "Hello World" program remotely on the chip.

Tags:

How to flash MicroPython firmware onto an ESP8266 ESP-12E chip using esptool?

2,345 views
By Abhijit Ghosh on Feb 4, 2017 12:01:35 PM

By default, ESP8226 module comes with AT Firmware. In this post, we'll see how to flash MicroPython firmware onto an ESP8266 ESP-12E chip using esptool.

Tags:

About this 'Hello World' site

This site is mainly developed to share coding and technology learning experiences on java / j2ee based technologies.

Simple tutorials / codes have been shared to learn a new technology. Full source code is also available for download.