$touch ssh
dtoverlay=dwc2
| #include <IFTTTMaker.h> | |
| #include <ESP8266WiFi.h> | |
| #include <WiFiClientSecure.h> | |
| #include "DHT.h" | |
| #define DHTPIN D5 //DHT11 Pin | |
| #define DHTTYPE DHT11 // DHT 11 | |
| DHT dht(DHTPIN, DHTTYPE); | |
| char ssid[] = "****"; // WiFi Adı |
| //yakutozcan.blogspot.com | |
| #include <Arduino.h> | |
| #include <ESP8266WiFi.h> | |
| #include <ESP8266WiFiMulti.h> | |
| #include <ESP8266HTTPClient.h> | |
| #define USE_SERIAL Serial | |
| ESP8266WiFiMulti WiFiMulti; |
| #include <Arduino.h> | |
| #include <ESP8266WiFi.h> | |
| #include <ESP8266WiFiMulti.h> | |
| #include <ESP8266HTTPClient.h> | |
| #include <ESP8266httpUpdate.h> | |
| #define USE_SERIAL Serial | |
| // Kodunuzu her guncellediğinizde aşağıdaki sayıyı arttırmayı unutmayın!! | |
| #define currentVersion 130 |
| #include "CTBot.h" | |
| CTBot myBot; | |
| String ssid = "WIFI ADI"; | |
| String pass = "SIFRE"; | |
| String token = "TELEGRAM API KEY"; | |
| uint8_t led = D4; | |
| void setup() { | |
| // initialize the Serial |
| //https://ifttt.com/maker_webhooks | |
| //https://platform.ifttt.com | |
| #include <ESP8266WiFi.h> | |
| #include "IFTTTWebhook.h" | |
| #define WIFI_SSID "======" | |
| #define WIFI_PASSWORD "=======" | |
| #define IFTTT_API_KEY "============" |
| package main | |
| import ( | |
| "github.com/faiface/beep/wav" | |
| "log" | |
| "os" | |
| "time" | |
| "github.com/faiface/beep" | |
| "github.com/faiface/beep/speaker" |
| package main | |
| import ( | |
| "fmt" | |
| "net/http" | |
| "net/http/httputil" | |
| "net/url" | |
| "os" | |
| ) |