bitfocus / companion-module-panasonic-ptz

MIT License
8 stars 17 forks source link

Autofocus off issue on Panasonic PTZ #20

Closed DonSlotta closed 3 years ago

DonSlotta commented 3 years ago

Hi there , I´m controlling Panasonic AW-UE70 and AW-HE130 PTZ cameras via Companion. I´m able to turn the Autofocus on via the Focus Mode: Auto Focus. But the command Focus Mode: Manual Focus doesn´t turn it off. This happens on both camera types. Is this a bug?

McHauge commented 3 years ago

@DonSlotta first of all, what version of companion? if you are on the beta, please try and enable debug to log and restart companion then press the action and see what it reports in the log

DonSlotta commented 3 years ago

I´m using version v2.1.2(2.1.2-f4bcaf3-2679)

McHauge commented 3 years ago

please ty the Beta, the module has been rewritten with feedbacks and all

to download it click the "builds" button under the main download button: link

DonSlotta commented 3 years ago

Thanks for for the link. I will try it. Do I need a specific build or just the latest? Sorry for these newbie questions.

McHauge commented 3 years ago

just the latest

another thing if you are on windows go to this folder %AppData%\Roaming\companion and make a backup off all it's content. this is all your settings and buttons in companion, if something breaks, you can just download the release version again, and copy your backup back into this folder and you will be back to what you have now

DonSlotta commented 3 years ago

I tried version v2.2.0 (2.2.0-7cb0beb-2932). Now both commands Lens - Focus Mode: Auto Focus and Lens - Focus Mode: Manual Focus turn the Autofocus mode on. None of them turn it off.

McHauge commented 3 years ago

would you mind enabling "debug to log" and restart companion then press the action and see what it reports in the log then post a screenshot of it

DonSlotta commented 3 years ago

I pressed both buttons for Auto Focus and Manual Focus. Both seem to send the same value. Send CMD: D11.

IMG_20210227_200204.jpg

McHauge commented 3 years ago

Thx I'll give it a look

McHauge commented 3 years ago

@DonSlotta just tested it, and it works fine here, please check your actions and verify that they are set correctly they should look like this (also added a picture of my log when testing):

image image image

DonSlotta commented 3 years ago

I´ve double checked the action on my Auto Focus Off Button. It is the same action as in your test setup. See attached screenshot Your action triggers the Send CMD: D10 command. Mine still the D11 like the Auto Focus On command. That´s weird. Is there a way to change the value from this command from D11 to D10 manually ?

1614525592053

McHauge commented 3 years ago

Well, my bet then would be to make a backup of the setup, then try removing the instance an create new buttons, else try a completly clean setup and se if that helps

DonSlotta commented 3 years ago

I deleted the instances, created them new and made new buttons. Now it works. Except that the manual focus command triggers the Auto Focus on and the auto focus command turns it off. That's still weird but I totally can live with that. Thanks a lot for your support. It helped me a lot. Cheers.