Live Creations #42 + Sneak Peek - New Sensor State, Event and Actions! Also, more stuff! (Patreon)
Content
This time I decided to do a 2-in-1: a Live Creations with some features that only you will have access to for now. 😄
Get this version of Tasker here: https://drive.google.com/file/d/1424ppEISewbc1a5kQw_Zi8qunTezAzm3/view?usp=sharing
New Sensor Stuff
Tasker has 4 new sensor related things:
- Any Sensor state
- Any Sensor event
- Test Sensor action
- Sensor Info action
You can see how these work in the video above.
Basically, any sensor that your phone has is now completely available for you to play with and react to in Tasker.
For each state or event you can select how often the sensor is checked so you can decide for yourself exactly how reliable you want the condition to be, keeping in mind that more checks will use more battery.
You can even select the Interval Type:
- Throttle will check the first event in each check interval and see if it matches the condition
- Sample will check the last event in each check interval and see if it matches the condition
- Debounce will only check events from the sensor if they stop being sent during the time set in Interval (for example, if you want to trigger a task on orientation change, and you turn your phone upside down, without debouncing, 2 events could be triggered, but with debouncing only one would be triggered)
- Buffer will gather the events in each check interval and return them all at once to the task, so you can for example make a task based on all of the events that happened in the last 5 seconds if you want (for example, do something if phone is upside down, then upright, then upside down again)
This is also the first event/state where you can define conditions based on the condition variables themselves. Previously you had to this in the task. Because I did this now I can also very easily add these condition checks to other conditions that output local variables :)
Full Fledged Do Not Disturb Action
You can customize everything there is to customize about Do Not Disturb when you turn it on with Tasker.
Check out the demo: https://youtu.be/5pc_KzaXpwA
This means that all those settings that you can change in your phone's regular Do Not Disturb settings, you can now also change with Tasker!
Text Dialog
Tasker is also getting a new Dialog, the Text Dialog. Check out a demo here: https://youtu.be/BzABMdhBuQk
It's a simple dialog with a title, text and 3 possible buttons that you can use to show any info you like.
In my opinion this could be a better alternative to the Popup action.
As a bonus this dialog will now also be used if you use the alert() function in Javascript.
So let me know how this works for you and if you have any comments! :) Enjoy!