SensorsIot/Wi-Fi-Sniffer-as-a-Human-detector
소개
Code for Youtube video #163
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalWi-Fi Sniffer as a Human Detector
Detect human presence by sniffing Wi-Fi probe requests from smartphones and other devices.
⚠️ Note: ESP8266 only supports 2.4GHz Wi-Fi. 5GHz networks are not supported.
📺 Video Tutorial: https://www.youtube.com/watch?v=fmhjtzmLrg8
📦 Dependencies
Install using the Library Manager in Arduino IDE:
| Library | Description |
|---|---|
| ESP8266 | ESP8266 board support |
| ArduinoJson | JSON serialization |
| PubSubClient | MQTT client |
⚙️ Configuration
Before uploading, update these settings:
📡 MQTT Settings
In mqtt.h, set your broker IP:
mqttServer = "192.168.0.100"; // Your MQTT broker IP
In WiFi_Sniffer.ino (line 186), update the MQTT credentials:
client.connect("ESP32Client", "your-username", "your-password")
📶 WiFi Settings (WiFi_Sniffer.ino)
mySSID = "your-wifi-name";
MyPassword = "your-wifi-password";
🔌 Serial Monitor
The default baud rate is 115200. Make sure your Serial Monitor matches this setting.
💡 Tip: If you're using older hardware that requires a different baud rate, change
Serial.begin(115200);in the sketch to your preferred speed (e.g.,9600).
📬 MQTT Topics
| Topic | Description |
|---|---|
Sniffer/# |
All sniffer data is published under this topic |
🔴 Node-RED Integration
A sample Node-RED flow is included in Node-red Flow.txt.
To import:
- Open Node-RED
- Menu → Import → Clipboard
- Paste the contents of the flow file
관련 프로젝트 살펴보기
불러오는 중…