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

ZM 1.37 support #70

Open
nabbi opened this issue Nov 15, 2024 · 2 comments
Open

ZM 1.37 support #70

nabbi opened this issue Nov 15, 2024 · 2 comments

Comments

@nabbi
Copy link
Collaborator

nabbi commented Nov 15, 2024

tracker request to add ZM 1.37 support, unclear what changes are needed

Originally report by @michlalp at home-assistant/home-assistant.io#35753

@michlalp
Copy link

there is no modect, mocord etc. in 1.37 so at least behavior of the "switch" will need some changes

@bassguitarist
Copy link

bassguitarist commented Dec 4, 2024

According to the ZM API documentation (https://zoneminder.readthedocs.io/en/stable/api.html), the change of a monitor state should be required through API according to the following request:

This API changes monitor 1 to enable motion detection and recording on motion detection (similar to old Modect function)

curl -XPOST http://server/zm/api/monitors/1.json -d "Monitor[Analysing]=Always&Monitor[Recording]=OnMotion"

How can we use the above information to modify the "switch" behavior?

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