Hi Mate
I have just used your card code for my onvif camera and it works relatively well, however…
When I click any of the arrows, it does the whole circle, until it ends , also I’m getting a message: “failed to call service onvif/ptz missing attribute”
Not sure what I’m missing.
I would be happy if I would have more control over the pan and tilt
Thanks
Thank you for this card setup. I just added my Escam G2 to HA via ONVIF integration (in the past I was using it as a general camera) and when I saw that I can trigger these movements, I started to search for a way to add these buttons to the card. Your solution works perfectly for my needs. Thank you for sharing!
I have a Sunba 405-ECO V2 PTZ and the below has worked for me with the addition of 2 presets. A short delay as the ONVIF feed is not truly live so avoid many button pushes.
I can’t seem to get GotoPreset to work, ContinuousMove works fine - but is useless if I have to click like an idiot to get to my presets. I can access these fine with MotionEye and Keyboard Maestro, so I know its not an issue with the camera’s ability to reference presets. An idea what could be wrong?
I haven’t actually put it in the config yet, only tested with the dev tool. As I said though, ContinuousMove works well, just GotoPreset that won’t fire anything.
Last logged: 12:55:34 PM
PTZ preset '6' does not exist on device 'Balcony'. Available Presets: preset0, preset1, preset2, preset3, preset4, preset5, preset6, preset7, preset8
I finally figured it out late last night. I got it working doing exactly that preset: preset#… though I initially tried that immediately after seeing that mentioned in the logs and it was throwing me a very strange error - one that Google couldn’t help with;
“Nousd”? What the hell is “Nousd”?! I Googled like crazy and found nothing. It wasn’t until I figured out that the preset numbers stored in the camera are different than those on my Security Spy or Keyboard Maestro references. They are stored in the order they are created. So trying another preset number worked, anything other than “preset6”.
Ondrej. Tienes que crear una tarjeta en la pantalla inicial de Home Assistant.
Gracias por vuestros ejemplos.
Lo intento y ya os contaré.
(Mi ingles es pobre)