add mic recording, rename scripts, extend camera dump

- Rename main.py → play_speaker.py
- Add record_mic.py: record audio from camera mic via RTSP to a
  timestamped WAV in data/
- Add private API camera dump to dump_camera.py
- Update README scripts section
This commit is contained in:
2026-03-01 05:21:51 +01:00
parent 2d16b04e88
commit b1f5f4ee61
3 changed files with 66 additions and 2 deletions

View File

@@ -32,8 +32,10 @@ access to settings not exposed by the official API, consider
[uiprotect](https://github.com/uilibs/uiprotect) — an unofficial Python library
wrapping the private UniFi Protect API.
## Run
## Scripts
```sh
uv run main.py
uv run play_speaker.py # play hello.wav through the camera speaker
uv run record_mic.py # record from the camera mic (Ctrl+C to stop)
uv run dump_camera.py # dump camera data from integration + private API
```