Posts

Showing posts from September, 2022

Sinric Pro IOT Automation

/*https://github.com/anokhramesh/SinricProAutomation circuit diagram -https://drive.google.com/file/d/1vznY-F-vwte55hIPcR9O4M1_2IFw2BtG/view?usp=sharing https://drive.google.com/file/d/11NEfVZg_silkMByJIQo3Ge5x-ntmNAO3/view?usp=sharing Download and install  the Required Libraries Download Board ESP8266 NodeMCU : https://github.com/esp8266/Arduino  ArduinoJson Library: https://github.com/bblanchon/ArduinoJson   arduinoWebSockets Library: https://github.com/Links2004/arduinoWebSockets    SinricPro Library: https://sinricpro.github.io/esp8266-esp32-sdk*/ #ifdef ENABLE_DEBUG #define DEBUG_ESP_PORT Serial #define NODEBUG_WEBSOCKETS #define NDEBUG #endif #include <Arduino.h> #include <ESP8266WiFi.h> #include "SinricPro.h" #include "SinricProSwitch.h" #include <map> #define WIFI_SSID         "SSID"  //Enter your Wifi SSID   #define WIFI_PASS         "Password"//Enter your Wifi Password #...

ESP8266_01 Relay control

Image
  Download the Application from this link. https://drive.google.com/file/d/1acpsLiy4nkqMft4GuO5Qy44k-nZ8Y-ju/view?usp=sharing Download the circuit and code fromthis link https://github.com/anokhramesh/ESP8266-01WIfy-relay # include " Arduino.h " // The essential ESP8266 WiFi library # include < ESP8266WiFi.h > // Your WiFi SSID and Password const char * ssid = " dewa406 " ; const char * password = " Ramesh16384 " ; // The built in (blue) LED is on pin 1. We'll use GPIO2 for our output. # define outPin 2 # define debug false // Create our server and tell it the port we are listening on WiFiServer server ( 80 ); // Forward declaration of a function later in the sketch (not required for Arduino IDE) void printWiFiStatus (); // ------------------------------------------------------------------------------- // SETUP SETUP SETUP SETUP SETUP SETUP SETUP SETUP // -----------------------------------------...