How to user Tasker to control NiLS preferences

Since version 1.7.577 (beta) NiLS provides a service intent that allows Tasker app to control its preferences.
This allows power users, for example, to set NiLS to not turn on the screen during night hours, or to switch to private mode while at work.

How to use it?

  1. On Tasker app, go to Tasks and click the "+" button.
  2. Give a name to this task, for example - "Disable NiLS screen waking"
  3. Click the "+" button to add new task.
  4. Choose "System" and then "Send intent"
  5. Fill in the following fields:
    - Action:
    - Extra: the option that you want to set and its value, for example: turnscreenon:never
    - Package:
    - Class: (case matters)
    - Target: Service
  6. Click the back button, you'll see the new created task. now you can use it like any other task to be launched on several conditions.

What preferences can I change?

Basically, you can change any NiLS preference with it, but you'll need to know to exact key names and values for each preference. Here's a short list of the most common preferences, feel free to comment here if you need a specific preference that doesn't appear here.

Key Name Possible Values
never, always, when_uncovered, when_not_covered
grouped, separated, conversation
persistent, ongoing, low_priority, media
you can combine multiple options with a | separator, e.g "persistent|ongoing"
fp_enabled (show lock screen notifications)
true, false
popup_enabled (show heads-up notifications)
true, false
show_title, show_ticker, show_appname, no_interaction, none

Need help? 

Contact and I'll do my best to help you configure it right.


Please sign in to leave a comment.
Powered by Zendesk