需同时运行:sync_api.py、consumer.py(MQ→写库)、本页(python -m http.server 5173)。 在线状态靠 Supabase Realtime 自动更新(需执行 002_enable_realtime_devices.sql)。配置见 web/config.js。
sync_api.py
consumer.py
python -m http.server 5173
002_enable_realtime_devices.sql
web/config.js