AutoTools Bubble Web Screens that run another task and change its color

Discussion in 'AutoApps' started by zhenurik, Sep 9, 2017.

  1. zhenurik

    zhenurik New Member

    Joined:
    Jun 21, 2017
    Messages:
    25
    Likes Received:
    0
    I need to create a button that run/stop a task and changes its color depending on the state of the task - something what you (joaomgcd) showed on the video where you changed Hue LED Bulb color. Could you share that project? Thanks!
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
  3. zhenurik

    zhenurik New Member

    Joined:
    Jun 21, 2017
    Messages:
    25
    Likes Received:
    0
    I can launch the task but I do not understand how to use the same action again and update the bubble with the properties I want. Could you explain how to do it? Thanks!

    Sent from my Moto G Play using Tapatalk
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Try this:
    • Use an AutoTools Web Screen action and select the Bubble preset and accept it right away.
    • In Tasker add a 3 second Wait action
    • Use another AutoTools Web Screen action and select the Bubble preset, delete the image URL, and in the Filters category enable any filter.
    This will update the image in the bubble with the filter without loading the web screen from scratch and without changing the image :)
    Let me know if this helps!
     
  5. zhenurik

    zhenurik New Member

    Joined:
    Jun 21, 2017
    Messages:
    25
    Likes Received:
    0
    Well.. It pops up icon, wait 3 sec, change icon's filter and that's it. If I do not press the icon before 3 sec ends the task ends and the icon does not respond any more. It works exactly how it's supposed to but not what I need. I played with different command options in AutoTools Web Screen, tried different loops with different conditions, variables settings but I can not make it work like in your video.
     
  6. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Do you mean that you want to change it on click?
     
  7. zhenurik

    zhenurik New Member

    Joined:
    Jun 21, 2017
    Messages:
    25
    Likes Received:
    0
    Yes. I want the bubble work as switcher for some task like in your video where you turn on/off the light

    Sent from my Moto G Play using Tapatalk
     
  8. zhenurik

    zhenurik New Member

    Joined:
    Jun 21, 2017
    Messages:
    25
    Likes Received:
    0
    Yeeeee! I figured it out! It works now!. Now I have another problem. I'm playing with expansion panel and after about 20 sec it spits out this error:
    16.13.51/E FIRE PLUGIN: AutoTools Web Screen / com.twofortyfouram.locale.intent.action.FIRE_SETTING: 8 bundle keys
    16.13.51/E AutoTools Web Screen: plugin comp: com.joaomgcd.autotools/com.joaomgcd.autotools.broadcastreceiver.BroadcastReceiverFire
    16.13.51/E add wait type Plugin1 time 30
    16.13.51/E add wait type Plugin1 done
    16.13.51/E add wait task
    16.14.21/E Error: null

    Sent from my Moto G Play using Tapatalk
     
    Last edited: Sep 14, 2017
  9. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    maybe try setting the time out to something higher? :)
     

Share This Page