Re: Can tasker turn my android device into a motion sensor with front facing camera?

6,285 views
Skip to first unread message

Pent

unread,
Apr 24, 2013, 6:04:05 AM4/24/13
to Tasker

> Any chance tasker could be setup to read the activity of these apps and
> fire an RPC event?

You could ask the devs to add a condition plugin component:

http://tasker.dinglisch.net/plugins.html

They then get compatibility with a lot of other profiling apps too.

Pent

Pent

unread,
Apr 24, 2013, 6:04:44 AM4/24/13
to Tasker
Alternatively, if they send out an 'intent' (ask them), you can use
the Intent Received event to fire a task based on it.

Pent

RoyL

unread,
Apr 24, 2013, 8:12:01 AM4/24/13
to tas...@googlegroups.com
Good to know.  I'll try those ideas.  Thanks again Pent!

On Tuesday, April 23, 2013 12:53:59 PM UTC-7, RoyL wrote:
Hi tasker group,

Loving the app so far.  I've got openvpn running pretty smoothly.  Thanks for building a great product!

I would like to use my old HP Touchpad as a motion sensor to trigger events in our home automation setup.  I've seen a few apps in the play store which work GREAT for detecting motion with the front camera, but I haven't been able to find a way to expose these events to tasker yet.  

Any chance tasker could be setup to read the activity of these apps and fire an RPC event?

Thanks!

RoyL

unread,
May 1, 2013, 6:46:36 PM5/1/13
to tas...@googlegroups.com
Great news,

The dev for Motion Detector has agreed to add support for Broadcast Intents, and the update is available in the app store.  My apologies for the newbie question, but is there any way to expose these intents so I know what to send to tasker?  Is there a guide or documentation in place for this?

Matt R

unread,
May 1, 2013, 7:06:43 PM5/1/13
to tas...@googlegroups.com
There's info in the user guide. If you need more help after reading that, you can post your specific question and someone might be able to help you.

Matt

RoyL

unread,
May 2, 2013, 7:04:28 AM5/2/13
to tas...@googlegroups.com
Man, you guys are awesome!  Thanks for pointing me in the right direction. Thanks to the help of the developer as well, I was able to get this working.  

