# Network Watcher

Home network monitoring on ESP32-S2 (WEMOS S2 Mini). Periodic ARP scans, MAC whitelist/blacklist, Telegram + webhook notifications, web UI, backup/restore, mDNS.…

几欧元的 ESP32-S2 mini 顶替一台常年开着的迷你主机，专门盯家里的网：按可调的一到六十分钟周期发 ARP 扫描，把设备分成白名单、黑名单和陌生设备三类并附说明，出现新面孔或黑名单设备就通过 Telegram 和通用 webhook 推一条汇总。

- id: damarant-networkwatcher
- author: damarant
- repository: https://github.com/damarant/NetworkWatcher
- license: Apache-2.0
- shape: square
- scenes: tools
- boards: ESP32-S2
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/damarant-networkwatcher/
- html_zh: https://esp32gallery.com/zh/projects/damarant-networkwatcher/
- json: https://esp32gallery.com/data/catalog/projects/damarant-networkwatcher.json

## Hardware

Supported hardware: ESP32-S2. Confirm the exact board revision and pin map in the upstream repository.

支持硬件：ESP32-S2。烧录前请在上游仓库核对板卡版本与引脚定义。

## English

```
A few-euro ESP32-S2 mini replaces an always-on mini PC as a home network sentry: it runs ARP scans every one to sixty minutes, sorts devices into whitelist, blacklist and unknown with descriptions, and sends one aggregated Telegram or generic webhook message per scan when something new or banned shows up. The on-board LED also warns without a browser, solid for a blacklist hit and blinking for unknown devices. The web UI is behind session authentication and reachable through mDNS at network-watcher.local, and MAC lists export to and import from JSON. Vendor names come from a built-in OUI table of about sixty manufacturers.
```

## 中文

```
几欧元的 ESP32-S2 mini 顶替一台常年开着的迷你主机，专门盯家里的网：按可调的一到六十分钟周期发 ARP 扫描，把设备分成白名单、黑名单和陌生设备三类并附说明，出现新面孔或黑名单设备就通过 Telegram 和通用 webhook 推一条汇总。板载一颗 LED 也能直接示警：黑名单命中常亮，陌生设备慢闪。网页界面要登录，带会话认证，靠 mDNS 在 network-watcher.local 上访问，还能把 MAC 列表导成 JSON 备份再导入。厂商名靠内置约六十条 OUI 表查。
```
