#Using the service calls shouldn’t be _
1 messages · Page 1 of 1 (latest)
The problem is, each time I call reolink.ptz_move, it moves it to the end stop in that direction
No stop signs, actually with speed limits, but unless anyone calls the service with the stop command button, it will keep going.
So right now I'm putting together scripts that call that after 500ms.
And since I don't want to do four scripts per camera, I am looking into passing the direction and the device in by parameter and then finding the entity using a template.
The problem being me having not the slightest idea what that parameter of type device will contain.
Don’t use device. Use the camera entity (so, entity type field).
The problem is that there isn't ONE entity, there's a whole 59 for the one camera I've added so far.
PTZ is modelled as an even dozen buttons.
The PTZ move service takes a single entity.
You don’t need to pass a device. Just pass the camera.[whatever] entity.
yes, one of the buttons, which determines the direction 😉
passing the camera won't work https://www.home-assistant.io/integrations/reolink/#service-reolinkptz_move
It's insane, but in a loony bin, they don't vote for the sanest for president.
Wouldn't work, because of the zoom function. That requires more control than a preset could provide.
Ah, gotcha it… You love complicating shit 😉 lmao
Yeeees, I do have a bit of a talent for finding the most complicated shit, haven't I?