bitfocus / companion-module-panasonic-ptz

MIT License
8 stars 17 forks source link

[Module Request] Panasonic PTZ - One Touch Auto Focus #7

Closed dvdenz closed 3 years ago

dvdenz commented 4 years ago

Hello, Would it be possible to enable the One Touch Auto Focus function of the Panasonic PTZ Cameras? I am specificially using the AW-HE40 camera. The workaround I am using right now is to send HTTP GET commands - one to turn auto focus on ( http://10.0.0.55/cgi-bin/aw_ptz?cmd=%23D11&res=1 ) and one to turn it off again ( cmd=%23D10&res=1 ) once it's had time to auto focus approx 850ms later.

I have tried sending the HTTP GET command to trigger the OTAF function directly ( http://192.168.0.10/cgi-bin/aw_cam?cmd=OSE:69:1&res=1 ) but the camera just jumps back to auto focus. Unsure if implementing it in the module would result in proper behaviour? Thanks!

Edit: I think the behavior changes depending if the camera is already in AF or MF mode

JeffreyDavidsz commented 4 years ago

So those commands do what you would expect from the auto focus button not one touch. No other commands available?

josephdadams commented 4 years ago

Transferring this to the Panasonic PTZ module repository...

McHauge commented 4 years ago

Added support for one-time autofocus, but still, need's to be tested, and, I'm near to our PTZ until next week, but if it works out, all get it included into the core.

McHauge commented 3 years ago

This is now a part of the Beta builds, will close this for now