|
|
||
|---|---|---|
| config | ||
| deploy/systemd | ||
| plan | ||
| research | ||
| src/wifiagent | ||
| tests | ||
| .gitignore | ||
| README.md | ||
| pyproject.toml | ||
README.md
wifiagent
Phase 1 telemetry agent for Wi-Fi monitoring and robot API stubs.
What is included
- Wi-Fi collection abstraction with synthetic fallback
- in-memory TTL cache buffer
- robot API poller stub
- robot API client with polling and webhook ingestion
- Zabbix payload builder
- healthcheck with cache size reporting
- phase documentation in
plan/ - example configuration in
config/example.toml - automatic Wi-Fi backend selection (
dbus->ctrl_iface-> synthetic fallback) - D-Bus event streaming for
ScanDone,BSSAdded, andBSSRemoved - startup Wi-Fi configuration from config, including
country
Run
python -m wifiagent healthcheck
python -m wifiagent scan --ssid office-wifi --freq 2412 --freq 2437 --mode active --country US --timeout 20 --candidates-only
python -m wifiagent scan --ssid office-wifi --freq 2412 --freq 5260 --mode active --passive-only-dfs
python -m wifiagent run --once
For startup configuration, set wifi.country in your config file. The bundled systemd unit uses config/example.toml.
For DFS-aware scan splitting, set wifi.dfs_frequency_ranges as a list of [start, end] pairs in MHz.