The Vera Community forums have moved!

General => Remote Control => AutHomation (Android) => Topic started by: garrettwp on November 05, 2012, 01:16:56 am

Title: Tasker / Llama / NFC Integration
Post by: garrettwp on November 05, 2012, 01:16:56 am
Custom Intents to work with Tasker, Llama and NFC Tags:

   For an always updated list see this link: http://www.authomation.net/documentation/intent-usage

  * On / Off Binary Switch & Dimmable Light - authomation://device/VeraID/deviceID/[on|off]
    Example: To turn on binary light for device 8
        authomation://device/3123456/8/on

  * Dim Dimmable Light - authomation://device/VeraID/deviceID/dim/75
    Example: To dim dimmable light for device 8 to 75%
      authomation://device/3123456/8/dim/75

  * Lock / Unlock Locks - authomation://device/VeraID/deviceID/[lock|unlock]
    Example: To unlock door for lock device 23
      authomation://device/3123456/23/unlock

  * Arm / Bypass Security Sensors - authomation://device/VeraID/deviceID/[arm|bypass]
    Example: To set security sensor device 10 to bypass
      authomation://device/3123456/10/bypass

  * Toggle - authomation://device/VeraID/deviceID/toggle
    Example: To toggle binary light device 8
      authomation://device/3123456/8/toggle

  * Thermostat set point - authomation://device/VeraID/deviceID/[setPointCool|setPointHeat]/77
    Example: To set thermostat device 17 cool setpoint to 77
      authomation://device/3123456/17/setPointCool/77

  * Thermostat fan mode - authomation://device/VeraID/deviceID/[ContinuousOn|Auto]
    Exmaple: To set thermostat device 17 fan to Auto
      authomation://device/3123456/17/fanmode/Auto

  * Thermostat mode - authomation://device/VeraID/deviceID/[Off|CoolOn|HeatOn|AutoChangeOver]
    Example: To set thermostat device 17 to heating mode
      authomation://device/3123456/17/mode/HeatOn

  * Scene - authomation://scene/VeraID/sceneID
    Example: To run scene 33
      authomation://scene/3123456/33

  * Alarm Panel - authomation://device/VeraID/deviceID/alarm/[arm | disarm]/pinCode
    Example: To disarm alarm panel with device id of 31
      authomation://device/3123456/31/alarm/disarm/1234

  * AV - authomation://device/VeraID/deviceID/av/[command]
    Commands: [play | pause | stop | next | previous | rewind | fastforward | repeat | shuffle | vol | mute]
    Example:
      To set av with device id of 83 to play
        authomation://device/3123456/83/av/play

      To set av with device id of 83 to volume of 55 percent
        authomation://device/3123456/83/av/vol/55

      To set av with device id of 83 to mute on  or off
        Mute On:
        authomation://device/3123456/83/av/mute/1

        Mute Off:
        authomation://device/3123456/83/av/mute/0
   
Change VeraID to the id of your vera unit and deviceID to the ID of the device.


NFC Task Launcher App Instructions:

1. Launch NFC Task Launcher
2. Click the plus sign at the top right corner of the app.
3. Select either "New Task" or "New Switch" (if you want to toggle between actions).
4. Enter a tag name (can be anything you want to help identify the tag action).
5. Press the "Add actions" button.
6. Select "Applications & Shortcuts"
7. Select "URL" and click next.
8. Enter the authomation uri syntax. For a scene it would be authomation://scene/1234567/20
    Where 1234567 is the vera unit id and 20 is the scene number to run.
9. Press OK when done entering the uri in the dialog box.
10. Click on the "Save & Write" tag at the top right hand corner.
11. In the options section, uncheck write tag name. (This will free up some data to be written to the tag)
12. Place tag on the bottom of your phone and let the tag writer write to the tag.
13. Once the tag is written, you should be good to go and the tag should function as it should.

- Garrett
Title: Using AuthomationHD with Tasker
Post by: Dignan17 on November 05, 2012, 01:33:58 am
I thought I'd make a guide on how to use AuthomationHD with Tasker. There are alternatives to Tasker, but I've been using Tasker for years and I just like it. The following instructions were written with a newbie like me in mind. So without further ado, here we go.

There's a tiny bit of information you need to get up front. First do this:
Setting up Tasker to work with Authomation is very simple. Here are the instructions:
You're done! To test your new task, press it, then press the blue play button at the bottom-right of the window. The action should be performed. If it isn't, post to this thread and we'll see what's wrong. New users (like me) should note that the "device #" above is NOT the "ID" number you see on a device's settings page. That's a different number. You want the number in bold on that same screen.

From here, you can use this task like you'd use any other task in Tasker. On the Profiles tab you can set any conditions you can think of to activate your new tasks. You could set your lights to come on when your home wifi is detected. Stuff like that.


Now, lets do something else neat with this new task. Lets make shortcuts on your home screen!

The following instructions are for the stock launcher. I use Apex Pro, which makes this a little easier.
You should now have an icon on your home screen that will execute any device or scene in your AuthomationHD app. You could create an entire folder filled with these shortcuts to various tasks.

Using Tasker, you could really make your own scenes completely separately from Vera, though they'd only be on your phone. Of course, you can export Tasker tasks and import them into other instances of Tasker.


Please let me know if you have any questions about this stuff. I'm not a Tasker expert and I'm FAR from a Vera/AuthomationHD expert, that's for sure. I'm just someone who loves using whatever tool he can to accomplish the results he wants :D That said, many thanks to Garrett for the amazing work he's done with AuthomationHD. That's what made any of this possible, and he rocks.



Custom Intents to work with Tasker, Llama and NFC Tags:

  * On / Off Binary Switch & Dimmable Light - authomation://device/VeraID/deviceID/[on|off]
    Example: To turn on binary light for device 8
        authomation://device/3123456/8/on

  * Dim Dimmable Light - authomation://device/VeraID/deviceID/dim/75
    Example: To dim dimmable light for device 8 to 75%
      authomation://device/3123456/8/dim/75

  * Lock / Unlock Locks - authomation://device/VeraID/deviceID/[lock|unlock]
    Example: To unlock door for lock device 23
      authomation://device/3123456/23/unlock

  * Arm / Bypass Security Sensors - authomation://device/VeraID/deviceID/[arm|bypass]
    Example: To set security sensor device 10 to bypass
      authomation://device/3123456/10/bypass

  * Toggle - authomation://device/VeraID/deviceID/toggle
    Example: To toggle binary light device 8
      authomation://device/3123456/8/toggle

  * Thermostat set point - authomation://device/VeraID/deviceID/[setPointCool|setPointHeat]/77
    Example: To set thermostat device 17 cool setpoint to 77
      authomation://device/3123456/17/setPointCool/77

  * Thermostat fan mode - authomation://device/VeraID/deviceID/[ContinuousOn|Auto]
    Exmaple: To set thermostat device 17 fan to Auto
      authomation://device/3123456/17/fanmode/Auto

  * Thermostat mode - authomation://device/VeraID/deviceID/[Off|CoolOn|HeatOn|AutoChangeOver]
    Example: To set thermostat device 17 to heating mode
      authomation://device/3123456/17/mode/HeatOn

  * Scene - authomation://scene/VeraID/sceneID
    Example: To run scene 33
      authomation://scene/3123456/33
   
Change VeraID to the id of your vera unit and deviceID to the ID of the device.
Title: Re: Tasker / Llama / NFC Integration
Post by: bigmonkey70 on November 16, 2012, 02:07:05 pm
With Tasker, Does it has to be a certain version?  I am using 1.2.1u2 and it has no Send Intent ... So I use Action Intent ...
then follow Dignan17 instruction to the letter and when click the blue play button, Nothing happen.

I tried so many time .... And decided to try Llama ... and it work fine using the same action and data command ... so I know that the Vera ID and Device ID is correct.

Title: Re: Tasker / Llama / NFC Integration
Post by: Dignan17 on November 16, 2012, 11:09:53 pm
Is there a reason you're using that version? The one on my phone is 1.3.3u1m and that's what I get from Play.
Title: Re: Tasker / Llama / NFC Integration
Post by: lennier on November 18, 2012, 11:53:32 pm
I've tried using the syntax shown in the screenshots in this post http://forum.micasaverde.com/index.php/topic,11517.msg84232.html#msg84232 as well as the syntax listed above, but I'm having no luck getting llama to work with these intents. Any idea what I'm doing wrong? Documentation on llama intents seems thin on the ground from my searching.
Title: Re: Tasker / Llama / NFC Integration
Post by: lennier on November 19, 2012, 12:25:56 am
I've tried using the syntax shown in the screenshots in this post http://forum.micasaverde.com/index.php/topic,11517.msg84232.html#msg84232 as well as the syntax listed above, but I'm having no luck getting llama to work with these intents. Any idea what I'm doing wrong? Documentation on llama intents seems thin on the ground from my searching.

Doh, sorry. Just realised this functionality is still only in the 2.1 beta.
Title: Re: Tasker / Llama / NFC Integration
Post by: bigmonkey70 on November 28, 2012, 03:16:23 pm
is it possible to use tasker to

when you come home, execute scene to unlock door and turn on lights
When you leave home, excute scene to lock door and turn off lights

I did create a profile with wifi connected and add a task to execute a scene ...
but how do you create one for leaving home (i.e. wifi disconnected, etc) to execute a different scene?
Title: Re: Tasker / Llama / NFC Integration
Post by: Dignan17 on November 28, 2012, 04:37:13 pm
is it possible to use tasker to

when you come home, execute scene to unlock door and turn on lights
When you leave home, excute scene to lock door and turn off lights

I did create a profile with wifi connected and add a task to execute a scene ...
but how do you create one for leaving home (i.e. wifi disconnected, etc) to execute a different scene?
It's a little unintuitive, but I'm pretty sure you still go with "WiFi connected," but you check the "Invert" checkbox. I'm not positive as I haven't tied it, but I think that'll get you what you want.

