ALARMA ESP32 IOT CON SINRIC PRO
CODIGO ARDUINO #include <Wire.h> #include <LiquidCrystal_I2C.h> //Downlaod the library: http://www.electronoobs.com/eng_arduino_liq_crystal.php LiquidCrystal_I2C lcd (0x 27 , 16 , 2 ); //SCL = D1 SDA = D2 #include <RTClib.h> // for the RTC RTC_DS3231 rtc; // crea objeto del tipo RTC_DS3231 char daysOfTheWeek [ 7 ][ 12 ] = { "Domin" , "Lunes" , "Mart" , "Mierc" , "Juev" , "Viern" , "Sabad" }; #ifdef ENABLE_DEBUG #define DEBUG_ESP_PORT Serial #define NODEBUG_WEBSOCKETS #define NDEBUG #endif #include <Arduino.h> #if defined ( ESP8266 ) #include <ESP8266WiFi.h> #elif defined (ESP32) || defined (ARDUINO_ARCH_RP2040) #include <WiFi.h> #endif #include "SinricPro.h" #include "SinricProSwitch.h" #define WIFI_SSID "FLIA ROYERO HOYOS.EXT" #define WIFI_PASS "32852065" #define APP_KEY ...