openhab / openhab-addons

Add-ons for openHAB
https://www.openhab.org/
Eclipse Public License 2.0
1.86k stars 3.58k forks source link

[ipcamera] implementation of "SetPreset" like "GotoPreset" (ONVIF Protocol) #16172

Open clown522 opened 8 months ago

clown522 commented 8 months ago

A lot of cameras use it to save PTZ positions, motion tracking on/off etc. All these outdated apps from the vendors would become obsolete if you can make little changes in openhab. Maybe like @Skinah said with an action command? Sometimes at chinese cameras it is called "set" button and the "GotoPreset" button is the call button.

(https://community.openhab.org/t/ipcamera-new-ip-camera-binding/42771/2918)

Thank you all for your good work!

Skinah commented 7 months ago

This most likely will take many hours of work, and not all cameras will support doing it. I will wait to see how many users request it, or wait until I am doing another ONVIF feature where I have the documentation open, or hopefully someone else contributes the code. I looked and other HA platforms do not support this feature so that confirms my first thoughts that this is not simple. Thanks for suggesting it so it does not get forgotten.