Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
trigger on motion end
#1
can someone explain the steps to trigger an event on motion end? please.

it's like my brain doesn't work at all today.
do the needful ...
Hue | Sonos | Harmony | Elk M1G // Netatmo / Brultech
Reply
#2
I assume you want a specific motion sensor, right? If so, you'd set up a triggered event and set the filter to "Is Motion Event For", which lets you select a particular motion field to watch for. That'll trigger your event when there's a motion event on that field.

Within the event, call

TrigEvent::GetMotionInfo()

That will give you back the motion state being reported. It also gives you back info about the specific motion sensor but you can just ignore those values since you know you already triggered on the desired field. The first variable you pass, to be filled in the state, will come back with a value of 'start' or 'end', without the quotes of course, so just check to see if it's equal to 'end'. If so, do your thing.


If you want to respond to any end motion, the use the 'Is Motion End' filter. That will trigger your event on any end of motion trigger. Internally, you can call the same action command as above, and this time look at the motion sensor name returned.

If you want to see the type of info in the motion trigger (which is what GetMotionInfo returns), open the CQC Command Prompt and run CQCEventDump and make a motion event occur, then wait for it to time out and send the end, and you'll see what's being sent and therefore what you'll get from the motion info query above.
Dean Roddey
Explorans limites defectum
Reply
#3
fyi I should be home around 4:30pm PST after the dr appt, the Tivo was delivered today so setup on that is the only huge need, I can do a google hangout to walk you through mine. Assuming you're not drunk from sitting home playing Halo all day.
------------------------------------
Some of my devices: Sonos, Aeotec zWave, Nest, Rain8Net, Various H/T
What's next: CQC-Voice, Brultech GEM
My vlogs: https://www.youtube.com/c/IVBsHomeAutomation
Reply
#4
thanks Dean. i was hung up with the 'Is Motion End'.

i spent like 3 hours getting my ass handed to me by what i assume were obnoxious 12 year olds in Halo. im an embarrassment to the original video game generation, and need to go sit in a corner.
do the needful ...
Hue | Sonos | Harmony | Elk M1G // Netatmo / Brultech
Reply
#5
jkmonroe Wrote:thanks Dean. i was hung up with the 'Is Motion End'.

i spent like 3 hours getting my ass handed to me by what i assume were obnoxious 12 year olds in Halo. im an embarrassment to the original video game generation, and need to go sit in a corner.

Does Halo have a "only play friends" mode? You can kick my ass later to feel better about yourself. Took me forever to realize you can flip vertical controls, I kept hitting the ground on headshots.
------------------------------------
Some of my devices: Sonos, Aeotec zWave, Nest, Rain8Net, Various H/T
What's next: CQC-Voice, Brultech GEM
My vlogs: https://www.youtube.com/c/IVBsHomeAutomation
Reply
#6
i mean, we could do a 1v1 in a custom game.

would probably be better to roll 2v2 against some randoms and see how that goes.

i won't be able to play until after the fam goes to bed, so like 9:30EST if you want to roll a few games later tonight.
do the needful ...
Hue | Sonos | Harmony | Elk M1G // Netatmo / Brultech
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Trigger on Russound F1 button xlurkr 6 2,023 06-01-2020, 01:17 PM
Last Post: Dean Roddey
  Train HTTP Trigger Driver jkmonroe 24 15,349 10-25-2016, 11:55 AM
Last Post: karenlee
  Smart Handling of ISY Motion events Sendero 10 6,259 10-05-2016, 09:43 PM
Last Post: Dean Roddey
  Generic socket trigger mappings? dlmorgan999 2 2,303 06-17-2015, 04:58 PM
Last Post: dlmorgan999
  Help setting up GeoFancy & HTTP Trigger driver Sendero 10 6,144 04-20-2015, 11:08 AM
Last Post: bbrendon
  Popup from trigger phenix 17 7,056 01-10-2015, 07:54 PM
Last Post: Dean Roddey
  UPB motion sensor? rtarver 1 2,292 10-21-2014, 02:58 PM
Last Post: anogee
  HTTP Trigger Driver EST 5 4,111 08-01-2013, 05:59 AM
Last Post: EST
  HAI Omni trigger types ControlFreak 13 5,296 06-18-2013, 11:01 PM
Last Post: Dean Roddey
  Logic w/ motion sensor royalj7 4 2,629 02-12-2013, 04:20 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)