Open Vinndimon opened 2 years ago
I also have a similar problem. It would be great if I could define what to be called once I press on a PTZ button. For instance currently I am using rest commands to control the camera's up,down,left,right, IR on/off; example for 'up' button is:
rest_command: bobo_room_cam_up: url: http://USERNAME:PASSWORD@10.2.124.80:1024/cgi-bin/hi3510/ytup.cgi
I use a Chinese camera with XMEYE/Sofia. Its' PTZ is controlled with some Python scripts that look like this in my config:
Is it possible to just add shell commands as PTZ controls? Without extra complications such as creating scripts and services? Could you explain how to add my scripts into your integration's PTZ config?