As I'm sure that others around here will say, Llama might be better for this type of use, but Tasker should be fully capable of it too.
Title: Re: Tasker / Llama / NFC Integration
Post by: Chimpware on February 10, 2013, 07:40:28 am
Tried this with MFC Task Launcher and could not get it to work with my Nexus 4.  I tried a number of times with different devices just to achieve an on commend and no luck.  Copied syntax directly from we page and substituted my Vera ID and Device # and no luck.  Any ideas?

I am using a Nexus 4 on JB 4.2.1.
Title: Re: Tasker / Llama / NFC Integration
Post by: garrettwp on February 10, 2013, 07:47:29 am
Chimpware,

Are you using the beta version or the one from the market? Only the tasker integration is available in the current betas that you can download from this forum.

- Garrett
Title: Re: Tasker / Llama / NFC Integration
Post by: Chimpware on February 10, 2013, 09:08:49 am
Chimpware,

Are you using the beta version or the one from the market? Only the tasker integration is available in the current betas that you can download from this forum.

- Garrett

Suppose I should have read things better...

Of course I am using the market non-Beta version  ;D

Thanks.
Title: Re: Tasker / Llama / NFC Integration
Post by: garrettwp on February 10, 2013, 10:47:10 am
Give the beta a try. It's much better than the market version.

- Garrett
Title: Re: Tasker / Llama / NFC Integration
Post by: woodchild on February 20, 2013, 03:42:58 am
I am exploring NFC functionality and just downloaded NFC task launcher 4.2.3(198) and Tasker version 1.3.3u2m. and have been usingAuthomation 2.0.3.1 for quite some times.

I have followed the steps given in NFC task launcher and it did not work. the same goes to if I configure it in Tasker.

what am I going wrong here? so Tasker 2.1 beta version is needed? if this is the case it means I cant run directly in NFC task laucher without involve of Tasker?

and where can i get the beta version as I am not able to locate it anywhere.

thanks
Title: Re: Tasker / Llama / NFC Integration
Post by: garrettwp on February 20, 2013, 03:58:06 am
The beta version is required as the app store version does not have this functionality. You can find the beta version in this sub-forum (AutHomation) at the top as it is marked as a sticky post.

http://forum.micasaverde.com/index.php/topic,11517.0.html

- Garrett
Title: Re: Tasker / Llama / NFC Integration
Post by: garrettwp on February 20, 2013, 08:55:40 am
Woodchild,

I moved this topic to the following:

http://forum.micasaverde.com/index.php/topic,11517.270.html

- Garrett
Title: Re: Tasker / Llama / NFC Integration
Post by: S-F on March 26, 2013, 01:45:36 pm
Yep. I've now got Tasker setup to lock my door when I leave the house. It took hours of my time to get even this far.

Now on to fry bigger fish. Is there a way to control Tasker from Vera? For example it would be nice to have Vera turn the ringer on my phone off when I'm in bed.
Title: Re: Tasker / Llama / NFC Integration
Post by: Ric on March 28, 2013, 02:45:19 pm
I have Tasker informing Vera when i'm in bed.
Top floor wifi and charging = switching a virtuel switch in Vera and let pleg do the rest.

I guess you could use "Vera Alerts" and use different notifications for different profiles in Tasker.
For profile use:
Event>UI>Notification / select "Vera Alerts" and State>Variables>Variables Value / name %NTITLE / matches / and in Value use the same phrase you are sending from the "Vera Alerts" in Vera.


Is it possible to make AutHomation work as a plugin to tasker and maybe have feedback to tasker?
Title: Re: Tasker / Llama / NFC Integration
Post by: garrettwp on April 02, 2013, 12:00:55 pm
I have Tasker informing Vera when i'm in bed.
Top floor wifi and charging = switching a virtuel switch in Vera and let pleg do the rest.

I guess you could use "Vera Alerts" and use different notifications for different profiles in Tasker.
For profile use:
Event>UI>Notification / select "Vera Alerts" and State>Variables>Variables Value / name %NTITLE / matches / and in Value use the same phrase you are sending from the "Vera Alerts" in Vera.


Is it possible to make AutHomation work as a plugin to tasker and maybe have feedback to tasker?

Since I do not use Tasker, this would not be high priority for me. My time is also very limited right now. Most of the controls are exposed via the intents provided in the thread for use with Tasker and Llama. It may require a little more work on your end, but should be enough for integration into these apps.

- Garrett
Title: Re: Tasker / Llama / NFC Integration
Post by: S-F on April 10, 2013, 05:22:23 pm
NFC Task Launcher was updated today and I think there is now an issue with how it works with AutHomation. Whenever I try to run a scene via an NFC tag NFC Task Launcher crashes.

EDIT:

It appears to be an issue with NFC Task Launcher and the developer has promised that there is a new version hitting the market soon which will address the issue.
Title: Re: Tasker / Llama / NFC Integration
Post by: ChrisAZ on April 23, 2013, 11:32:17 pm
I'm trying to use the binary switch intent to change a virtual switch, but it's not working. I'm able to get the intents to change actual devices without issue, but no luck on my virtual switch. Is this a known limitation, or am I doing something wrong?
Title: Re: Tasker / Llama / NFC Integration
Post by: garrettwp on April 24, 2013, 01:22:01 am
I havent added support for the virtual switch for the intents. The virtual switch uses a different device type than the binary switch. I'll try and get this added in the next beta release.

- Garrett
Title: Re: Tasker / Llama / NFC Integration
Post by: Ric on April 24, 2013, 05:01:14 am
I have tasker changing 4 Virtual ON/OFF Switches without any problems.
Title: Re: Tasker / Llama / NFC Integration
Post by: garrettwp on April 24, 2013, 05:10:14 am
You are correct, I just checked the code and it is in there. I got mixed up and was referring that the virtual switch function is not yet implemented into the voice recognition part. To issue an intent for the virtual switch, you'll need to use the following:

For on:
authomation://device/vera_serial/device_id/on

For off:
authomation://device/vera_serial/device_id/off

This will work with devices that have a device type of "BinaryLight:1", "DimmableLight:1", or "VSwitch:1".

- Garrett
Title: Re: Tasker / Llama / NFC Integration
Post by: ChrisAZ on April 24, 2013, 10:14:34 am
Turns out it is an issue with NFC Task Launcher. If you have the "open in background" option checked when you create a task calling a URL, it won't execute properly. Once I recreated the task with that unchecked, it worked fine.

Title: Re: Tasker / Llama / NFC Integration
Post by: garrettwp on April 24, 2013, 10:20:51 am
Glad to hear it is working for you.

- Garrett

Title: Re: Tasker / Llama / NFC Integration
Post by: Ric on April 24, 2013, 01:11:30 pm
Tasker is a fantastic Android app. The only problem is to figure out what to do with it.

Here is my setup with Tasker, AutHomation and the Vera plugin PLEG. http://forum.micasaverde.com/index.php/board,48.0.html (http://forum.micasaverde.com/index.php/board,48.0.html)

I have 2 Tasker profiles for controlling 2 virtuel switches (per phone) in Vera with AutHomation intents:
Home. Changes the "Rhome" switch when the phone is connected to my home wifi ssid + changes phone sound level and switches pattern lock off.
Bed. Changes the "Rbed" switch when connected to my top floor wifi bssid and to the phone charger + puts the phone in silent.

In PLEG I have a couple of conditions:
Lights out = (ABed or ANotHome) and (RNotHome or RBed)
Outside Light = ((tNight; RHome) or (tNight; AHome)) and tNight
Welcome home light = (LivingFree; OutsideLight; FrontDoorOpen) and LivingFree and OutsideLight
LivingFree = ABed or ANotHome or RBed or ANotHome       (Needed for the prevues condition so lights only come on if the lower floor is unoccupied)


Its not perfect but its working. I hope someone else also have some nice profiles/ideas to share.
Automated phone, automated house.
Title: Re: Tasker / Llama / NFC Integration
Post by: silencery on May 06, 2013, 07:27:42 pm
Ric,

That's a great idea.  Thanks for sharing. 

Just one question if you don't mind: how do you use tasker to determine if you're home or not?  Is there a transparent method?  I'm using wifi signals, but I find it's not accurate since our phones go into sleep mode often enough to trigger the "away" switch. 

I'm thinking about using NFC tags at the door, but this really kills the convenience since the phone has to be on and unlocked in order for the scan to work.

I've considered using cell towers, but there are plenty of times when we're out walking in the neighborhood (and away from the house), so it may not be precise enough.
Title: Re: Tasker / Llama / NFC Integration
Post by: silencery on May 08, 2013, 02:53:25 pm
Just curious.  Is it possible to have vera communicate the other way?  I.E. send intents to tasker on scene trigger such as a motion sensor tripping or temperature reaching a certain degree?
Title: Re: Tasker / Llama / NFC Integration
Post by: Ric on May 08, 2013, 04:11:53 pm
Yes I use State / WiFi connected but you need to go in to setting (of android), Wifi and advanced wifi settings, select "always" in the "keep Wi-Fi on during sleep" (it actually saves you battery when connected to wifi).
The home enter task consists of: stop task home exit, wait 10 seconds and then send intent.
The home exit task: wait 5 minuts, send intent if profile home not active.
This works with switching between my 2 wifi access points.

The other way is possible if you have the "Vera alerts" app and let Tasker decode its notification to tasks.
Title: Re: Tasker / Llama / NFC Integration
Post by: S-F on May 08, 2013, 04:42:10 pm

The other way is possible if you have the "Vera alerts" app and let Tasker decode its notification to tasks.

Could you please elaborate on how to do this?
Title: Re: Tasker / Llama / NFC Integration
Post by: Ric on May 09, 2013, 02:01:15 am
Install Vera Alerts on the Vera and on the phone and set it up to work.
In android settings go to accessibility and switch Tasker to on (this makes Tasker able to read notifications).
Make a new profile with Event / UI / Notification and select owner application Vera Alerts.
In the enter task select you action, for example "silent mode off" select "if" and put in %NTITLE ~ *unmute*
Now Tasker will perform the action when you send  a message with the keyword unmute in from Vera via Vera Alerts.
Continue add actions of choice in the enter task with different "ifs" and keywords.
Order doesn't matter, Tasker will not perform the action if the "if" keyword doesn't match and will continue down the list of actions.

