David 9 年之前
父节点
当前提交
ab0e395866
共有 1 个文件被更改,包括 35 次插入0 次删除
  1. 35 0
      README.md

+ 35 - 0
README.md

@@ -0,0 +1,35 @@
+LibreTasker is an event-based task performer, similar to Tasker.
+
+This means that you can trigger Actions when events (filtered on input) occur, taking into consideration current state.
+
+Supported events (and their conditions):
+- Network:
+	- Type: Wifi / Cellular / VPN
+	- State: Connected / Disconnected
+	- SSIDs: List of SSIDs when Type is Wifi
+- DateTime (Similar to cron):
+	- Month: List of ints
+	- DOM: List of ints (Day of Month, 1-31)
+	- DOW: List of ints (Day of Week, 1-7)
+	- Hour: List of ints (00-24)
+	- Minute: List of ints (00-59)
+	- InvertHour: boolean (whether to invert the match on the 'Hour' field)
+	- InvertMinute: boolean (whether to invert the match on the 'Minute' field)
+- Screen:
+	- OFF: boolean (whether to trigger on ON or OFF )
+
+There's an special event called 'State'. State takes a Key (String) and Value (Object). This gets triggered automatically when an Action with type 'State' **changes** its value.
+
+Supported Actions (and their parameters):
+
+- Toast:
+	- String (text to display)
+- Notification:
+	- <String, String>, with 2 <K,V> Pairs: Title and Value, both must be non-null.
+- Beep:
+	- None (Plays the default notification ringtone)
+- Volume:
+	- <Int, Int> Stream (Ring, Alarm, Music, Notification, System), Volume in %
+- State:
+	- <String, Object>, set a state key to a value. Will trigger the 'State' special event if the value changed.
+