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?
- On Tasker app, go to Tasks and click the "+" button.
- Give a name to this task, for example - "Disable NiLS screen waking"
- Click the "+" button to add new task.
- Choose "System" and then "Send intent"
- Fill in the following fields:
- Action: com.roymam.android.nils.SET_PARAM
- Extra: the option that you want to set and its value, for example: turnscreenon:never
- Package: com.roymam.android.notificationswidget
- Class: com.roymam.android.notificationswidget.SettingsProvider (case matters)
- Target: Service - 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 |
turnscreenon |
never, always, when_uncovered, when_not_covered |
notification_mode |
grouped, separated, conversation |
show_notifications |
persistent, ongoing, low_priority, media |
fp_enabled (show lock screen notifications) |
true, false |
popup_enabled (show heads-up notifications) |
true, false |
notification_privacy |
show_title, show_ticker, show_appname, no_interaction, none |
Need help?
Contact support@roymam.com and I'll do my best to help you configure it right.
0 Comments