Title: Re: Tasker / Llama / NFC Integration
Post by: RichardTSchaefer on May 09, 2013, 11:37:30 am
@Ric
Thanks for the info ... I was wondering why I had not previously been asked to integrate Vera Alerts and Tasker.
Title: Re: Tasker / Llama / NFC Integration
Post by: S-F on May 09, 2013, 02:14:58 pm
@Ric
Thanks for the info ... I was wondering why I had not previously been asked to integrate Vera Alerts and Tasker.

Haven't I requested this? Getting my phone to tell Vera Alerts who's calling would be fantastic!
Title: Re: Tasker / Llama / NFC Integration
Post by: RichardTSchaefer on May 09, 2013, 04:33:03 pm
I think it would be a stretch to have a phone call detected by Tasker to send an alert to Vera Alerts with the CallerID ... so that it's Text to Voice ... option would announce the CallerID.

Maybe there is already a TTS application that you can use.

Title: Re: Tasker / Llama / NFC Integration
Post by: S-F on May 09, 2013, 06:48:36 pm
There's plenty of examples out there of people using Tasker to announce caller ID. Am I correct in saying that any output Tasker could give to Vera Alerts would be useless in creating on the fly notifications? What if I had triggers set up for all of my contacts with unique messages? The reason I want to use Vera Alerts as opposed to one of the many solutions for getting Android phones to speak caller id is that I don't use the cell phone much while at home and I would like announcements over my Vera Alerts general home speaker setup. Both phones have the same number.

