AutoNotification Need Help Opening Timely (alarm ringing)

Discussion in 'AutoApps' started by luks_abido, May 15, 2020.

  1. luks_abido

    luks_abido New Member

    Joined:
    May 13, 2020
    Messages:
    5
    Likes Received:
    0
    Hi,

    I always used an app called Timely as my alarm clock. Recently I got a devide with Android 10 and the app stopped working correctly as it is old and do not have the permission required (and wont be updated as it was purchased by Google several years ago and never got an update anymore).
    I capturing the alarm event with Autonotification and setting a Global varialbe %Timely to %antouchaction.
    Another task is triggered when the display is unlocked and the variable %Timely is set. This performs the Autonotification action with the action ID = %Timely.
    But it never works. I noticed that the action ID keeps changing. Everytime I capture it, the value is different, even though the notification was never dismissed, touched or anything like that.
    Do you guys have any suggestion?

    Code (Text):
    Profile: Timely Ringing (210)
    Restore: no
    Event: AutoNotification Intercept [ Configuration:Event Behaviour: true
    Notification Type: Only Created Notifications
    Persistency Type: Persistent Only
    Notification App: Timely
    Package Name: ch.bitspin.timely ]
    Enter: Anon (211)
    A1: AutoNotification Query [ Configuration:Persistency Type: Persistent Only
    Notification Apps: Timely Timeout (Seconds):20 ]
    A2: Variable Set [ Name:%Timely To:%antouchaction Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ]
    Code (Text):
    Profile: Timely Unlock (142)
    Restore: no
    State: Variable Value [ %Timely Set ]
    Event: Display Unlocked
    Enter: Anon (143)
    A1: AutoNotification Actions [ Configuration:Notification Apps: Timely
    Intercept Action ID: %antouchaction Timeout (Seconds):20 Continue Task After Error:On ]
    A2: Variable Clear [ Name:%Timely Pattern Matching:Off Local Variables Only:Off Clear All Variables:Off ]
     
  2. luks_abido

    luks_abido New Member

    Joined:
    May 13, 2020
    Messages:
    5
    Likes Received:
    0
    Well, I worked around that with another approach.
    One minute before the alarm go out, I run a task that disable Doze and launch the alarm app. The task below does other things related to my projects, the relevant and are the first two.

    Alarm Pre (93)
    A1: Run Shell [ Command:dumpsys deviceidle disable all Timeout (Seconds):0 Use Root:On Store Output In:%Test Store Errors In: Store Result In: ]
    A2: Launch App [ Package/App Name:Timely Data: Exclude From Recent Apps:Off Always Start New Copy:Off ] If [ %SCREEN ~ off & %AlarmPackage ~ *timely* ]
    A3: Variable Set [ Name:%Alarme To:1 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ]
    A4: Perform Task [ Name:Control Data Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ]
    A5: WiFi [ Set:On ]
    A6: Perform Task [ Name:Control Powersave Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ]
    A7: [X] Perform Task [ Name:Battery No Limit Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ] If [ %POWER ~ 1 ]
    A8: [X] Send Intent [ Action:au.com.shiftyjelly.pocketcasts.action.REFRESH_PODCASTS Cat:None Mime Type: Data: Extra: Extra: Extra: Package:au.com.shiftyjelly.pocketcasts Class: Target:Broadcast Receiver ]


    Enviado de meu HD1903 usando o Tapatalk
     

Share This Page