AutoWear HOWTO: Notify my phone when my wear battery is 100%

Discussion in 'AutoApps' started by regnare, Apr 5, 2016.

  1. regnare

    regnare New Member

    Joined:
    Apr 5, 2016
    Messages:
    6
    Likes Received:
    0
    I figured this would be a simple enough task, however I have no idea what I'm doing. I haven't been able to find a wiki or other documentation online explaining how to use autowear. I tried setting up an Event with "battery ok", but I have no idea what battery ok means. It seems to trigger all the time.

    Is it possible to just have a tasker notification popup when my wear is on the charger and reaches 100%?

    Thanks!
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,690
    Likes Received:
    736
    To check the watch's battery you need to use an AutoWear App action and set the command to <battery>. Then in the next action check %awmessage and the battery level should be there.

    What you can do is have a profile with a watch connected to power condition and with an additional time condition that fires every x minutes. In the task then check the value like described above :)

    Hope this helps
     
  3. regnare

    regnare New Member

    Joined:
    Apr 5, 2016
    Messages:
    6
    Likes Received:
    0
    Thanks, that did help! In case anybody else wants to know what I did, here ya go.

    Profile: Watch Battery (57)
    State: AutoWear State [ Configuration:Screen On: false
    Plugged In: false
    Connected: true
    Battery Low: false ]
    Time: From 7:00AM every 5m Till 8:00PM
    State: AutoWear State [ Configuration:Screen On: false
    Plugged In: true
    Connected: false
    Battery Low: false ]
    Enter: Battery Check (53)
    A1: AutoWear App [ Configuration:Execute Now: true
    Trigger Event: true
    Haptic Feedback: true
    Name: App
    Command: <battery>
    Turn Screen On: false Package:com.joaomgcd.autowear Name:AutoWear App Timeout (Seconds):60 ]
    A2: If [ %awmessage eq 100 ]
    A3: Notify [ Title:Watch Charged Text: Icon:null Number:1 Permanent:Off Priority:3 ]
     
  4. regnare

    regnare New Member

    Joined:
    Apr 5, 2016
    Messages:
    6
    Likes Received:
    0
    Also, is this info documented anywhere? If I wanted to know other commands to send, where would I find that? Like I didn't know about <battery>, for example.

    Thanks.
     
  5. regnare

    regnare New Member

    Joined:
    Apr 5, 2016
    Messages:
    6
    Likes Received:
    0
    How often does the AutoWear state update? My watch has been off the charger for about 30 minutes now, yet Tasker still seems to think it's plugged in.
     

    Attached Files:

  6. regnare

    regnare New Member

    Joined:
    Apr 5, 2016
    Messages:
    6
    Likes Received:
    0
    I took off Connected: true and it seems to work as expected now. Sorry for the noise! :)
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,690
    Likes Received:
    736
    If you press the little tag icon when editing the command to send you'll see all the different possible variables :) Glad you got it!
     
    regnare likes this.
  8. maurizio53

    maurizio53 New Member

    Joined:
    Jun 14, 2016
    Messages:
    21
    Likes Received:
    0
    Will you so kind to send me the xml of your profile.
    I mean really new to tasker so with your xml I can improve my experience more than following these instructions..
    Thanks
     
  9. 1Zup

    1Zup New Member

    Joined:
    Aug 5, 2016
    Messages:
    1
    Likes Received:
    0
    Hi Regnare,
    I'm having trouble following your Tasker Profile. Could you attach screenshots of the Profile to better show where and what you entered? I'm somewhat new to Tasker, and I'm still learning. Thanks
     
  10. Nadivar

    Nadivar New Member

    Joined:
    Dec 5, 2016
    Messages:
    3
    Likes Received:
    0
    Hi, I do it, but sometimes when smartwatch isn´t connect the task launch it beacuse Autowear State Pluggen in: true (I don´t understand why???)
    Any Idea?
     

Share This Page