This is in wrong forum. Could a mod please peel it off to a new thread in the Vera Alerts forum please?
Title: Re: Tasker / Llama / NFC Integration
Post by: Ric on May 10, 2013, 03:37:13 am
Sins Vera Alerts is only vera to phone? You can use AutoRemote and tasker to send messages between your devices and have it Text To Speech.
https://play.google.com/store/apps/details?id=com.joaomgcd.autoremote.lite (https://play.google.com/store/apps/details?id=com.joaomgcd.autoremote.lite)
I use tasker and ivona to read my gtalk, sms and whatsapp when im home or in the car. Haven't tired AutoRemote yet just read about it.
Title: Re: Tasker / Llama / NFC Integration
Post by: svtech on May 11, 2013, 06:19:47 pm
I have followed the instructions for setting up Tasker/Autohomation to the letter, but I think I must be missing some important first step.  Authomation is setup and working on 2 android devices.  I have changed the device ID to my own (3000XXXX), and I have looked up the device number of the device I want to control (Device #7, my office light (double checked - the ID is 5, device is 7 in bold on the setting page)).  I have checked the settings and syntax at least 5 times, so I know it is correct.

Action: android.intent.action.VIEW
Data: authomation://device/3000MINE/7/on
Target: Activity

When I push the "play" icon, nothing happens, even though I am able to control the light fine in the Authomation app.

Is it that I am running a newer version of Tasker?  (I do not have the blue check mark button - instead I click the upper left hand button)

Is it that I need some kind of plugin for Taker for Authomation that is not listed in the newbie instructions?

Thanks in advance, and sorry for the newb question, I am just at a point that I cannot figure it out....
Title: Re: Tasker / Llama / NFC Integration
Post by: S-F on May 11, 2013, 06:29:05 pm
I'm not exactly clear on what you mean by "3000MINE".

Let us say the number of your Vera is 51638.

Then the command would be "authomation://device/51638/7/on"

Yes recently Tasker had a bit of an overhaul done to the UI.

There is not plugin needed for Tasker. I'm sure there's some simple error that you'll iron out in time.
Title: Re: Tasker / Llama / NFC Integration
Post by: garrettwp on May 11, 2013, 06:46:56 pm
svtech,

Which version of the app are you using? Are you using the one from the play store or the current beta? This will only work with the beta version of AutHomationHD found here on the forum. I will be releasing an official version of the app very soon to the play market.

- Garrett
Title: Re: Tasker / Llama / NFC Integration
Post by: svtech on May 11, 2013, 08:04:48 pm
Garrett, that was the issue, I was running the version from the Market.  Once I loaded the app from the link in your other thread, it worked perfectly.  Thank you very much for the app and the response!
Title: Re: Tasker / Llama / NFC Integration
Post by: dkc on May 12, 2013, 01:44:06 am
The easiest way to utilize AutHomationHD within Tasker is by using the AutoShortcut plugin for Tasker. It provides direct access to the GUI for selecting home screen shortcuts. No URLs or device numbers to manage.

Play Store link here: https://play.google.com/store/apps/details?id=com.joaomgcd.autoshortcut

Garrett, consider adding this information to the top post in this thread. This plugin makes automating with Tasker, and NFC Task Launcher, exponentially easier.
Title: Re: Tasker / Llama / NFC Integration
Post by: S-F on May 12, 2013, 09:12:55 am
The easiest way to utilize AutHomationHD within Tasker is by using the AutoShortcut plugin for Tasker. It provides direct access to the GUI for selecting home screen shortcuts. No URLs or device numbers to manage.



Could you please elaborate on this? For example, what do you mean by "home screen"?
Title: Re: Tasker / Llama / NFC Integration
Post by: garrettwp on May 12, 2013, 09:20:41 am
He is referring to the home screen shortcuts that can be created. For example you can create a shortcut to unlock a door, turn on a light, etc. This is found in the widget section of android.

- Garrett
Title: Re: Tasker / Llama / NFC Integration
Post by: S-F on May 17, 2013, 09:42:16 pm
Has anyone been able to get tasker to respond to vera alerts messages? I have set up everything as described to no avail.
Title: Re: Tasker / Llama / NFC Integration
Post by: baxy_AU on May 18, 2013, 01:55:49 am
Has anyone been able to get tasker to respond to vera alerts messages? I have set up everything as described to no avail.
This thread is about authomation and tasker....for Vera alerts questions try asking in the Vera alerts section of the forum
Title: Re: Tasker / Llama / NFC Integration
Post by: Ric on May 18, 2013, 05:26:41 am
S-F.
Mine is working fine.
Did you switch on the accessibility on and use * in front and back of word in tasker (otherwise you need to split the message and thats another story).

Code: [Select]
<TaskerData sr="" dvi="1" tv="4.0u2m">
<Profile sr="prof47" ve="2">
<cdate>1361887877234</cdate>
<edate>1368871313668</edate>
<id>47</id>
<mid0>6</mid0>
<nme>Vera</nme>
<Event sr="con0" ve="2">
<code>461</code>
<App sr="arg0">
<appClass>com.rtsservices.veraalerts.activities.Notifications</appClass>
<appPkg>com.rtsservices.veraalerts</appPkg>
<label>Vera Alerts</label>
</App>
<Str sr="arg1" ve="3"/>
</Event>
</Profile>
<Task sr="task6">
<cdate>1368078425648</cdate>
<edate>1368868628086</edate>
<id>6</id>
<nme>Vera Task</nme>
<Action sr="act0" ve="3">
<code>310</code>
<lhs>%NTITLE</lhs>
<op>1</op>
<rhs>*unmute*</rhs>
<Int sr="arg0" val="2"/>
</Action>
</Task>
</TaskerData>

baxy_AU.
Is there any meaning to write in a thread when you have nothing to say about the subject and the ongoing discussion?
Title: Re: Tasker / Llama / NFC Integration
Post by: garrettwp on May 18, 2013, 06:49:50 am
Baxy_au is correct. I'm mobile right now but this thread has gone off topic and I'll attempt to more it into the veralerts section later. This threads meant for tasker integration with my app.

- Garrett

Title: Re: Tasker / Llama / NFC Integration
Post by: baxy_AU on May 18, 2013, 08:49:58 am
S-F.
Mine is working fine.
Did you switch on the accessibility on and use * in front and back of word in tasker (otherwise you need to split the message and thats another story).

Code: [Select]
<TaskerData sr="" dvi="1" tv="4.0u2m">
<Profile sr="prof47" ve="2">
<cdate>1361887877234</cdate>
<edate>1368871313668</edate>
<id>47</id>
<mid0>6</mid0>
<nme>Vera</nme>
<Event sr="con0" ve="2">
<code>461</code>
<App sr="arg0">
<appClass>com.rtsservices.veraalerts.activities.Notifications</appClass>
<appPkg>com.rtsservices.veraalerts</appPkg>
<label>Vera Alerts</label>
</App>
<Str sr="arg1" ve="3"/>
</Event>
</Profile>
<Task sr="task6">
<cdate>1368078425648</cdate>
<edate>1368868628086</edate>
<id>6</id>
<nme>Vera Task</nme>
<Action sr="act0" ve="3">
<code>310</code>
<lhs>%NTITLE</lhs>
<op>1</op>
<rhs>*unmute*</rhs>
<Int sr="arg0" val="2"/>
</Action>
</Task>
</TaskerData>

baxy_AU.
Is there any meaning to write in a thread when you have nothing to say about the subject and the ongoing discussion?
My "meaning" was to suggest asking (and looking) in the appropriate place if you want an informed answer to your problem
Title: Re: Tasker / Llama / NFC Integration
Post by: qpcharry on May 24, 2013, 05:48:07 pm
Hi All

How secure are nfcs? Let's assume I have done automation - unlock my main door using nfc. Now its just my phone which can run that scne or scene  or who so ever have a nfc enabled phone can do it. If anybody who has nfc enabled phone is able to do it then how can I make it more secure.
Title: Re: Tasker / Llama / NFC Integration
Post by: S-F on May 24, 2013, 05:58:02 pm
Only if they have AutHomation connected to your Vera. They'd need you user name, password,  etc.
Title: Re: Tasker / Llama / NFC Integration
Post by: garrettwp on May 24, 2013, 07:39:51 pm
The nfc tag only stores the intent (special url) to tell my app what to do. You would need my app installed and configured for your vera. All credentials are handled in the app.

- Garrett

Title: Re: Tasker / Llama / NFC Integration
Post by: silencery on May 28, 2013, 08:07:28 pm
Just wanted to add another dimension of tasker integration.  If you need tasker to read the current status of a device on your Vera network and have tasker respond accordingly, this can be done by sending a JSON request to vera.  You can use the following steps:

1. Create a new profile in Tasker (i.e. NFC tag scanned, GPS location reached, bluetooth connected, widget pushed, whatever you want to use as a trigger).
2. In tasker, create a new matching task for your new profile.
2. Add Action (click the + sign) -> Net -> HTTP Get
3. Under the Server:Port field, add in the URL for your device status request:
4. Under mime type, select "text/plain"
5. The response from this HTTP request is automatically exposed to tasker as "%HTTPD"
6. You can write tasks based on the state of the %HTTPD variable. In my case, this example task polls vera and check the status of the alarm before performing any actions.  For instance, if it's "ARMED," tasker will disarm the alarm and include a verbal confirmation.  If it's "READY," tasker will report accordingly and ask me if i want to arm the house.

A few caveats and suggestions:
Title: Re: Tasker / Llama / NFC Integration
Post by: Robjsewell on June 27, 2013, 07:04:29 pm
I'm totally new to this but loving the great features provided, thank you. I am running a Note 2 with Authomation HD and just downloaded Tasker. I'm trying to set up a location based activity to run a Vera scene when I leave home, and another when I arrive. Ideally I'd like to detect either location or loss of my wifi signal to trigger it, whichever is better for my battery. I note from reading others posts that there was some sort of invert switch for locations in Tasker, but I can't find it in the version I downloaded last night. Could someone be kind enough to outline the steps please? I've made it work using GPS for arriving home, but if there is no opposite of this then I will need multiple activities depending which way I turn out of my front gate!

Many thanks, R.
Title: Re: Tasker / Llama / NFC Integration
Post by: S-F on June 27, 2013, 08:06:21 pm
For the Home/Away stuff I have one profile in Tasker with an exit scene and I use GPS location for it. Note 2 user here too! I always have GPS turned on since the battery on this phone isn't phased by a day with it turned on. Loss of WiFi isn't as good as GPS because I can loose connection (albeit rarely) in my yard. I have he phone turn WiFi on when I get home (or work, or friends houses and so on) and it turns it off and locks my door when I leave. The catch is that the GPS coordinates aren't updated constantly unless you are actively using a location tool such as a navigation app so there is usually a delay on the order of 10 seconds to two minutes. I have it set so it turns the WiFi on 2 minutes after getting home because several times I had the connection switch as I was trying to use an NFC tag to open my door and it failed. I have a tag on the side of my house that I can touch my phone to as I walk to the door to unlock a Schlage lock for me bypassing the need to enter my code. Also if you make the radius of your location too small it can pose problems for the above reason of delays in updating location.
Title: Re: Tasker / Llama / NFC Integration
Post by: Robjsewell on June 27, 2013, 10:51:33 pm
Thanks S-F for the advice, I will do this the same way I think. However, my question is sort of the opposite - how do I detect that I am no longer at a location, as in leaving, in Tasker? Right now I have it set so that when I reach my home location (200m radius) my "Alarm Off" scene runs via Authomation/Vera3, and I plan to add to that for my Schlage door lock (do we live in the same house?!) and the aircon as well. I'm also looking to control my hot water cylinder so that it isn't keeping the water too hot while I'm at work. So, the question is, how do I make Tasker trigger on "no longer at this location" rather than "now arriving at this location"?

Many thanks.
Title: Re: Tasker / Llama / NFC Integration
Post by: S-F on June 28, 2013, 08:19:10 am
Like I said, I have an "Exit Scene" for my Home profile which locks the door and turns the WiFi off on the phone.
Title: Re: Tasker / Llama / NFC Integration
Post by: shicks3 on June 28, 2013, 10:02:08 am
  • Since your vera login is passed through the URL, there are high security risks. Make sure you understand this before proceeding. If absolutely necessary, it would be a good idea to at least create restricted logins for this purpose (I'm not positive, but I believe this method is how forwarding is handled by most mobile Vera apps?).

Would anyone like to comment on this?  I developed a personal website which monitors everything in the house as reported by vera with realtime changes.  Upon each change, vera sends a nugget to the website and there are no security issues (no getting into vera).

But, of course, now I would like to cause changes too.  Trying to figure the best way to communicate back to vera.   I suppose using back-end server calls to vera will keep things less exposed but am wondering about the username/password being in the http command.

How DO the apps do it? 

Thanks for any help and ideas!!
Title: Re: Tasker / Llama / NFC Integration
Post by: garrettwp on June 28, 2013, 10:51:06 am
Https is used when calling the mios forward servers. When passed the user name and password via https, anything after fwdX.mios.com/ is encrypted.

- Garrett

Title: Re: Tasker / Llama / NFC Integration
Post by: shicks3 on June 28, 2013, 10:59:48 am
Garrett - Yes, I just saw the https in the data_request command above.  Thanks for the reply.

Would you know what the command is to cause a change (set a variable, call a function)?   Maybe an example https ?

Thanks again for everyone's help!!!

Scott
Title: Re: Tasker / Llama / NFC Integration
Post by: Robjsewell on June 29, 2013, 12:25:59 am
Sorry S-F I realize you have an exit scene but I don't know what you mean by that! I can have scenes in MIOS and in Tasker, although I can't for the life of me see what to do with Tasker ones, they appear more visual than anything else as far as I can see. So I too have an exit scene on MIOS, which sets the sensors to armed, locks the door, turns off the lights etc. That's all good, what I don't get is how Tasker notices that I have left my home location so that I can tell it how to get Authomation to execute the scene on my Vera3/MIOS. I read elsewhere on the forums that in an older version of Tasker the location function had an invert tick box which meant something like "when not at this location". I can't find that in the latest version of Tasker, so I'm asking how can I tell it to notice that I've left home? All I can see right now is to set three new locations on the East, North and South routes out of my front gate so that when I hit any of them the MIOS scene is executed, but that doesn't feel very clever to me. It's just that one thing I'm stuck on, how to instruct Tasker to do something when I leave a location rather than arrive at it. Thanks again.
Title: Re: Tasker / Llama / NFC Integration
Post by: Robjsewell on June 29, 2013, 02:04:06 am
OK so with help from an Android forum I got it working. Posting here to try to help others! In the latest Tasker, you have to hold down on the profile name to get a pop up box that says add exit task. Then you can create a new task that is triggered when you leave that location. Maybe this technique is obvious to Android users, but I like my software intuitive, and that wasn't. Great stuff though, and credit to Garrett for Automation. I can now link all my Z-Wave devices including Philips Hue lighting and automate them according to events on my phone. If you're eavesdropping Garrett an iPad version of Authomation would be great, when you have a few spare months that is!

Also if you haven't heard but this topic interests you, try ifttt.com, recently launched and simple enough even for me...
Title: Re: Tasker / Llama / NFC Integration
Post by: S-F on June 29, 2013, 09:49:28 am
Yes sorry about the confusion.  It is exit task not scene and you did indeed hit the nail on the head. It took me some time to figure that one out also. Glad you got it working. Tasker + AutHomation is awesome, huh?
Title: Re: Tasker / Llama / NFC Integration
Post by: Robjsewell on June 29, 2013, 05:49:46 pm
Yep, Philips Hue too, they have added Geofencing in three tick boxes - turn lights on when I arrive home - tick, only if it's dark - tick, turn them off when I leave - tick. Hopefully they will add more features over time. The bulbs and controller work globally on any voltage or frequency, despite what they say. I run on 240v and 50Hz. The ifttt.com website allows me to choose a signal bulb which slowly changes colour if, for example a new email arrives, or to turn blue if rain is forecast. Worth a look. Thanks for your help.
Title: Re: Tasker / Llama / NFC Integration
Post by: Tim Schuhmacher on July 18, 2013, 05:49:31 pm
I would like to use Utter! in combination with AutHomation, but it has no 'global' intent option. It provides a list with the intents (activities?) off all installed apps, where AutHomation has the intent 'activate' which is, I think, the most logical candidate. With long press you get extra fields to fill in, named 'Optional action' and 2 'Optional data'.

How can I activate a scene using Utter!
https://play.google.com/store/apps/details?id=com.brandall.nutter
Title: Re: Tasker / Llama / NFC Integration
Post by: lammy on August 20, 2013, 04:28:32 pm
im trying to use the voice recognition feature of authomationHD in the same way that everybody seems to be using the google now/autoshare method (obviously without using autoshare interceptor). does anybody know how this can be achieved?

for example, i want to say "home, turn lounge lights on" where "home" triggers app and i can use "%avcommnofilter" to fill in the desired action, instead of using 2 steps ("home" trigger to in-app recognition, the pause, then saying action)
Title: Re: Tasker / Llama / NFC Integration
Post by: Shaigan on August 20, 2013, 04:35:08 pm
I use secure setting to intercept the google now shortcut
Title: Re: Tasker / Llama / NFC Integration
Post by: aaron.lrm on September 06, 2013, 10:33:36 am
For awhile I have been using Tasker to turn on my kitchen light when I get home (based on wifi). My next project is to control my garage door opener, and I'd like to have a profile in Tasker that will open the door automatically when I get home just like the kitchen light. Instead of setting up a scene to do both at once, I want to set that up as a separate profile but that will be triggered at the same time. That way if things aren't going as planned with the garage door I can just turn that profile off. I wasn't sure if I could have two separate tasks calling AutHomation at once though so I decided to test this with two tasks turning on two lights. So far, it hasn't worked.

Here's what I have done - I have two profiles in Tasker that activate at the same time. The task for the first is Light 1 and the task for the second is Light 2. So far only one works, even though it shows both profiles are active. Since the action for both tasks is the AutHomation plugin, I set collision handling to run both together. (By default it is abort task). That had no effect. Next, I tried to add a delay. For one task I told it to wait 1 second and that was the first action in the list, followed by AutHomation turning a light on. Still not working. I also combined both actions in to one task just to see what would happen and still only one worked.

When I check each task and hit "play" they work. But when both profiles activate at the same time, only one of the two tasks runs. Any ideas? Hopefully something simple I overlooked.
Title: Re: Tasker / Llama / NFC Integration
Post by: Aaron on September 11, 2013, 09:05:10 pm
Garrett,
Can you automate/integrate the below method?  Just like you have with the Tasks portion... point and choose :)

I know it can be done with Tasker since AutoVera does it. Otherwise, this is a PITA to put in using small onscreen keyboard! Too much when you are doing several Profiles.

Just wanted to add another dimension of tasker integration.  If you need tasker to read the current status of a device on your Vera network and have tasker respond accordingly, this can be done by sending a JSON request to vera.  You can use the following steps:

1. Create a new profile in Tasker (i.e. NFC tag scanned, GPS location reached, bluetooth connected, widget pushed, whatever you want to use as a trigger).
2. In tasker, create a new matching task for your new profile.
2. Add Action (click the + sign) -> Net -> HTTP Get
3. Under the Server:Port field, add in the URL for your device status request:
  • Example to retrieve the status of a DSC Alarm: https://fwd5.mios.com/USERNAME/PASSWORD/VERA_SERIAL/data_request?id=variableget&DeviceNum=DEVICEID&serviceId=urn:micasaverde-com:serviceId:AlarmPartition2&Variable=DetailedArmMode
  • The example above forwards through the MCV servers and requests the status of an alarm system. It's a good idea to test the URL is working in your browser as expected before proceeding. In this case, it should show ready, exitdelay, or armed, etc.
  • USERNAME/PASSWORD: Vera username/password
  • [VERA_SERIAL]: Vera serial found in UI5 under account -> tech support tab
  • [DEVICE_ID]: Vera Device ID for the item you want to view status on.  Found under the advanced tab of each individual vera device.
  • Make sure to include the appropriate serviceid and the variable you want information on for each device.  You can find serviceid information by visiting the following URL: http://LOCAL_VERA_IP:3480/data_request?id=status&output_format=xml&DeviceNum=DEVICE_ID
4. Under mime type, select "text/plain"
5. The response from this HTTP request is automatically exposed to tasker as "%HTTPD"
6. You can write tasks based on the state of the %HTTPD variable. In my case, this example task polls vera and check the status of the alarm before performing any actions.  For instance, if it's "ARMED," tasker will disarm the alarm and include a verbal confirmation.  If it's "READY," tasker will report accordingly and ask me if i want to arm the house.

A few caveats and suggestions:
  • Since your vera login is passed through the URL, there are high security risks. Make sure you understand this before proceeding. If absolutely necessary, it would be a good idea to at least create restricted logins for this purpose (I'm not positive, but I believe this method is how forwarding is handled by most mobile Vera apps?).
  • If you can, a better method would be to use a VPN into your vera site location and use the local URL command instead
  • Here is the equivalent local URL for the above JSON query: http://LOCAL_VERA_IP:3480/data_request?id=variableget&DeviceNum=DEVICEID&serviceId=urn:micasaverde-com:serviceId:AlarmPartition2&Variable=DetailedArmMode
  • If you are using if/case statements to process the command, don't forget to add an exit condition in case you cannot poll vera for any reason.
Title: Re: Tasker / Llama / NFC Integration
Post by: garrettwp on September 15, 2013, 11:24:40 am
Garrett,
Can you automate/integrate the below method?  Just like you have with the Tasks portion... point and choose :)

I know it can be done with Tasker since AutoVera does it. Otherwise, this is a PITA to put in using small onscreen keyboard! Too much when you are doing several Profiles.

Just wanted to add another dimension of tasker integration.  If you need tasker to read the current status of a device on your Vera network and have tasker respond accordingly, this can be done by sending a JSON request to vera.  You can use the following steps:

1. Create a new profile in Tasker (i.e. NFC tag scanned, GPS location reached, bluetooth connected, widget pushed, whatever you want to use as a trigger).
2. In tasker, create a new matching task for your new profile.
2. Add Action (click the + sign) -> Net -> HTTP Get
3. Under the Server:Port field, add in the URL for your device status request:
  • Example to retrieve the status of a DSC Alarm: https://fwd5.mios.com/USERNAME/PASSWORD/VERA_SERIAL/data_request?id=variableget&DeviceNum=DEVICEID&serviceId=urn:micasaverde-com:serviceId:AlarmPartition2&Variable=DetailedArmMode
  • The example above forwards through the MCV servers and requests the status of an alarm system. It's a good idea to test the URL is working in your browser as expected before proceeding. In this case, it should show ready, exitdelay, or armed, etc.
  • USERNAME/PASSWORD: Vera username/password
  • [VERA_SERIAL]: Vera serial found in UI5 under account -> tech support tab
  • [DEVICE_ID]: Vera Device ID for the item you want to view status on.  Found under the advanced tab of each individual vera device.
  • Make sure to include the appropriate serviceid and the variable you want information on for each device.  You can find serviceid information by visiting the following URL: http://LOCAL_VERA_IP:3480/data_request?id=status&output_format=xml&DeviceNum=DEVICE_ID
4. Under mime type, select "text/plain"
5. The response from this HTTP request is automatically exposed to tasker as "%HTTPD"
6. You can write tasks based on the state of the %HTTPD variable. In my case, this example task polls vera and check the status of the alarm before performing any actions.  For instance, if it's "ARMED," tasker will disarm the alarm and include a verbal confirmation.  If it's "READY," tasker will report accordingly and ask me if i want to arm the house.

A few caveats and suggestions:
  • Since your vera login is passed through the URL, there are high security risks. Make sure you understand this before proceeding. If absolutely necessary, it would be a good idea to at least create restricted logins for this purpose (I'm not positive, but I believe this method is how forwarding is handled by most mobile Vera apps?).
  • If you can, a better method would be to use a VPN into your vera site location and use the local URL command instead
  • Here is the equivalent local URL for the above JSON query: http://LOCAL_VERA_IP:3480/data_request?id=variableget&DeviceNum=DEVICEID&serviceId=urn:micasaverde-com:serviceId:AlarmPartition2&Variable=DetailedArmMode
  • If you are using if/case statements to process the command, don't forget to add an exit condition in case you cannot poll vera for any reason.

I'll look at adding the ability to retrieve information of a device via Tasker. This will require some work and time. Not sure when I will get this added. The only drawback would be that this will be dependent on the data that AutHomation has. So if you require realtime data, you'll have to mess with the background polling of the data for the app when the app is not running. It is currently set to 30 minutes. I would not go any lower than 5 minutes to not drain the battery.

- Garrett
Title: Re: Tasker / Llama / NFC Integration
Post by: jvrobert on October 04, 2013, 08:16:55 pm
Garrett,
Can you automate/integrate the below method?  Just like you have with the Tasks portion... point and choose :)

I know it can be done with Tasker since AutoVera does it. Otherwise, this is a PITA to put in using small onscreen keyboard! Too much when you are doing several Profiles.

Just wanted to add another dimension of tasker integration.  If you need tasker to read the current status of a device on your Vera network and have tasker respond accordingly, this can be done by sending a JSON request to vera.  You can use the following steps:

1. Create a new profile in Tasker (i.e. NFC tag scanned, GPS location reached, bluetooth connected, widget pushed, whatever you want to use as a trigger).
2. In tasker, create a new matching task for your new profile.
2. Add Action (click the + sign) -> Net -> HTTP Get
3. Under the Server:Port field, add in the URL for your device status request:
  • Example to retrieve the status of a DSC Alarm: https://fwd5.mios.com/USERNAME/PASSWORD/VERA_SERIAL/data_request?id=variableget&DeviceNum=DEVICEID&serviceId=urn:micasaverde-com:serviceId:AlarmPartition2&Variable=DetailedArmMode
  • The example above forwards through the MCV servers and requests the status of an alarm system. It's a good idea to test the URL is working in your browser as expected before proceeding. In this case, it should show ready, exitdelay, or armed, etc.
  • USERNAME/PASSWORD: Vera username/password
  • [VERA_SERIAL]: Vera serial found in UI5 under account -> tech support tab
  • [DEVICE_ID]: Vera Device ID for the item you want to view status on.  Found under the advanced tab of each individual vera device.
  • Make sure to include the appropriate serviceid and the variable you want information on for each device.  You can find serviceid information by visiting the following URL: http://LOCAL_VERA_IP:3480/data_request?id=status&output_format=xml&DeviceNum=DEVICE_ID
4. Under mime type, select "text/plain"
5. The response from this HTTP request is automatically exposed to tasker as "%HTTPD"
6. You can write tasks based on the state of the %HTTPD variable. In my case, this example task polls vera and check the status of the alarm before performing any actions.  For instance, if it's "ARMED," tasker will disarm the alarm and include a verbal confirmation.  If it's "READY," tasker will report accordingly and ask me if i want to arm the house.

A few caveats and suggestions:
  • Since your vera login is passed through the URL, there are high security risks. Make sure you understand this before proceeding. If absolutely necessary, it would be a good idea to at least create restricted logins for this purpose (I'm not positive, but I believe this method is how forwarding is handled by most mobile Vera apps?).
  • If you can, a better method would be to use a VPN into your vera site location and use the local URL command instead
  • Here is the equivalent local URL for the above JSON query: http://LOCAL_VERA_IP:3480/data_request?id=variableget&DeviceNum=DEVICEID&serviceId=urn:micasaverde-com:serviceId:AlarmPartition2&Variable=DetailedArmMode
  • If you are using if/case statements to process the command, don't forget to add an exit condition in case you cannot poll vera for any reason.

I'll look at adding the ability to retrieve information of a device via Tasker. This will require some work and time. Not sure when I will get this added. The only drawback would be that this will be dependent on the data that AutHomation has. So if you require realtime data, you'll have to mess with the background polling of the data for the app when the app is not running. It is currently set to 30 minutes. I would not go any lower than 5 minutes to not drain the battery.

- Garrett

I was just going to ask the same thing ;)

I plan to use DashClock as an interface for my DSC alarm via Dashclock Tasker + AutomationHd.

I'd want to query - if it's armed, show a disarm icon, if it's disarmed show arm icon.  I might want to show the state of a few sensors as well.

Also - you should charge for AutomationHd, or at least make a pay version available.  I'd gladly pay for it and you more than deserve it.  Amazing application.
Title: Re: Tasker / Llama / NFC Integration
Post by: Aaron on November 03, 2013, 11:59:42 pm
Garrett,
I'm not sure how the AutoVera app makes the status available, maybe their Vera-side app makes it easier? You might want to install their apps and see how they work, might give you some ideas - or maybe piggyback on it.

I'm working to design a method, using NFC + Tasker + AutHomation, to create occupancy tracking and security mode automation so grabbing a status of a device from Vera is critical when you scale it beyond a single person.

Thanks for looking into this, hopefully it will be easier than you expect :)
Title: Re: Tasker / Llama / NFC Integration
Post by: garrettwp on November 05, 2013, 02:38:08 am
Garrett,
I'm not sure how the AutoVera app makes the status available, maybe their Vera-side app makes it easier? You might want to install their apps and see how they work, might give you some ideas - or maybe piggyback on it.

