AutoWear How to access the variable of the watch?

Discussion in 'AutoApps' started by skydel0, Oct 29, 2019.

  1. skydel0

    skydel0 New Member

    Joined:
    Oct 29, 2019
    Messages:
    3
    Likes Received:
    0
    Hi there,

    i normaly have my own display brightness automation with the informations of the light sensor of the Phone.
    Now im not be able to get the light variable from the watch.

    As far as i get is to know that : <light> should be the variable.

    Is there a way to access directly in tasker all the variables from the watch?
    If yes is there a list of variable that i dit not find untill now? And how does it work just like a normal if with the <light> as variable? - Edit (that does not work xD its not just <light> :( )

    If not i would have to do an app that sends this data. (If possible)
    Is there an example source code who would show the way to talk in case of: watch to phone communication?

    Best Regards
    :D
     
    Last edited: Oct 29, 2019
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Use the AutoWear App action. Set the command field to <light> and it should return the value :)
     
  3. skydel0

    skydel0 New Member

    Joined:
    Oct 29, 2019
    Messages:
    3
    Likes Received:
    0
    Your the best this does work :D %awmessage contains the number after the command, so perfect to use :D

    One more Question if possible :(

    If i use the &SCREENON& event in tasker it does not work.
    But if i use the event in autowear for: command to show or something like that it works.
    Is it possible that the event is not triggeret in tasker if nothing on the watch will need it?
     
    Last edited: Oct 30, 2019
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    hhmm, it should always be. Can you please check the logs and see if it doesn't appear there? Also, in the AutoWear Settings app on the watch make sure you enable those event as well.
     
  5. skydel0

    skydel0 New Member

    Joined:
    Oct 29, 2019
    Messages:
    3
    Likes Received:
    0
    Didn't saw this setting :( perfect thanks very mich :) love tasker an any plugin that i tested so far :)
    Im a developer and with Tasker etc. I dont need to make my own app at all :) and i like to make automations xD
     
  6. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Great! :) Glad you like it!!
     

Share This Page