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:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user