Condition, Relay Switch or Other?

Xeoma Software

Moderators: Admin_N, Administrator, Admin_P, Admin_K

Condition, Relay Switch or Other?

Postby mallett » Fri Jun 02, 2017 2:28 am

I have created two "Application Runner" modules that send different commands. I'd like to run one of them as soon as motion is detected (we'll call this one A), and the other one when motion stops (we'll call this one B). I've tried connecting the A module directly to the Motion module and B to a Condition module that is connected to the Motion module. I've tried a couple configurations of the Condtion module: 1) only the motion input, and 2) motion input AND upstream schedule input inverted.

None of these configurations are triggering reliably. Please help me get this setup.
mallett
 
Posts: 1
Joined: Sat May 20, 2017 8:22 pm

Re: Condition, Relay Switch or Other?

Postby Admin_P » Wed Jul 26, 2017 12:07 pm

Hello! Unfortunately, a system like that can't be made with the current set of modules :( , as it requires a very clear distinction between start and end of an event. Thank you for the suggestion, however, we'll think of a way to make it possible in the future.
Admin_P
 
Posts: 245
Joined: Wed Aug 24, 2016 1:49 pm

Re: Condition, Relay Switch or Other?

Postby skylord123 » Wed Aug 30, 2017 4:50 pm

Should be noted that if you need this functionality you can hack something together. The HTTP Request Sender has options to send requests only when event starts or ends. You just need to program out a middle man webserver that can intercept the HTTP Requests and run the commands.

I use this to get motion events from Xeoma into Home Assistant. This way my front yard lights turn on when motion is detected on the cameras. Here is the code I built to take HTTP Request Sender messages and turn them into MQTT messages for home assistant: https://github.com/skylord123/xeoma-mqtt

You would just have to modify my code to run a program instead of sending a message over MQTT.
skylord123
 
Posts: 32
Joined: Fri Jun 02, 2017 5:18 pm


Return to Xeoma - General discussion

Who is online

Users browsing this forum: No registered users and 8 guests

cron