Based on his docs here (after today's update) http://programy.jastrzab.com/help.php?lng=en&app=org_jastrzab_move, all I had to do was add org.jastrzab.move.ACTION_GLOBAL_BROADCAST to the action under the intent received profile.

Now I've got a wall-mounted tablet that wakes when you pass by, and I'll eventually have it hooked up to the home automation system to act as a motion sensor as well.

Thanks again!

RoyL

unread,
May 14, 2013, 8:17:34 AM5/14/13
to tas...@googlegroups.com
Anthony, 

I can certainly try to help.  How far have you gotten?  Which area are you stuck on? Can you get tasker to recognize intents from Motion Detector?

On a separate note, I don't suggest this is reliable enough to use as a primary motion sensor or that it can compare to a true alarm system.  If this is what you are looking for, it might be a good idea to consider alternatives.  As of right now, the reliability level of using android as a full-time motion sensor is only high enough for fun projects.

alarma chiclana

unread,
May 14, 2013, 9:27:05 AM5/14/13
to tas...@googlegroups.com
hello again.

I use apk whatchedforyou with tasker, but I can not power cycle the remote alarm service. for this I use the vnc webkey (http server).

Still do not like using org.jastrzab.move.ACTION_GLOBAL_BROADCAST to use when the alarm goes off, turn it on or off.

I guess in new profile - misc - Component Intent. but I'm lost.

I understand that there is a professional, but I use it for 1 year and it works, except the application errors. so I would like to switch to motion detection.

thank you very much for your prompt response

thanks


Message has been deleted

Stupifier

unread,
May 14, 2013, 1:46:33 PM5/14/13
to tas...@googlegroups.com
Hmmmm......I always wanted a way to keep my dogs out of the kitchen.  This might be my solution.  I was looking for a way to use my phone as a motion detector that would sound an alarm when movement was triggered.  I'll have to give this some thought.

RoyL

unread,
May 14, 2013, 5:46:58 PM5/14/13
to tas...@googlegroups.com
I see.  Hrm... sorry, I'm not sure how it might work for watcherforyou, but I can post the intent setup for motion detector which is the specific app I am using to trigger motion. To simplify it, here are 3 steps to take:
  • Install the latest version of Motion Sensor and when adjusting your settings, make sure "When motion is detected, program will send Broadcast Intent." is checked. It would be a good idea to uncheck the options to save image and event logging to save CPU.
  • In tasker, create a new profile and name it whatever you like. In the new profile, select "System" -> "Intent Received" as your trigger. Under the action field, type in "org.jastrzab.move.ACTION_GLOBAL_BROADCAST" (no quotes).
  • Tie in your tasks to the new profile you've just created. You can select whichever task you want, but in my case, I selected "wake" with the secure settings tasker plugin to turn on the screen, and also an HTTP post task to notify the home automation server of motion.
There are a few more configuration details which come afterward, but this will depend on your own setup.  For instance, I've also created a watchdog profile to 'untrip' the motion sensor and turn off the screen when no motion is detected.  This does make the tablet very inefficient in terms of power consumption, but in this case, the tablet is meant to be running all the time anyway.

Let me know how it works.  Good luck!
Message has been deleted

alarma chiclana

unread,
May 20, 2013, 10:47:15 AM5/20/13
to tas...@googlegroups.com
Hello again.
thanks for your answer. the problem was my version of tasker, I updated and now I see the option of "intent".
Now do not get to stop the "motion detector"

in task-misc-sendintent. wrote
org.jastrzab.move.ACTION_DETECTOR_OFF
cat none
broadcast target but not to write
package name org.jastrzab.move
full component name org.jastrzab.move.Engine

thanks again.
 I've tried
with various options and the service does not stop.


alarma chiclana

unread,
May 20, 2013, 11:21:58 AM5/20/13
to tas...@googlegroups.com

OK.
i Resolved, mi problem is not target bradcast, put in service and ok.

thanks....

Jastrzab

unread,
May 20, 2013, 11:45:48 AM5/20/13
to tas...@googlegroups.com
Configure Tasker to receive Intent 

Configure Tasker task to send Intent 

alarma chiclana

unread,
May 21, 2013, 9:29:55 AM5/21/13
to tas...@googlegroups.com
Hello Royl

Do you know if it is possible to receive intent in android 2.3 froyo or tasker v1.3?

Thanks

RoyL

unread,
May 21, 2013, 4:44:41 PM5/21/13
to tas...@googlegroups.com
Hi alarma chiclana,

No, i'm afraid I do not know if that will work.  The android devices I have access to are all on 4.0 or higher.  Perhaps someone with more tasker experience can add in their thoughts?

Emparador

unread,
May 21, 2013, 4:54:46 PM5/21/13
to tas...@googlegroups.com
I'm sorry but I don't know, I didn't even use Tasker, feature added at request of one of the users

W dniu 21.05.2013 o 11:29 alarma chiclana <alarmac...@gmail.com> pisze:

Hello Royl

Do you know if it is possible to receive intent in android 2.3 froyo or tasker v1.3?

Thanks
--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/8ff75wdR6X0/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



Matt R

unread,
May 23, 2013, 5:10:54 PM5/23/13
to tas...@googlegroups.com
No, you cannot receive intents unless you are using Tasker 4.0+.

Matt

Message has been deleted

RoyL

unread,
Jun 19, 2013, 4:54:38 AM6/19/13
to tas...@googlegroups.com
Motion detector pro? You're using the wrong motion detector app. The instructions in this thread to not work for that.

You need motion detector by Jastrzab, one of the contributors in this thread.

Dana Brunetti

unread,
Jul 21, 2013, 10:53:50 PM7/21/13
to tas...@googlegroups.com
I am using a tablet with my home automation and have it set up to turn the screen on when motion is detected, however it will not turn off. Ideally I'd like it to stay on while there is motion and then turn off 45-60 seconds after there is no motion. Any help is appreciated. 

cruise

unread,
Jul 31, 2013, 3:30:27 PM7/31/13
to tas...@googlegroups.com
The simplest way would be to, after turning the screen on, wait for 45-60 seconds (however long you need it), then turn the screen off again (in the same task). Then, at the bottom of the screen, open the task properties and set the Task Collision behaviour to "Abort existing task".

This will cause the task to be "reset" every time the motion intent is sent. If it isn't sent for the full wait time, then it will finally get to the last step of the task and turn the screen off.

David Lamoureux

unread,
May 20, 2014, 6:27:51 PM5/20/14
to tas...@googlegroups.com
RoyL

I'm trying to create an in-store display that includes a 10" Android tablet. I want that tablet to play a video when people walk by and then go back to standby (blank screen) afterward. Is that possible using Motion Detector and Tasker?

David

Emparador

unread,
May 20, 2014, 6:49:17 PM5/20/14
to tas...@googlegroups.com
actually in this case Tasker will not be needed I have plug-in for such functionality, install - > activate -> enable detector, if detector detects motion screen will be automatically turned on

below is link to file


W dniu 20.05.2014 o 20:27 David Lamoureux <dnlamo...@gmail.com> pisze:

--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.

To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.



Brandon Horwath

unread,
May 20, 2014, 7:17:42 PM5/20/14
to tas...@googlegroups.com
actually in this case Tasker will not be needed I have plug-in for such functionality

Got it on the Play store?

Marta Hintz

unread,
May 20, 2014, 7:21:35 PM5/20/14
to tas...@googlegroups.com
I saw on this site that someone in real estate does this for his open house. Plus a screen that users login

Emparador

unread,
May 20, 2014, 7:23:59 PM5/20/14
to tas...@googlegroups.com
no, I removed from store all apps, this link is only way to get this
plug-in

W dniu 20.05.2014 o 21:17 Brandon Horwath <brandon...@gmail.com> pisze:

Eugenio Fabre Lor

unread,
May 21, 2014, 9:49:55 AM5/21/14
to tas...@googlegroups.com
Hi all! Have you tried ip webcam, with tasker integration?
https://play.google.com/store/apps/details?id=com.pas.webcam.pro&hl=es

El martes, 23 de abril de 2013 21:53:59 UTC+2, RoyL escribió:
Hi tasker group,

Loving the app so far.  I've got openvpn running pretty smoothly.  Thanks for building a great product!

I would like to use my old HP Touchpad as a motion sensor to trigger events in our home automation setup.  I've seen a few apps in the play store which work GREAT for detecting motion with the front camera, but I haven't been able to find a way to expose these events to tasker yet.  

Here are a couple: 

Any chance tasker could be setup to read the activity of these apps and fire an RPC event?

Thanks!

marklyn3500 .

unread,
May 24, 2014, 10:41:02 PM5/24/14
to tas...@googlegroups.com
Roy, I know this is an old post and you may not even check this board anymore, but in case you do...
I've downloaded motion detect and tasker but in motion detect I don't see the 'When motion is detected..." you mention.
Are these the only two apps and where is the "when motion is detected..." menu item?




On Tuesday, May 14, 2013 12:46:58 PM UTC-5, RoyL wrote:

marklyn3500 .

unread,
May 25, 2014, 4:04:26 AM5/25/14
to tas...@googlegroups.com
Hi, I had initially purchased your app, motion detector, earlier today because I needed a way for my tablet to turn on when I walk into my kitchen. I tried making this work by testing your program and tasker app but never could successfully get it to work.
I believe the detector plugin will make it work exactly as I wish it to work so I will now purchase your app.  Thanks for doing good work!

Mark

David Lamoureux

unread,
Jun 9, 2014, 1:40:13 PM6/9/14
to tas...@googlegroups.com
Thank you. I'll give that a try.

Marco Düchting

unread,
Nov 8, 2014, 8:29:37 PM11/8/14
to tas...@googlegroups.com
I´m trying to get motion detector to work wiht Tasker but none of the programms i tried (nor Tasker neather WOLI) is reakting on "org.jastrzab.move.ACTION_GLOBAL_BROADCAST". I´m new in Android so do I need to give any rights to the programm to sent this broadcast?
I enabled "send notifications" and can see that events are increasing once the detector ist started. I as well can make tasker reacting on other events (so the task it self is okay) it´s just not reacting in the event of motion detection. I did everything exyctly as describted here: http://programy.jastrzab.com/help.php?lng=en&app=org_jastrzab_move
my device is an Acer ACer DA220hql 55

David Lamoureux

unread,
Nov 9, 2014, 10:05:28 PM11/9/14
to tas...@googlegroups.com
I could not hope to answer your question. I can direct you to someone who created the app for me for a very reasonable price.

Mark Sullivan <sulliv...@gmail.com>

Best of luck.

--

RoyL

unread,
Nov 10, 2014, 1:16:18 AM11/10/14
to tas...@googlegroups.com
If tasker is receiving intents from Motion Detector, it sounds like the issue may be your tasker setup. Can you at least get tasker to trigger actions?

Santiago Restrepo

unread,
Jan 20, 2018, 6:57:16 AM1/20/18
to Tasker
I joined to this group only to thank you Cruise. With your answer I finally managed to configure a Tablet as digital photo frame and behave the way it should (keep screen on as long as movement is detected). Being my first experience with Tasker I would have never accomplish this in such a simple manner.
Reply all
Reply to author
Forward
0 new messages