Help with Tasker automation to open Garage Door - Tasker Tips & Tricks

Having recently gotten a Tesla Model3 I am keen to automate opening and closing the garage as I arrive and leave home.....
I have not found a way to (either voice or screen) initiate my garage opener app or Google Home routine from the Tesla.
My other option is to use my phone, but that involves fumbling for the phone, unlocking it, and either triggering the app or triggering a Google Home voice command to run a routing to trigger the app and open the garage door (which unfortunately also requires a PIN when doing through Google Home).
So I have decided to use an NFC tag trigger to Tasker to then automate opening the garage door app and opening the door. I have installed and gotten working the Trigger app, and have set up an NFC tag to trigger a task in Tasker. The NFC read seems to be working fine.
But my Tasker Task does not seem to be working. I have "played" it purely in Tasker (to isolate it from Trigger and NFC tag, and playing it doesn't result in the garage door opening.
I created the Task using AutoInput action - for which I opening the app (Remootio) and clicked on the lock/unlock toggle button. The task config is below, as well as the log from the action being run.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
11.10.40/ActionArgBundle key: NearbyText: replace <null> String value with null
11.10.40/ActionArgBundle key: RepeatTimes: replace <null> String value with null
11.10.40/ActionArgBundle key: TextToWrite: replace <null> String value with null
11.10.40/ActionArgBundle key: StoredAction: replace <null> String value with null
11.10.40/ActionArgBundle key: EnableDisableAccessibilityService: replace <null> String value with null
11.10.40/ActionArgBundle key: Password: replace <null> String value with null
11.10.40/ActionArgBundle key: RepeatInterval: replace <null> String value with null
11.10.40/E FIRE PLUGIN: AutoInput Action / com.twofortyfouram.locale.intent.action.FIRE_SETTING: 16 bundle keys
11.10.40/E AutoInput Action: plugin comp: com.joaomgcd.autoinput/com.joaomgcd.autoinput.broadcastreceiver.IntentServiceFire
11.10.40/E add wait type Plugin1 time 23
11.10.40/E add wait type Plugin1 done
11.10.40/E handlePluginFinish: taskExeID: 1 result 3
11.10.40/E pending result code
11.10.40/E add wait task
11.11.03/E Error: null
I'd love some help as to what I am doing wrong and why the outcome for the Task is not working....

Does the firmware of the application match the firmware of the device?

First of all, you should contact the developers of the application. They should advise you what to do in this situation because they know the software they have developed best. Secondly, you can try to contact Google for help. Perhaps they already have some developed techniques for managing gates without a phone. In my opinion, it is best to install automatic gates that open from the remote control. This eliminates the possibility of hacking. I ordered my gate from https://everlastgates.com/. This is a reliable company that does its job well. You can still see if it is possible to install a voice sensor.

Related

Getting Started With Tasker

Getting Started With Tasker
Many of us have probably had a similar experience with the first time we used Tasker. We download the app, take our clothes off, get into bed and then realize we just aren't ready for this. So I thought I'd put together a small getting started guide for Tasker.
What is Tasker?
Tasker is an Android app that allows you to create automated tasks that are triggered based on selected circumstances... Ok that's already confusing so let me give you an example. I can program tasker to open up my shopping list every time my GPS location shows that I'm at the grocery store. I can also program my phone to to lock my texting app when I go to sleep so my girlfriend doesn't snoop through my phone. Now all I need is a girlfriend.
First be sure to download the app from the Play store.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Scenes
Scenes are user interfaces that you can create in Tasker. Think of a scene as a box that contains various elements that you would normally find in an app interface, like buttons, text, text input, images, sliders, and so on. Normal Tasker actions can be tied to these elements, so that you can have a button that runs a task, a text field that lets you write text to a variable, or a slider that controls screen brightness.
Scenes can be all kinds of sizes, and be displayed in different ways: As a pop-up box, full screen like an app, as an overlay over another app, and so on. The size and type of scene depends on what you need the scene to do. I will quickly go through the basics of creating a scene, and then I will go through multiple examples at the end to show how everything works in practice and for different uses.
Tasks
Tasks are a set of customized actions. You can create tasks like "If the battery is below 50%, mute volume." Creating tasks is usually the part where most people give up. After all it looks like you're solving advanced algebra problems. Stick with it and mess around with it until you get the hang of it.
Profiles
Profiles are conditions that will trigger your tasks that you've created. I can create a profile that will trigger my mute volume task that I created above to only activate on the weekends. So then I know that every Saturday and Sunday my volume will mute if my battery is below 50%.
These settings will also take a bit to get used to. Don't worry, you wont hurt anything by messing around with them until it all makes sense.
This will get you started to the point where you can create your first automated task. Just start simple and then experiment with more complex tasks.

[Guide][Difficulty: Intermediate] Dynamic pop-up menu for any number of items

What is this
This is a menu in which the height is dynamically adjusted to fit the number of items. It is also semi-transparent. For the full effect, see the sample screenshots below.
If there are too many items in your menu to fit on the screen, then you can scroll through the menu.
In portrait view it shows only one column. In landscape view, it shows only one column if it can fit all the items in one column, otherwise it divides all the items equally between two columns, so you can end up with two columns that can each be scrolled through.
Portrait view
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Landscape view, if items can fit in a single column
Landscape view, if items cannot fit in a single column
How to use this
Import the attached profile into Tasker.
To use this, run the attached task and send a list of your keywords separated by three commas ,,, as parameter 1, and set any custom variable as the return variable. In my task in the screenshots, I use %selected_item as the return variable in my sample screenshots. Having three commas as the separator allows you to make menu entries that contain a comma in them, such as the mobile network selection menu in one of my screenshots.
You can optionally send a single ignored keyword as parameter 2. If you tap on something that matches parameter 2, then the menu will not close and will only flash an alert message asking you to select something else. This is useful for making separators in the menu, like the ---------- in my screenshots below.
A 'Cancel' button is automatically added to the top of the list.
If you press the Back button, then "Back" (without quotes) is returned by the task. This is useful if you decide to nest a number of menus within each other. You can then use an if condition to check whether the returned variable matches "Back", and if it does, you can use a Goto to send the task to a higher level menu's starting point.
Screenshots to help you set this up
Full album - http://imgur.com/a/3znC7 or see the screenshots individually below.
Example shot of parameters, return variable, and label. The next screenshot shows it coming back to this action if the user presses the Back button.
If-Else example, and nesting one menu inside another
More samples of what it looks like
Sample shot 1, %par2 being ignored as input
Sample shot 2
Sample shot 3
and finally, here's where I launch it from: Tasker drop down menu.
For bugs, etc, go ahead and whine in this thread.

Auto deleting notifications by phrases or keywords

Please advise tasker newbe about blocking/deleting unwanted notifications which contain defined phrases from any application (e.g. muting notifications about Google Play Framework missing (which is frozen)).
In other words, if any application displays its notification in the NotificationBar, and this notification has in its content any phrase from the list (defined somewhere by user before), then Tasker will remove this notification not to bother a user.
Probably it needs some variables:
- Notification ID
- Notification content
- List of phrases
In a profile there must be:
- Appearing a new notification
- In a loop, checking for every phrase if notification content holds it (grep ?),
- If it holds it then notification ID is written to variable and:
- Task is fired:
"close notification of given ID"
And how to code this into Tasker's language???
Please help in defining this, is it possible?
Look at AutoNotification. You can intercept other apps notifications and clear them.
Any possibility to code it in Linux style without third patty gui plugins? Anyway thank you!
pawwaap said:
Any possibility to code it in Linux style without third patty gui plugins? Anyway thank you!
Click to expand...
Click to collapse
Tasker can detect notifications, but can only read the title, I believe. It should also be able to clear them, though, I haven't look into it.
AutoNotification is better at handling notifications, that's for sure.
Yes, but maybe some text console Android system commands can read a notification content?
And also clear it, because can't find in Tasker any action of clearing a notification.
Tasker can do anything if you have sufficient knowledge. Learn how to create an app that does what AutoNotification does then use Tasker's intents/scripts to replicate it.
But then (and I say this a lot), why would you want the overhead of Tasker's framework? The whole point of plug-ins is to extend Tasker's capabilities.
And again, Automagic does it as easy as abc:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Please, seriously asking, how advantageous is Tasker over Automagic (excluding rubbish like ease of use, clear GUI etc)?
Different strokes for different folks
Please, seriously answer, probably there is some trade-off between ease of use and effectiveness, stability etc?
I like how Tasker reacts on "shake" trigger, there is possibility to accurate define what sort of shakes, in which axis (left-right, to&fro) etc.
Automagic fails do it in such nice way.

Tasker and Google Maps, action Tap, Done button ?

Hello guys. When google maps completes a trip it displays a completed trip splash screen where one has to click Done in order to continue. I do lots of trips and would like to automate this with tasker.
I would like to schedule a task that will execute click of Done at the end of the trip so maps can go to their default screen of showing your location. I do lots of trips and i find this splash screen unnecessary.
Most of the tutorials i found use time as variable but time will change all the time so can not use time and need to use some other variable. Not sure how to set this up especially the variables.
Anyone can help me out what actions to setup in Tasker in order to execute this after each trip completes? Thank you in advance.
Get AutoInput Tasker Plugin. Then create a Profile-->event-->Plugin-->AutoInput-->UI Update. Set it up using guides/tutorials to monitor Google Maps for that "Done" button to appear. Then for the task, use AutoInput to automatically tap the "Done" button for you.
Watch a bunch of tutorials about AutoInput....it is the key here.
Stupifier said:
Get AutoInput Tasker Plugin. Then create a Profile-->event-->Plugin-->AutoInput-->UI Update. Set it up using guides/tutorials to monitor Google Maps for that "Done" button to appear. Then for the task, use AutoInput to automatically tap the "Done" button for you.
Watch a bunch of tutorials about AutoInput....it is the key here.
Click to expand...
Click to collapse
Hi @Stupifier Thank you for that. I think i'm getting there but have last hurdle. One thing i'm uncertain now.
Do i choose for text YOU HAVE MADE or DONE ?
Should i check only clickable and "DONE" text and ONLY visable "YOU HAVE MADE IT" text ?
Anything for Variables ? After i create Profile and set all of that it won't let me complete without setting tasks. It want's to delete unfinished profile as no tasks have been set.
Here is the task / splash screen what i need to auto task / auto input. The automation of click "auto click" needs to be executed on Done button.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What to put in for Text. Do i choose for text YOU HAVE MADE or DONE ?
Should i check only clickable and "DONE" text and ONLY visable "YOU HAVE MADE IT" text ?
Tasker won't let me complete it without tasks setup. I thought autoinput would set this up based on what i inputed into fields in screenshot above. I guess tasks are still missing? Thoughts?

activate a activity when in location HELP

Hi everyone. I set up an activity that should be activated with the location via GPS and the network. however it does not work even if they are in the exact position. Could someone tell me if these functions on the position work immediately and with the screen off or is it useless that I continue to study? thank you
Yeah, it works. I use it every day.
Can you explain your profile? Maybe I can help.
aleavenger said:
Yeah, it works. I use it every day.
Can you explain your profile? Maybe I can help.
Click to expand...
Click to collapse
please help me:
i have the necessity to open google assistant and then play a media of a command with my voice. this when i arrive near my door elecric automatic that opens with a scene of IHC app (broadlink). i already tested the command and it works. now i set the tasker so:
in profiles i set position (network and gps) set at 30 mt. range.
in activity i set: open app (google assistant) and play media (my registration vocal)
when i execute the activity voices all work, but if i go near the door nothing execute.....
perhaps i wrong something, please can you help me step by step?
i hope and thank you
myabc said:
please help me:
i have the necessity to open google assistant and then play a media of a command with my voice. this when i arrive near my door elecric automatic that opens with a scene of IHC app (broadlink). i already tested the command and it works. now i set the tasker so:
in profiles i set position (network and gps) set at 30 mt. range.
in activity i set: open app (google assistant) and play media (my registration vocal)
when i execute the activity voices all work, but if i go near the door nothing execute.....
perhaps i wrong something, please can you help me step by step?
i hope and thank you
Click to expand...
Click to collapse
Tasker location is not precise like that, you can try a geofence with autolocation plug-in, but you can't make it precisely activate when you are near the door. And Tasker checks locations based in configuration (check in Tasker preferences, monitor: GPS check seconds and Network location check seconds).
In your situation a NFC trigger is better.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
aleavenger said:
Tasker location is not precise like that, you can try a geofence with autolocation plug-in, but you can't make it precisely activate when you are near the door. And Tasker checks locations based in configuration (check in Tasker preferences, monitor: GPS check seconds and Network location check seconds).
In your situation a NFC trigger is better.
Click to expand...
Click to collapse
NFC or auto barcode for that matter

Categories

Resources