Page 1 of 2
Enable/disable motion detection through api / command?
Posted:
Fri Jan 24, 2014 11:03 am
by pomsep
Hello. I've a commercial licence of xeoma and I would like to know if you've any future plans
releasing a version where motion detection can be enabled/disabled through
command/api ?
If such feature was present, I could make a custom mobile app to enable/disable motion detection by clicking
a single button.
I would like to use xeoma as alarm system and this feature would be very desirable.
Thanks
Tassos
Re: Enable/disable motion detection through api / command?
Posted:
Fri Jan 24, 2014 1:54 pm
by Admin_J
Hello!
Thank you for your interest in our software.
It's a good idea, we'll gladly add this feature in one of the future versions.
Please
subscribe to our newsletter to get to know as soon as it is added.
Re: Enable/disable motion detection through api / command?
Posted:
Thu Mar 27, 2014 1:18 pm
by Admin_N
Hi again Tassos!
We're getting ready to release a module that will receive http commands - much like what you want to do - so that you will be able to turn on or off the chain after this module. When it's on, all following modules will get the image and work as usual. When it's off, the following modules will not get the image (the image will be blocked) and won't work.
Will it work for you? Or what you need is not to disable motion detector but to get it to the Skipping state when it doesn't work yet doesn't block image either?
Re: Enable/disable motion detection through api / command?
Posted:
Fri Apr 11, 2014 8:58 pm
by TANE
Is this option already available?
I like to disable some options..like send e-mail when motion.
Trigger will be done form Fibaro Hc2. When Alarm Disarmed no e-mail..
Re: Enable/disable motion detection through api / command?
Posted:
Fri Apr 18, 2014 12:32 pm
by Admin_N
Yes, it is ready. There wasn't an official release with the HTTP switcher yet but we can send you a beta version to see if it works for you. Will that do?
What is your OS? How many bit?
Re: Enable/disable motion detection through api / command?
Posted:
Sun Apr 27, 2014 7:42 am
by bretzle
Has this been compiled into linux64? I'd love to try it out.
Re: Enable/disable motion detection through api / command?
Posted:
Mon Apr 28, 2014 1:28 pm
by Admin_J
bretzle Wrote:Has this been compiled into linux64? I'd love to try it out.
Hello!
Please try
this version with new "HTTP switcher" module and let us know if it works for you.
Re: Enable/disable motion detection through api / command?
Posted:
Tue Apr 29, 2014 9:34 am
by bretzle
Hi, thanks for the beta.
I've installed it and have attempted to set it up. When I first opened the HTTP Switcher it was pre populated with url information and I began to test. Before I could get it to work it reported an error with the assigned port and now that error is persisting no matter what port I try to listen on. As you can see on the attached image I've changed the port to a free on at 10097 but still have that error.
Any Ideas?
- I haven't had a chance to test the sender module yet but will report back when I get a chance.
Re: Enable/disable motion detection through api / command?
Posted:
Tue Apr 29, 2014 9:40 am
by bretzle
Actually, just let me play for a bit. I've put in my own commands and I'm getting a response in the browser....
Re: Enable/disable motion detection through api / command?
Posted:
Tue Apr 29, 2014 10:33 am
by bretzle
Ok Disregard that. It seems to be working. I'm testing the sender now
Re: Enable/disable motion detection through api / command?
Posted:
Tue Apr 29, 2014 11:06 am
by bretzle
HTTP Request Sender doesn't seem to be working on Linux64. I'm not sure if it's the sending method as the HTTP Request Sender config window is returning "connection was tested successfully" for both POST and GET methods. I don't believe that my OS supports these methods though, I've been working with curl.
I have the sender modules setup like this: Camera -> Marking -> Scheduler -> HTTP Request Sender. It's sending a request to a HTTP Switcher running on the same server. I've ignored the extra parameters and have entered the full HTTP request into the "hostname or ip address" field.
Can you see any problems with this setup? I can write a script to run independent from Xeoma as a work-around for the time being.
Re: Enable/disable motion detection through api / command?
Posted:
Wed Apr 30, 2014 7:21 am
by Admin_J
bretzle Wrote:HTTP Request Sender doesn't seem to be working on Linux64.
Hello!
How would you expect the module to work? Would you expect it to send commans regularly, at certain intervals? Could you please describe a situation in which you are planning to use it?
Re: Enable/disable motion detection through api / command?
Posted:
Wed Apr 30, 2014 9:14 am
by bretzle
Hi,
I don't think it would be the intended use but I was trying to get scheduler to activate the sender once a day. So it is set up as a direct connection from scheduler to the sender.
The application runners are performing a simlar task by calling a script which in turn sends a http request via curl.
- Capture.jpg (197.31 KiB) Viewed 23390 times
As you can also see the HTTP Switcher is turning motion email alerts on and off. This seems to be working.
As a feature request, would it be possible to see in the UI when a module is switched off or on, similar to how a module is greyed out when deactivated.
Cheers.
Re: Enable/disable motion detection through api / command?
Posted:
Wed Apr 30, 2014 9:48 am
by Admin_J
In your screenshot the Scheduler which is connected to HTTP Sender is turned off. When you tested it, was it on?
Re: Enable/disable motion detection through api / command?
Posted:
Wed Apr 30, 2014 9:56 am
by bretzle
Yes it was on when I was testing it.