SQLite query result watch
Use “SQLite query result watch” in Recued. It provides a scheduled, read-only watch for one local SQLite query. Changes remain behind Recued's approval controls.
How it works
Inspect the data fetches, transforms, gates, and output this recipe runs.
Process (7 steps)
query
recued-core.sqlite3.db.query_readonly
Query readonly db on sqlite3
row_count
count
Count items in query stdout
has_rows
compare
Check if row count is greater than 0
notify
core.notification.send
Send notification
skip: step.has_rows not_equal true
rows
slice
Take a subset of
table
to_table
Format results as a data table
card
to_summary
Format results as a summary card
▼
Output
summary
card
table
table
Settings
Configurable at install. Defaults shown — change them anytime in Recued.
source
setting
=
[object Object]
channels
setting
=
[object Object]
end hour
setting
=
18
max rows
setting
=
25
weekdays
setting
=
1,2,3,4,5
sql query
setting
=
SELECT name AS label, type AS detail, tbl_name AS result FROM sqlite_schema WHERE 0
start hour
setting
=
8
Uses (3 operations)
Triggers
Time watch
core.watch.time
Pack operation
Query readonly db on sqlite3
recued-core.sqlite3.db.query_readonly
Notifications
Send notification
core.notification.send
Trust & control
What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.
Permissions it requires
Declared by the recipe — Recued grants these at install, where you review them before approving.What it's allowed to do
Read
Triggers
core.watch.time
read-only
Read
Notifications
core.notification.send
external change
1 more isn't listed here. You'll see it at install.