Closed QuantumEntangledAndy closed 1 year ago
New mqtt messages are:
/control/ptz/preset [id]
Move the camera to a PTZ preset/control/ptz/assign [id] [name]
Set the current PTZ position to a preset ID and name/query/ptz/preset
Request that the camera reports its PTZ presets/status/ptz/preset
Sent in reply to a /query/ptz/preset
an XML encoded version of the
PTZ presetsNew command line are as follows:
neolink ptz --config=config.toml CameraName control 32 left
neolink ptz --config=config.toml CameraName control 32 left 10
neolink ptz --config=config.toml CameraName preset
neolink ptz --config=config.toml CameraName preset 0
neolink ptz --config=config.toml CameraName assign 0 PresetName
Missing commit from #92
Adds: