Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PTZ Camera Frame Automation #8

Open
serafdev opened this issue May 26, 2023 · 1 comment
Open

Add PTZ Camera Frame Automation #8

serafdev opened this issue May 26, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@serafdev
Copy link
Member

Request as curl of the ptz camera:

curl 'http://192.168.1.253/cgi-bin/ptzctrl.cgi?ptzcmd&poscall&11' \
  -H 'Content-Type: application/x-www-form-urlencoded;charset=utf-8' \
  -H 'Cookie: CGISESSION=zeFdsRYOsksdEcWymqvAmVMJeQQqURuj' \
  --compressed \
  --insecure

Here we want to detect the Frame and set it properly based on the Event:

11: Chair under Imam for Khutbah Translations
12: Zoomed Out Imam + Iqama
13: Imam Khutbah
14: Zoomed Out everything

E.g: Khutbah Translation Time: 11, Khutbah Time: 13

@serafdev serafdev added the enhancement New feature or request label May 26, 2023
@serafdev serafdev self-assigned this May 26, 2023
@serafdev
Copy link
Member Author

serafdev commented May 6, 2024

After a year in production doing the framing manually, the first version can be easy like this:

Everyday:

  • Fajr Time: 11
  • After Fajr Time (+45 minutes): 14

Friday:

  • 12:00: 11
  • 12:15: 13
  • 13:00: 11
  • 13:15: 13
  • 14:00: 14

It does not look like the PTZ is secured so anyone can troll when connecting to the network, so hopefully before anyone reads this I will isolate the PTZ in its own subnet 🤣 🤣 🤣 🤣

Also the above is a fake IP, it's not even the correct one 🥵 OR IS IT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant