bitfocus / companion-module-canon-ptz

MIT License
11 stars 7 forks source link

Request: Pan/Tilt Initialization #38

Closed JulianDFarmer closed 8 months ago

JulianDFarmer commented 8 months ago

Hi,

Thank you very much for your excellent work on this plugin. I was wondering whether you might be able to add the Pan/Tilt Initialization feature as an action?

This can be achieved by hitting the following URL: /-wvhttp-01-/maintain?cmd=platform_reset

I can't see any indication on the panel showing when this process has finished running, so there may not be any way of creating a feedback for it.

Thanks!

JulianDFarmer commented 8 months ago

Hi, further to the above - it looks like while the camera is calibrating, info.cgi has the following status: c.1.platform.status:=uninitialize

And once it has finished calibrating it changes to: c.1.platform.status:=initialized

So this could be used for a feedback to reflect the initialization status.

josephdadams commented 8 months ago

Ok, I added this to v2.2.0 of the module. You're welcome.