Search found 6 matches

by StNick
Sun Feb 21, 2016 1:42 pm
Forum: ZoneMinder 1.29.x
Topic: API: Can someone tell me why this doesn't work?
Replies: 9
Views: 6260

Re: API: Can someone tell me why this doesn't work?

Thanks for the update, and your work thus far; it is appreciated.
by StNick
Sat Feb 20, 2016 6:06 am
Forum: ZoneMinder 1.29.x
Topic: API: Can someone tell me why this doesn't work?
Replies: 9
Views: 6260

Re: API: Can someone tell me why this doesn't work?

The documentation does not provide a full breakdown of all method constructs; merely a number of "examples" as it calls them. In my original post, I was making the assumption that the Frame construct followed the same pattern as the Event construct, for which an example was provided. Thank...
by StNick
Fri Feb 19, 2016 7:18 am
Forum: ZoneMinder 1.29.x
Topic: API: Can someone tell me why this doesn't work?
Replies: 9
Views: 6260

Re: API: Can someone tell me why this doesn't work?

asker wrote:

Code: Select all

http://localhost/zm/api/events/711.json
Yeah this works, but it returns the entire event, including non-frame information I am not interested in. I'm really more curious as to why the specific API call isn't working as expected. Could be a bug.
by StNick
Wed Feb 17, 2016 8:43 pm
Forum: ZoneMinder 1.29.x
Topic: API: Can someone tell me why this doesn't work?
Replies: 9
Views: 6260

API: Can someone tell me why this doesn't work?

I want to get a list of all the frames from a specific event (#711) using the API. According to the docs (and REST), I am pretty sure this should work:

Code: Select all

http://localhost/zm/api/frames/index/EventId:711.json
However, this is returning every frame without any filtering at all.
by StNick
Tue Feb 16, 2016 8:10 pm
Forum: ZoneMinder 1.29.x
Topic: Execute command seems to make my filter go crazy
Replies: 4
Views: 4743

Execute command seems to make my filter go crazy

I am a new Zoneminder user so please forgive me if this is a silly question. I've set up a background filter to email me when motion occurs with more than 20 alarm frames. This has been working great. I'm now trying to go one step further and have Zoneminder send me a Telegram message on motion. To ...
by StNick
Tue Feb 16, 2016 7:52 pm
Forum: ZoneMinder 1.27.x
Topic: Zoneminder&Telegram (event instant messaging to your phone!)
Replies: 22
Views: 117075

Re: Zoneminder&Telegram (event instant messaging to your phone!)

HI PacoLM. I came here because I was writing a Python script myself to do the very same thing. I have it executing my script just fine, but it seems that Zoneminder only passes a single argument to the command specified in "Execute command on all events". That argument is the path to the e...