Skip to content

Conversation

MJPye
Copy link
Contributor

@MJPye MJPye commented Jun 4, 2025

Hi,
I was using reolinkapi==0.4.1 with an E1 zoom camera and when calling add_preset from ptz.py I got the following error:

[{'cmd': 'SetPtzPreset', 'code': 1, 'error': {'detail': 'not exist', 'rspCode': -1}}]

Which means "Missing Parameters".

Adding PtzPreset to the POST data fixed it for me.

From Camera HTTP API version 5,
Screenshot 2025-06-05 at 00 20 35

PS: Thank you for maintaining this repo, has been super fun to use. I am using an E1 zoom camera mounted on top of a mobile robot :)

Copy link
Member

@Benehiko Benehiko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Benehiko Benehiko merged commit 87cd382 into ReolinkCameraAPI:master Jun 19, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants