Repository navigation
v1.0.54
変更内容
1.0.54: 自動化(z2-when)のきっかけを増やし、選ぶ画面を作り直しました。
(1) 新しいきっかけ
- Bluetooth 機器がつながった・切れた(
bt:connect=<名前>/bt:disconnect=<名前>)。音を出さない腕時計や車も、機器ごとに分けられます。「付近のデバイス」の許可が要ります。 - そのアプリを開いた・離れた(
app:open=<アプリ>/app:close=<アプリ>)。ユーザー補助で画面の切り替えを受け取るだけで、定期的に見に行かないので電池を使いません。 - 今日の歩数が届いた(
steps:reach=8000)。端末の歩数計を読むだけで、ほかのアプリやサービスは使いません。「身体活動」の許可が要ります。 - 電池の温度(
battery:temp>45/battery:temp<35)。 - フォルダのファイルが書き換わった・消えた(
file:changed=<フォルダ>/file:deleted=<フォルダ>)。 event:に 省電力モード・おやすみモード・アプリの追加/削除/更新・タイムゾーンの変更・USB 機器の抜き差し・Bluetooth 機器の接続/切断 が増えました。
(2) きっかけの選び方: 種別を「時刻・電源・つながり・アプリと通知・端末」の 5 段に分け、候補を書式ではなく「電池の残量が値(%)を切ったとき」のような文で並べました。選ぶと一覧が畳まれ、数を決める候補には値だけの欄が出ます。event: の候補も名前を覚えずに一覧から選べます。そのきっかけが今の設定では動かないとき(検知 OFF・許可が無い・ユーザー補助が OFF)は、理由と直すボタンがすぐ下に出ます。
(3) Bluetooth(付近のデバイス)と歩数(身体活動)の許可を、⚙設定 › 権限・通知 に足しました。
⚠ すでにあるファイルを上書きしたときは、file:new ではなく file:changed が動くようになりました。上書きでも動かしたいルールは file:changed を足してください。
Changes
1.0.54: More automation (z2-when) triggers, and a rebuilt trigger picker.
(1) New triggers
- A Bluetooth device connecting or disconnecting (
bt:connect=<name>/bt:disconnect=<name>). Silent devices such as a watch or a car can be told apart. Needs the Nearby devices permission. - An app coming to the front or being left (
app:open=<app>/app:close=<app>). It listens for window changes through Accessibility and never polls, so it costs no battery. - Today's steps reaching a goal (
steps:reach=8000). Reads the phone's own step counter; no other app or service is involved. Needs the Physical activity permission. - Battery temperature (
battery:temp>45/battery:temp<35). - A file in a folder being rewritten or removed (
file:changed=<dir>/file:deleted=<dir>). event:gains battery saver, Do Not Disturb, app install/uninstall/update, time-zone change, USB plug/unplug and Bluetooth connect/disconnect.
(2) Picking a trigger: kinds are grouped into five rows (Time, Power, Connections, Apps & notifications, Device), and choices are listed as sentences ("Battery level drops below the value (percent)") instead of raw forms. Choosing one folds the list away, and choices that take a number get a field for just the value. event: choices come from a list, so names need not be remembered. When a trigger cannot run with the current settings (detection off, a permission missing, Accessibility off), the reason and a fix button appear right below it.
(3) The Bluetooth (Nearby devices) and step (Physical activity) permissions were added to ⚙ Settings › Permissions & notifications.
⚠ Overwriting an existing file now fires file:changed, not file:new. Add a file:changed rule where overwrites should run too.
Full Changelog: v1.0.53...v1.0.54