I'm working to design a method, using NFC + Tasker + AutHomation, to create occupancy tracking and security mode automation so grabbing a status of a device from Vera is critical when you scale it beyond a single person.

Thanks for looking into this, hopefully it will be easier than you expect :)

I looked at their plugin awhile back, when it was first available in the app store. They are essentially parsing through the list of devices in vera and using a variable watch on those devices for certain services and variables. They are then using Google's Cloud Message to send the data to AutoVera when changes happen. It is a pretty good idea, however I do not know how keen I am on having a variable watch command on all of my devices for the different services / variables. Not sure how resource intensive it would be on Vera.

A few options that could make this work well in my app but would require some work to get working and resources (cost). I could implement Google Cloud Messaging in my app and do something similar to what AutoVera does, but just send a message saying to retrieve new data. This would also require setting up a service that needs to work with Google Cloud Messaging. VerAlerts does this, however Richard is now paying to keep the service from not hitting it's quota. This also means I have to maintain this service which my time is already limited and I would like to push out another release to the community.

To get tasker to work the way a few want it to work with performing tasks based on the variables of a device when it actually happens and not delayed would require a good amount of work, resources (money, time, support).

- Garrett

Title: Re: Tasker / Llama / NFC Integration
Post by: amiles on December 20, 2013, 08:32:20 am
Can anyone confirm how best to use profiles in Tasker.
If I have a light that I want to turn on and off via a voice command does it require 2 profiles? One that says light on and the other light off or can you create one profile and have 2 tasks? I think you need a profile for each as the voice request is associated with one profile not 2. So if I have AV equipment and lighting I would need a profile for each state.
Title: Re: Tasker / Llama / NFC Integration
Post by: S-F on December 20, 2013, 11:39:52 am
Eh? Why not just use the Speech Recognition built in to AutHomation? No need for tinkering with Tasker for that.

