Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Onvif PTZ speed #7

Open
tesco222 opened this issue Mar 19, 2020 · 3 comments
Open

Onvif PTZ speed #7

tesco222 opened this issue Mar 19, 2020 · 3 comments
Assignees

Comments

@tesco222
Copy link

Good afternoon,

I am LOVING your work on the nodered integration of PTZ cameras. I have my Wanscam k54 now moving around as I command it!
I would like to slow its movement though or change the amount it moves when I click "left".
your excellent guide mentioned "An extra Time option can be specified, which is the time interval (in seconds) that the movement will be applied. For example a tilt value of -0.5 with time 2, means that the device will move down at half speed during 2 seconds."
But I cannot see how I can input a time?

@bartbutenaers bartbutenaers self-assigned this Mar 20, 2020
@bartbutenaers
Copy link
Owner

Hi @tesco222,

Thanks for your feedback!
It is much too long ago that I worked on this node, but will announce a new beta version on the Node-RED forum very soon...

I had to look in my code to see how it works, and indeed seems I have forgotten to document it.
You should be able to set the 3 speed factors in the input message of the PTZ node:

  • msg.pan_speed
  • msg.tilt_speed
  • msg.zoom_speed

Each factor is allowed to have a numeric value between -1.0 and +1.0

Would you be so kind to test whether those parameters still work?
And would be nice if you could share your example flow, so I can update the readme page.

Thanks !!!
Bart

@tesco222
Copy link
Author

tesco222 commented Mar 22, 2020 via email

@cxtal
Copy link

cxtal commented Jun 11, 2024

I can confirm this issue persists on a Tapo camera. This happens regardless of the speed, either pan or tilt speed, both being set at 1. However it seems that setting the speed to -1 does make the camera pan and tilt very slowly which is expected. There are some additional observations; namely setting the pan and tilt position using absolute movements to values around 0 makes the camera pan and tilt very slowly. Extreme values, such as setting pan and tilt to either 1 or -1 will be very fast and the camera will move as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants