AutoInput tasker/autoinput not working with display off

Discussion in 'AutoApps' started by alebum, Oct 1, 2016.

  1. alebum

    alebum New Member

    Joined:
    Oct 1, 2016
    Messages:
    2
    Likes Received:
    0
    Hello,
    My car's BT tries to force happiness on me by sending "Media Play" command everytime I switch to BT. It triggers my default media player and starts playing music.
    It is a bit annoying - when I change volume the music starts, when I switch between radio and BT - the music starts...

    I've created this script in tasker/autoinput that partially solves the problem:
    Code (Text):

    Profile: Media Play (6)
        State: Media Button [ Button:Play Held Down:Off Grab:Off Stop Event:Off ]
    Enter: Blokada Grania (3)
        A1: AutoInput Modes [ Configuration:Key Suppress: Enable
    Keys: Media Play Timeout (Seconds):2 ]
    However it works only with the display ON. When the screen is off (and mostly is while I'm driving) the scripts doesn't work.
    Both tasker and autoinput are excluded from baterry saving.
    Android 7 on Nexus 5X, no root.

    Hope I'll find help here :)
     
    Last edited: Oct 1, 2016
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Unfortunately AutoInput ins't able to intercept keys while the screen is off. It's an Android limitation. Sorry, wish I could help!
     
  3. alebum

    alebum New Member

    Joined:
    Oct 1, 2016
    Messages:
    2
    Likes Received:
    0
    yeah, I've foud it yesterday in my desperate longing of solving my problem :)
    Thanks anyway.
     
  4. eggsterino

    eggsterino New Member

    Joined:
    Nov 1, 2016
    Messages:
    1
    Likes Received:
    0
  5. maxtag

    maxtag New Member

    Joined:
    Jun 21, 2018
    Messages:
    1
    Likes Received:
    0
    Just curious if anything has changed over the years. It seems not since tasks still aren't launched when screen's off but just checkin
     
  6. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Nope, unfortunately not.
     

Share This Page