Tasker can do some nice things when paired with AutHomation but what you're proposing sounds like reinventing the wheel for the hell of it. Sounds like digging holes and filling them back in again.

Or maybe I'm missing something?
Title: Re: Tasker / Llama / NFC Integration
Post by: amiles on December 21, 2013, 04:29:06 am
Yep you are missing something. authomation is great but to give voice command you need to go into the program, swipe right, scroll down, press voice and issue your command. Might as well just use the icon in the program.
With tasker I have an autovoice icon on the phone which I press and issue my command. Voila! One screen press and I can turn on/off lights, av equipment etc
Title: Re: Tasker / Llama / NFC Integration
Post by: garrettwp on December 21, 2013, 06:30:22 am
Or use the home screen shortcut to go directly to the voice recognition.

- Garrett

Title: Re: Tasker / Llama / NFC Integration
Post by: rabeatz on December 30, 2013, 08:15:40 pm
Thanks for providing the intents! Got tasker to work with gentlealarm to turn on my bedroom light when the alarm goes off.. just what i wanted!

Quick question though - if I wanted to make the light flash, would I be able to do that with a single intent or would I have to make several tasks alternating the dim level?

Edit: I achieved what I wanted by adding "Wait ** seconds" followed by an on or off intent and repeating it to achieve what I wanted to do.

I'm a heavy sleeper.
Title: Re: Tasker / Llama / NFC Integration
Post by: S-F on December 30, 2013, 09:01:30 pm
Personally I would do all of this on the Vera side. If you're set up with home automation gear there is a LOT more Vera can do than your phone.
Title: Re: Tasker / Llama / NFC Integration
Post by: rabeatz on December 31, 2013, 04:53:14 am
I know there are apps to do that on the vera side but I change my alarm frequently so I wanted something that would correlate directly to the alarm on my phone without having to change anything on the Vera.

Is it possible to get the "flashing" on and off of the light on the vera side, in a scene perhaps? I'm still relatively new to the Vera side of things. If it's possible to do it that way then obviously I'd prefer to - that way I'm sending one command to the vera instead of 15.
Title: Re: Tasker / Llama / NFC Integration
Post by: S-F on December 31, 2013, 08:33:03 am
Yes this is possible. I myself have a rather elaborate setup for making sure I get up in time in the morning and my bedside light blinking is part of Vera's last ditch effort.

http://forum.micasaverde.com/index.php?topic=5127.0

I use Google Calendar to set the time I get up. The only problem with this is that the Google Calendar plugin is primitive and can't anticipate when I'll need to get up so the entry needs to be set for however much time in advance you need to have the scene play out.
Title: Re: Tasker / Llama / NFC Integration
Post by: rabeatz on December 31, 2013, 09:06:07 am
Thanks for the link, I'll look into applying it to my bedroom light to simplify my tasker event.
Title: Re: Tasker / Llama / NFC Integration
Post by: jolerius on January 03, 2014, 02:03:54 am
How is it going on getting status from a device such as temperature, armed, tripped, on, off etc?? Is it possible to do this yet? I want to create a widget showing my temperatures at home and need the status toggle for that.

Sent from my GT-I9295 using Tapatalk

Title: Re: Tasker / Llama / NFC Integration
Post by: stearic on January 25, 2014, 09:41:34 am
Or use the home screen shortcut to go directly to the voice recognition.

- Garrett
While an easy option, it may not be exactly what some of us would like. Me for example i have a moto x and i can do a google search with just my voice w/out having to touch the phone. Now combine with xposed, a google search api, autovoice & tasker, i have it setup so i can control xbmc with out touching my phone. It would be nice to add being able to add controlling different things in my house to the list of things i can do with out having to touch my phone. Just a thought/explanation.
Title: Re: Tasker / Llama / NFC Integration
Post by: idefix on February 01, 2014, 08:09:23 am
I'm currently trying to get the tasker integration working with all my lights in the house and I ran into difficulty with 2 types of lights:

1. Fibaro 2x500watt switch -  i can control the main Relais fine but not the 2nd one. How do I address the 2nd channel? Although it has a separate ID it does not work (shown as embedded with the main relais id as parent)

2. The milight plugin to control milight led lamps. On/off does now work somehow - same as with 1. I get unknown command if addressed like a switch.

Any ideas?

Thanks
Title: Re: Tasker / Llama / NFC Integration
Post by: garrettwp on February 01, 2014, 08:16:59 am
I'm currently trying to get the tasker integration working with all my lights in the house and I ran into difficulty with 2 types of lights:

1. Fibaro 2x500watt switch -  i can control the main Relais fine but not the 2nd one. How do I address the 2nd channel? Although it has a separate ID it does not work (shown as embedded with the main relais id as parent)

2. The milight plugin to control milight led lamps. On/off does now work somehow - same as with 1. I get unknown command if addressed like a switch.

Any ideas?

Thanks

Which version of AutHomation are you running?

How is the second channel for the Fibaro displayed in Vera? How do you control it in Vera?

- Garrett
Title: Re: Tasker / Llama / NFC Integration
Post by: idefix on February 01, 2014, 08:30:30 am
Thanks for the fast reply.
I'm on 3.1.3.9

The fibaro switch shows up like 2 switches in vera and authomation. The main switch has id 46 and the 2nd switch id 48.embedded is ticked with parent id 46.

The milights show up as dimmers in both vera and authomation

Sent from my Nexus 10 using Tapatalk

Title: Re: Tasker / Llama / NFC Integration
Post by: garrettwp on February 01, 2014, 08:37:04 am
Not sure on the fibaro device. Does it function like a normal switch in Vera or do you have to do something special? I am in the US and do not own any Fibaro products as they are Europe only for now.

As for the MiLight, full support is only available in the Alpha builds of AutHomation.

- Garrett
Title: Re: Tasker / Llama / NFC Integration
Post by: idefix on February 01, 2014, 10:18:24 am
Thanks Garret, yes the Fibaro work like normal switches in Vera.
Nothing special required. Any idea what I could try?

Sent from my Nexus 10 using Tapatalk

Title: Re: Tasker / Llama / NFC Integration
Post by: garrettwp on February 01, 2014, 10:27:59 am
Thanks Garret, yes the Fibaro work like normal switches in Vera.
Nothing special required. Any idea what I could try?

Sent from my Nexus 10 using Tapatalk

Would you be willing to provide me your Vera data?

http://www.authomation.net/documentation/troubleshooting

I can have a look, but new changes to the app will need to be put on hold until I work out the new UI6 authentication.

- Garrett
Title: Re: Tasker / Llama / NFC Integration
Post by: jventerprises on March 11, 2014, 12:35:08 pm
So I see intents to set data, but what if i want to get data?  From a window sensor for example.  and then take actions in Tasker based on this setting...

 

I have looked and looked and must be missing a post about it...

Title: Re: Tasker / Llama / NFC Integration
Post by: garrettwp on March 11, 2014, 12:53:32 pm
So I see intents to set data, but what if i want to get data?  From a window sensor for example.  and then take actions in Tasker based on this setting...

 

I have looked and looked and must be missing a post about it...

Jon,

I replied to your email a few minutes ago. This feature is not currently implemented into the app. It has been requested and there has been some discussion on it on the forum. It is on the todo list but I can not tell you if and when it will be implemented.

