@tchellomello Do you have the necessary skills to being able to implement this in HA? I’m a very new member of the community, and I’m just starting on Pything/polymer etc, it’s a real mess right now.
I would gladly make a small donation if you or somebody else could make the PTZ waypoints available in the frontend and make us able to enable/disable the motion detection.
I’m also willing to help with testing, if you need to.
I’m using the Hass.io installer btw.
It’s just that we are so close on getting the PTZ controls in HA. We have the connections, the components etc, but we have been missing the PTZ control from since when I joined.
I have implemented something similar with custom ui elements. Its working pretty ok for now but there are many hard coded strings etc. For now, there are simply four buttons which activate a service on the server side (using manual switches atm, but this service could get integrated into e.g. the camera platform in some fashion [e.g., enable_motion_detection and disable_motion_detection are already there]).
Generally speaking, does anybody know what the current status regarding this is? This is the only thread I have found so far, maybe this has been discussed elsewhere.
There are also other things that have to be considered, e.g.:
there are many different ways to control ptz: (e.g. SOAP requests for onvif, general http requests, custom python library)
as far as I can estimate this, the service could be residing in many different locations and be referenced by the config? (e.g. in the onvif platform for onvif ptz cameras)
So far this is working for me great (as a custom ui element) but would love to help creating an general approach.
I will try something like this, thanks for sharing.
Just to confirm, is the image updated in real time? I mean, when I hit the icon to move the camera, the image keeps still until I click to view the stream, right?
You’ll need two web browser for doing that. When you trigger the PTZ it will make the camera rotate but the camera card is a picture card with low refresh rate so it will take time. If you access the stream by clicking on the picture on another page it will update in real time or close to it.
I have a RLC-23 and I saved preset locations to point at in the camera web interface and setup a restful command to that tell the camera to point at the saved preset locations.