Use AirPods Gestures to take Slow Motion Video on Samsung S21

36 views
Skip to first unread message

Christian Halstrick

unread,
Jul 3, 2021, 6:20:22 AMJul 3
to Tasker
Hi,

imagine this: you have a S21 phone mounted on a tripod. You are wearing Apple AirPods connected to the S21. What I want is: whenever I double tap on the right airpod 10 seconds later the S21 should beep and start to record a slow motion video without further human interaction. 10 seconds later the S21 should beep again and stop recording. 

Is this possible to be done with Tasker?  

aliraj...@gmail.com

unread,
Jul 3, 2021, 11:34:04 PMJul 3
to Tasker

CBD Hero Pick out a service provider Processor You need to look for a reliable service provider processor. This is crucial if you need to acquire charge to your product income. While it is felony to run a CBD oil business, many service provider processors assume this sort of commercial enterprise entails quite a few risk. Abide by way of the regulation Once you've got selected a merchant, your subsequent circulate is to comply with the federal laws. In other words, you must comply with the laws related to the sale of clinical and leisure hashish merchandise.

João Dias

unread,
Jul 5, 2021, 4:51:41 AMJul 5
to tas...@googlegroups.com
Maybe the Logcat Entry event can help? :)

Thank you for your contact.

   Join: connect multiple devices (send pushes, remote SMS, notifications) on Android, Windows, Mac, Linux
   Tasker: customize/automate anything on your phone!
   AutoApps: add advanced functionality to Tasker via plugins

     

João Dias


Christian Halstrick

unread,
Jul 5, 2021, 6:26:49 AMJul 5
to tas...@googlegroups.com
Hi,

I managed to get full logcat traces while I am performing the actions I want to automate. But, of course, the logs are huge and I am not so familiar with how I should filter them. Should I call logcat with some options so the output contains things consumable by tasker and not the whole stuff? 

Anyhow: when ...
- My phone is turned on and unlocked and I am in my launcher
- I execute 'adb logcat -c' from my pc
- I open the camera app, switch to timelapse mode, start recording, stop recording
- I dump the log with 'adb logcat -d >/tmp/foobar.txt'

... then I get the following trace: 

--
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/a8eVq1wzVSA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/CAG6Z%2BFeQuSHUkbj2KQ6nZAeNKLPDtprmfr3X6bWCWs6sj1V%2B7g%40mail.gmail.com.

João Dias

unread,
Jul 5, 2021, 6:29:50 AMJul 5
to tas...@googlegroups.com
Oh, sorry, I meant that to catch the double tap on the AirPods, not to start recording...
Also, I meant that you should use the helper in the Logcat Entry event in Tasker to help you catch it :)

To automatically start recording you could use AutoInput to click Samsung's UI for you...

Christian Halstrick

unread,
Jul 5, 2021, 8:38:46 AMJul 5
to tas...@googlegroups.com
Yes, be patient with me as tasker developer. I bought Tasker beginning 2013 and loved it. It was on all of my phones since then ... but I never had the need to fix/develop something for tasker (and that's something I really love regarding Tasker - it simply worked).

Regarding catching double taps on the airpod vs. starting the S21 camera and record slowmo videos: these are different problems but I have to solve them both. On the double tap on airpods I would like to start the camera app in slowmo mode and record until I receive another doubletap. When the S21 camera app is active and in the right mode then from time to time I see that camera app goes to background without any interaction from my side. Maybe when certain notifications should be presented. I would like my task to also make sure camera app is up and in the right mode. 



--
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/a8eVq1wzVSA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Christian Halstrick

unread,
Jul 7, 2021, 4:39:47 AMJul 7
to Tasker
I managed to control the camera to do 10 sec slowmo videos by using AutoInput. Worked great.

I do have trouble finding the correct messages to be received from the airpods.
I am still working on the event side: do something when I doubletap on my airpod. The number of logcat entries I receive in 3 seconds is so huge that it's is hard to get the right
entry. Especially when the event you want to listen to triggers a lot of activities (in my case spotify starts playing a new song). What I find strange: I do doubletap only once on the airpods during the recording time, so I would expect the the logcat entry which I have to react on also is in the logcat exactly
once. But, to say it with U2: "I still haven't found what I am looking for" (https://www.youtube.com/watch?v=e3-5YC_oHjE&ab_channel=U2VEVO). I am still digging and keep you up to date. 

João Dias

unread,
Jul 7, 2021, 4:50:47 AMJul 7
to tas...@googlegroups.com
Yeah, the logcat can have a lot of stuff sometimes which makes it hard to find what you need (which may not even be there in this case). Hope you find it eventually! :)

Christian Halstrick

unread,
Jul 7, 2021, 5:23:02 AMJul 7
to tas...@googlegroups.com
Could it really be that a bluetooth device firing a event to go to the next track does not leave traces in logcat?

--
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/a8eVq1wzVSA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

João Dias

unread,
Jul 7, 2021, 7:36:16 AMJul 7
to tas...@googlegroups.com
Sorry, I really don't know 😅 Every device is different so you really have to try it yourself...
Reply all
Reply to author
Forward
0 new messages