- Garrett
Title: Re: Tasker / Llama / NFC Integration
Post by: djassa1 on March 14, 2014, 06:46:04 pm
Chimpware,

Are you using the beta version or the one from the market? Only the tasker integration is available in the current betas that you can download from this forum.

- Garrett

Hi Garret,

is it still the case? Could you tell us for example when Trigger will be supported on the beta versions?

Thanks
Title: Re: Tasker / Llama / NFC Integration
Post by: garrettwp on March 14, 2014, 08:34:50 pm
Chimpware,

Are you using the beta version or the one from the market? Only the tasker integration is available in the current betas that you can download from this forum.

- Garrett

Hi Garret,

is it still the case? Could you tell us for example when Trigger will be supported on the beta versions?

Thanks

I'm not sure what you are asking for. You can enter the custom intent uri in trigger now or issue a Tasker task.

- Garrett

Title: Re: Tasker / Llama / NFC Integration
Post by: integlikewhoa on April 18, 2014, 10:12:21 am
I use AutHomation and Tasker for Geofencing. I have several virtual switches for when I'm home or wifes home and I'm trying to combine to a MultiSwitch.

I might be missing it but after I make a task and try to set an action > Plugin > AutHomation HD Device > Virtual switch  I don't see my multiswitch only the regular virtual switches. Am I missing it or you running a scene?
Title: Re: Tasker / Llama / NFC Integration
Post by: garrettwp on April 18, 2014, 10:55:07 am
As long as you are using AutHomationHD 3.3.0.2 or higher, you should be able to select your multiswitch device. You will need to select the correct device and in the control drop down, it should highlight Multiswitch.

- Garrett
Title: Re: Tasker / Llama / NFC Integration
Post by: integlikewhoa on April 18, 2014, 11:51:04 am
As long as you are using AutHomationHD 3.3.0.2 or higher, you should be able to select your multiswitch device. You will need to select the correct device and in the control drop down, it should highlight Multiswitch.

- Garrett

Force closed Tasker and AutHomation then restarted both. Now "MultiSwitch" is on the list. Thanks!
Title: Re: Tasker / Llama / NFC Integration
Post by: silencery on May 29, 2014, 07:41:25 pm
So I see intents to set data, but what if i want to get data?  From a window sensor for example.  and then take actions in Tasker based on this setting...

I have looked and looked and must be missing a post about it...

There's a workaround for this based on the instructions here http://wiki.micasaverde.com/index.php/Luup_Requests#Accessing_Vera_remotely_through_the_MiOS_servers.

Try the following:
Title: Re: Tasker / Llama / NFC Integration
Post by: RichardTSchaefer on May 29, 2014, 08:07:11 pm
@silencery

*Forward Compatibility Alert*
Going through the forward servers will not work on UI6 and UI7 ...
Not only do the servers change ... but there is about 4 web requests you have to make to be able to make the request that actually does something, like the url in your example. The data for these requests is dynamic, part of the new security protocol ... Changes to this old simple strategy is going to break a lot things!

I posted details about how this works ... but it looks like MCV pulled my post ... and never told me!
Turns out the details were in an attachment ... so search did not show it.
The details are are:
http://forum.micasaverde.com/index.php/topic,24942.0.html

Title: Re: Tasker / Llama / NFC Integration
Post by: silencery on May 29, 2014, 08:52:36 pm
Richard,

Thanks so much for the heads up.  Yeah, it's been a while since I've had a chance to pick through the board and it certainly sounds like a lot of the UI6/7 features are going to cause a few (or more!) headaches for everyone. 

Truth be told, i generally welcome more security.  I have to admit i'm not 100% comfortable with the way vera handles it now. Let's just hope MCV can leave everything reasonably usable.  I'm sorry to hear MCV pulled your post.  I'd definitely be interested in seeing how the new features work or maybe even a roadmap.

I'm not looking forward to this migration... haha
Title: Re: Tasker / Llama / NFC Integration
Post by: davvvvvo on June 15, 2014, 11:05:27 pm
Hey,
Would there be any reason why i can use tasker to make to scene work but when i try to turn a light on it comes back at me with invaid control of device? strange as it works with a scene but not a light.
action- andriod.intent.action.VIEW
data - authomation://device/MYVera/3/off
target - activity
vera lite version: 1.5.6.22    authomationhd : 3.1.3.11
should i try download 3.3.0.2?

*update tried V 3.3.1.1. think it might be a tasker issue as i have a new Samsung s5
Title: Re: Tasker / Llama / NFC Integration
Post by: rd on August 11, 2014, 01:05:23 am
Or use the home screen shortcut to go directly to the voice recognition.

- Garrett
While an easy option, it may not be exactly what some of us would like. Me for example i have a moto x and i can do a google search with just my voice w/out having to touch the phone. Now combine with xposed, a google search api, autovoice & tasker, i have it setup so i can control xbmc with out touching my phone. It would be nice to add being able to add controlling different things in my house to the list of things i can do with out having to touch my phone. Just a thought/explanation.

Did you ever figure out a solution to go directly into the the voice recognition screen? 

I would also like to basically say "Ok Vera" from any screen or the home screen and then say my voice command, or say "Ok Google, Vera turn on the kitchen lights" as one phrase and have Google Now, via autovoice, pass on "turn on kitchen lights" to Authomation's voice recognition (and not try and recreate it in Tasker with intents)

I can use the shortcut, but that still means I need a hand free and I'm not chopping vegetables or picking up a needy toddler.  Thanks.
Title: Re: Tasker / Llama / NFC Integration
Post by: garrettwp on August 11, 2014, 08:39:46 am
Google still does not allow third party developers integration into Google Now. So there is no solution at this time for this sort of integration.

- Garrett

Title: Re: Tasker / Llama / NFC Integration
Post by: rd on August 11, 2014, 11:40:14 am
Google still does not allow third party developers integration into Google Now. So there is no solution at this time for this sort of integration.

- Garrett

Not a perfect solution, but what I have worked out in case others are looking for this.  Is to use Auto Shortcut to trigger the voice features within Authomation. 

For example,  "Ok Google" -> brings up Google Now voice
"Vera" -> using AutoShortcut in Tasker brings me to the Authomation voice prompt
"Turn on kitchen lights" -> kitchen lights come on

All without touching anything.  I do have to pause between commands though.


Title: Re: Tasker / Llama / NFC Integration
Post by: Wekurtz74 on August 11, 2014, 05:18:48 pm
Google still does not allow third party developers integration into Google Now. So there is no solution at this time for this sort of integration.

- Garrett

Not a perfect solution, but what I have worked out in case others are looking for this.  Is to use Auto Shortcut to trigger the voice features within Authomation. 

For example,  "Ok Google" -> brings up Google Now voice
"Vera" -> using AutoShortcut in Tasker brings me to the Authomation voice prompt
"Turn on kitchen lights" -> kitchen lights come on

All without touching anything.  I do have to pause between commands though.
I think you could also try an app called Comandr for Google now.  I believe that has tasker integration also.  I recently downloaded it.  Trying to use it in a manner you suggested in this post is on my to do list list
Google still does not allow third party developers integration into Google Now. So there is no solution at this time for this sort of integration.

- Garrett

Not a perfect solution, but what I have worked out in case others are looking for this.  Is to use Auto Shortcut to trigger the voice features within Authomation. 

For example,  "Ok Google" -> brings up Google Now voice
"Vera" -> using AutoShortcut in Tasker brings me to the Authomation voice prompt
"Turn on kitchen lights" -> kitchen lights come on

All without touching anything.  I do have to pause between commands though.
Title: Re: Tasker / Llama / NFC Integration
Post by: Will H on August 19, 2014, 08:19:07 pm


For example,  "Ok Google" -> brings up Google Now voice
"Vera" -> using AutoShortcut in Tasker brings me to the Authomation voice prompt
"Turn on kitchen lights" -> kitchen lights come on

All without touching anything.  I do have to pause between commands though.

As stearic mentioned, AutoVoice is an option.  It would result in fewer steps.

Garrett, surely if both CommandR and AutoVoice figured out ways to do this, it must be possible.  Don't get me wrong, I greatly appreciate your work and I imagine there are better targets for development time but all the same...

Also, I'm not sure if others are aware, but if you need sceneids for tasker configuration and you've jumped to UI7, you need to pull them from an address such as this since there are currently unavailable in the UI.

http://[you_local_ip_number]/port_3480/data_request?id=sdata&output_format=xml
Title: Re: Tasker / Llama / NFC Integration
Post by: Armedmetallica on August 25, 2014, 10:13:27 am
So I see intents to set data, but what if i want to get data?  From a window sensor for example.  and then take actions in Tasker based on this setting...

I have looked and looked and must be missing a post about it...

There's a workaround for this based on the instructions here http://wiki.micasaverde.com/index.php/Luup_Requests#Accessing_Vera_remotely_through_the_MiOS_servers.

Try the following:
  • Create a vera HTTP Post request according to the instructions linked above.  (For instance, to get a light switch status: https://fwd3.mios.com/VERAUSERNAME/VERAPASSWORD/VERASERIALNUMBER/data_request?id=variableget&DeviceNum=1&serviceId=urn:upnp-org:serviceId:SwitchPower1&Variable=Status)
  • Paste the URL into your browser to make sure it works.
  • Open tasker and create a new task. Add action - select "Net" then "HTTP Get"
  • Under HTTP Get configuration in the Server:Port field, enter the status request URL you prepared above
  • Your device's status will now be accessible in tasker under the %HTTPD variable.
  • To test, select Add action - select "Alert" then "Flash"
  • In the Flash configuration page, enter %HTTPD in the text field
  • If everything is working, tasker will flash the status value of your vera device when you hit Play to test. After checking, you can use the %HTTPD variable however you like

this is great -

relevant, but slightly OT question,  but just curious ... why does accessing via URL require password, but AuthomationHD automatically finds my vera, serial number, and user name?

Does the API method not require user/password? probably more a question for Garret.



edit nevermind - i realize that the info above is for reaching via external WAN.
Title: Re: Tasker / Llama / NFC Integration
Post by: clambert on October 02, 2014, 10:37:52 am
Google still does not allow third party developers integration into Google Now. So there is no solution at this time for this sort of integration.

- Garrett

I know you may be waiting for an official API solution but there is an option for rooted user using a Xposed module.  I know the downloadable module through Xposed doesn't support the latest version of Google Now.

This link will work for the latest version (if you are interested): http://www.google.com/url?q=http%3A%2F%2Fforum.xda-developers.com%2Fattachment.php%3Fattachmentid%3D2887275%26d%3D1407373890&sa=D&sntz=1&usg=AFQjCNHSMjsWB6EmiEPQqv2PTmD4YmCGEA

I'm able to use the Tasker plugin AutoVoice to launch different AutHomation HD tasks from my Moto 360.  Which might beg to ask the question of why I / we need Google Now implementation.  Personally, would like to get status updates.  That's not part of the AutHomation Tasker plugin (as far as I can tell).  :)

