I inherited two SWANN PTZ netcams from a family member shortly after installing HASS AIO. I wasn’t able to find a component that could control them even though they should be similar to FOSCAM and such. So, though much research, I was able to find a way to control them. I realize that there is a generic camera component, but I would like for this to be added to it.
Introducing… Generic IP Camera - With PTZ Controls
Actually it controls a hell of a lot more than just PTZ. I haven’t tried yet but apparently you can store present camera positions and even set configurations. Anywho… here is my switches.yaml…
Thanks for sharing this! Can I suggest a change in the title though; CGI control of a cam is going to be different for each vendor; different vendors use different CGI commands and even different names for their CGI.
I think a clearer title might be “PTZ Control of Swann cameras using Generic IP Camera”.
I didn’t want to change the title in mod mode and then have you not be able to find it!
OK, I put the lnes from the original post in config.yaml and I now have switches in the Overview but they don’t do anything with my 75790. I had some difficulty with the pasted characters when I copied the config entries above, so maybe I have the format wrong? This is what I have in config.yaml for the commands, for example here’s “move up”: