程式碼:
https://gist.github.com/clive520/d8c47a06dca2195b2b832bc1fc687c0c
利用ESP8266及一個DHT11製作一個機房溫度通知器
每一個小時會將資料傳送到LINE,Google,ThingSpeak
溫度超過40度,每5分鐘以LINE通知
程式碼:
https://gist.github.com/clive520/d8c47a06dca2195b2b832bc1fc687c0c
利用ESP8266及一個DHT11製作一個機房溫度通知器
每一個小時會將資料傳送到LINE,Google,ThingSpeak
溫度超過40度,每5分鐘以LINE通知
https://gist.github.com/clive520/2372dcfd2b080c37d867aa7a7eb3e540
#include <WiFi.h>
#include <WiFiMulti.h> //多個SSID自動連接library
WiFiMulti wifiMulti;
https://gist.github.com/clive520/ebce394cfb41d615dffdec7a749d93f8
#include <WiFi.h>
#include <WiFiMulti.h>
#define LED_BUILTIN 2 // 連接到WIFI時,亮內建的LED
https://gist.github.com/clive520/3d18bec33ef5c99bf57d4ef92dc97149
#include <WiFi.h>
#define LED_BUILTIN 2 // 連接到WIFI時,亮內建的LED
// 輸入你的SSID和密碼
const char *ssid = "book";
const char *password = "12345678";
https://gist.github.com/clive520/d14f2c26c1cce8e4a521ab5949c2cc57
#include "WiFi.h"
void setup()
{
Serial.begin(9600);
https://gist.github.com/clive520/20aae3d83122d0f798f63e7dddf6cc96
#include "WiFi.h"
void setup(){
Serial.begin(9600);
WiFi.mode(WIFI_MODE_STA);
Serial.println("");
Serial.print("Mac Address :");
Serial.println(WiFi.macAddress()); //WiFi.macAddress()讀出機器的MAC
}
void loop(){}
To build the web server you need to install the following libraries:
程式碼:https://gist.github.com/clive520/be78137d7f2edb8e3ba51b5be0dcace2
#include <WiFi.h>
void setup()
{
Serial.begin(9600);
WiFi.disconnect();
delay(3000);
不只是一次斷線:AWS 大當機後,我們學到的 殘酷真相 前言:當雲端靜止的那一天 2025 年 10 月,網路世界經歷了一次長達近 15 小時的靜止。全球最大的雲端服務供應商 Amazon Web Services (AWS) 發生了災難性故障,從你我日常使用的銀行 App、...