At any rate, the app kicks total butt.  Keep up the great work!

Title: Re: Tasker / Llama / NFC Integration
Post by: brij on November 08, 2014, 08:35:34 am
I am getting an error using "Trigger" app on android, when I ask it to run authomation://s/VeraID/sceneID . I made sure that I have substituted VeraID and sceneID with the correct numbers, and have been testing it by manually running the task from Trigger. So, the intent does seem to get across to AuthomationHD app (using version 3.3.1.4), however I get notification saying "ERROR: no valid configuration. Please set .." - I cannot read the rest as it seems to have gotten truncated.  I tried to read into authomationhd logs,and found this:

11-08 08:18:14.028 D/AutHomation( 9591): GetDataService -> onStartCommand(): Intent contains no vera id!

The same URI worked perfectly on my other android phone (I have Trigger & AuthomationHD installed on both); so am not sure what I m missing.
Title: Re: Tasker / Llama / NFC Integration
Post by: Ramacher on January 07, 2015, 08:24:38 pm
Google still does not allow third party developers integration into Google Now. So there is no solution at this time for this sort of integration.

- Garrett

I know you may be waiting for an official API solution but there is an option for rooted user using a Xposed module.  I know the downloadable module through Xposed doesn't support the latest version of Google Now.

This link will work for the latest version (if you are interested): http://www.google.com/url?q=http%3A%2F%2Fforum.xda-developers.com%2Fattachment.php%3Fattachmentid%3D2887275%26d%3D1407373890&sa=D&sntz=1&usg=AFQjCNHSMjsWB6EmiEPQqv2PTmD4YmCGEA

I'm able to use the Tasker plugin AutoVoice to launch different AutHomation HD tasks from my Moto 360.  Which might beg to ask the question of why I / we need Google Now implementation.  Personally, would like to get status updates.  That's not part of the AutHomation Tasker plugin (as far as I can tell).  :)

At any rate, the app kicks total butt.  Keep up the great work!
Can you please provide more info on how you got it to work with your 360? 

I mainly want to unlock my front door. 

I'm not too familiar with tasker. I've mainly imported tasks that others have shared on forums.
Title: Re: Tasker / Llama / NFC Integration
Post by: clambert on January 10, 2015, 09:18:57 am
Can you please provide more info on how you got it to work with your 360? 

I mainly want to unlock my front door. 

I'm not too familiar with tasker. I've mainly imported tasks that others have shared on forums.

So you need a few things:


There is apparently a Tasker Plugin called AutoWear, which should eliminate the need for root, Xposed, and the Google Search API.  I haven't tried it yet, nor do I know if it's come out of beta.

I can go into a little more detail if you have everything installed above.  It's been a while since I set it up, so I don't know off the top of my head.
Title: Re: Tasker / Llama / NFC Integration
Post by: Ramacher on January 11, 2015, 07:43:25 pm
Can you please provide more info on how you got it to work with your 360? 

I mainly want to unlock my front door. 

I'm not too familiar with tasker. I've mainly imported tasks that others have shared on forums.

So you need a few things:

  • Tasker: https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm
  • AutHomationHD: https://play.google.com/store/apps/details?id=com.garrettpower.authomationhd
  • AutoVoice: https://play.google.com/store/apps/details?id=com.joaomgcd.autovoice.unlock
  • Root access on your phone
  • Xposed Framework Installed on your phone:  http://forum.xda-developers.com/xposed/xposed-installer-versions-changelog-t2714053
  • Google Search API:  http://forum.xda-developers.com/showpost.php?p=58026007&postcount=416

There is apparently a Tasker Plugin called AutoWear, which should eliminate the need for root, Xposed, and the Google Search API.  I haven't tried it yet, nor do I know if it's come out of beta.

I can go into a little more detail if you have everything installed above.  It's been a while since I set it up, so I don't know off the top of my head.
Nexus 5, rooted on lollipop (5.0.1) so no xposed :(.

I do have tasker, autovoice and autowear. I have no idea where to start :/ any info/guidance would be really appreciated.


Edit: forgot to mention I do have authomationHD (latest beta) installed and configured properly.
Title: Re: Tasker / Llama / NFC Integration
Post by: clambert on January 18, 2015, 02:53:45 pm
Can you please provide more info on how you got it to work with your 360? 

I mainly want to unlock my front door. 

I'm not too familiar with tasker. I've mainly imported tasks that others have shared on forums.

So you need a few things:

  • Tasker: https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm
  • AutHomationHD: https://play.google.com/store/apps/details?id=com.garrettpower.authomationhd
  • AutoVoice: https://play.google.com/store/apps/details?id=com.joaomgcd.autovoice.unlock
  • Root access on your phone
  • Xposed Framework Installed on your phone:  http://forum.xda-developers.com/xposed/xposed-installer-versions-changelog-t2714053
  • Google Search API:  http://forum.xda-developers.com/showpost.php?p=58026007&postcount=416

There is apparently a Tasker Plugin called AutoWear, which should eliminate the need for root, Xposed, and the Google Search API.  I haven't tried it yet, nor do I know if it's come out of beta.

I can go into a little more detail if you have everything installed above.  It's been a while since I set it up, so I don't know off the top of my head.
Nexus 5, rooted on lollipop (5.0.1) so no xposed :(.

I do have tasker, autovoice and autowear. I have no idea where to start :/ any info/guidance would be really appreciated.


Edit: forgot to mention I do have authomationHD (latest beta) installed and configured properly.

Sorry. I don't use AutoWear.  For what it's worth, AutoVoice has been broken since the recent Google Search update. I need to go look to see if they updated some of the apks for it to work properly. 

I hope you get things figured out on Lollipop 🍭. 
Title: Re: Tasker / Llama / NFC Integration
Post by: Ramacher on June 03, 2015, 09:10:30 pm
I've successfully created a Task in Tasker to unlock my front door. I created a shortcut for it on my home screen and I can lock and unlock my door by tapping it. 

This isn't directly related to AutHomationHD but I want to be able to do it from my watch (Moto 360). I have Wear Mini Launcher installed and I'm wondering if there's a way to create a shortcut/icon in wear mini launcher that I can tap to run the task. I installed AutoWear (along with a few other android wear tasker apps) and AutoVoice and messed with them but still can't figure out how to accomplish this. 

Any insight or where I should go for more assistance would be great.

Thanks guys! 
Title: Re: Tasker / Llama / NFC Integration
Post by: tomtcom on June 03, 2015, 11:06:28 pm
Ask on forum.joaoapps.com. he's the sole developer of autoapps and is responsive on those boards.
Title: Re: Tasker / Llama / NFC Integration
Post by: Ramacher on June 04, 2015, 03:22:08 pm
Ask on forum.joaoapps.com. he's the sole developer of autoapps and is responsive on those boards.

Hmm.. I tried that before posting here and that forum was down. It's up now :D
Title: Re: Tasker / Llama / NFC Integration
Post by: dannieboiz on October 12, 2015, 07:23:38 pm
Thinking about adding a NFC for Vera. This is my first venture into NFC so excuse my ignorance

Assume I get one device working, do I need to repeat the steps to program each other device?

If I'm reading things correctly, the NFC tag stores a set of command and the phone would also need the same apps Taska, Llama and NFC task launcher etc... to perform the task?
Title: Re: Tasker / Llama / NFC Integration
Post by: Stolid on May 04, 2016, 03:29:04 pm
I know this is a dead thread, but I found it, so maybe others are also... Here are instructions I found for NFC tags:

3rd Party App Integration (Tasker, Llama)
Tasker:
    Open the Tasker app
    Go to the Tasks tab by tapping it at the top
    Press the "+" button at the bottom in the middle
    Name your new task ("Turn On Office Lamp" for example), and press the check mark
    Press the blue "+" button
    Select "Misc"
    Select "Send Intent"
    In the first text box under "Action", enter the following without quotes: "android.intent.action.VIEW"
    Further down the screen there's a text box for "Data", where you enter the string that will perform the action you want. For our example, we'll be turning a light on. [for a full list of the syntax for performing different actions, see this page]
    To turn on the light on my desk, I enter the following without quotes: "authomation://device/31234567/36/on"
    Next, scroll to the bottom of this window and press the dropdown under "Target" and select "Activity"
    Press the green check mark
    Press the green check mark again
NFC Task Launcher App Instructions:
    Launch NFC Task Launcher
    Click the plus sign at the top right corner of the app.
    Select either "New Task" or "New Switch" (if you want to toggle between actions).
    Enter a tag name (can be anything you want to help identify the tag action).
    Press the "Add actions" button.
    Select "Applications & Shortcuts"
    Select "URL" and click next.
    Enter the authomation uri syntax. For a scene it would be with out quotes "authomation://scene/1234567/20" 
    Where 1234567 is the vera unit id and 20 is the scene number to run.
    Press OK when done entering the uri in the dialog box.
    Click on the "Save & Write" tag at the top right hand corner.
    In the options section, uncheck "write tag name". (This will free up some data to be written to the tag)
    Place tag on the bottom of your phone and let the tag writer write to the tag.
    Once the tag is written, you should be good to go and the tag should function as intended.