Internet Of Things: Controlling an LED/Bulb using Facebook Messenger Chatbot via Chatfuel and MQTT!
Material to get started: ESP8266 12e NodeMCU manufactured by Lolin (Check the datasheet, if you are using a different version.) Fig. 2: ESP8266 12e by Lolin USB Type C cable to program ESP8266 12e from a laptop or PC. Most Android phones use this type of cable. Fig. 3: USB Type C Cable Relay Module – Relay is an electro-mechanical switching device. In a relay, we can control switching AC or DC appliances digitally by providing input to relay input pins. Here we have used a 1-channel relay operating on 5 Volts. Fig. 4: 1 Channel Relay Module To connect your AC appliance, use the following connection with the Relay Module use the following connection. The Signal pin is IN. Fig. 5: Relay Connection With some wires and breadboard. Back End Set-up : Set-up with Facebook Messenger: We need a Virtual human to chat with. For this, we will create a Facebook Page. Fig. 6: Create a Facebook Page To create a Facebook Page, click here and Get Started with...