You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/compatibility.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,18 +6,20 @@ description: What will Battery Webhook run on?
6
6
7
7
Battery Webhook has been built from the ground up to take advantage of features available only in Apple's OSes, and requires one of these OSes at minimum:
8
8
9
+
* macOS Ventura 13.0 or later
9
10
* iOS 15.0 or later
10
11
* iPadOS 15.0 or later
11
-
* watchOS 8 or later
12
-
*macOS Ventura 13.0 or later
12
+
* watchOS 8.0 or later
13
+
*visionOS 1.0 or later
13
14
14
15
Additionally, Battery Webhook has some additional features only supported on more recent OS versions.
Copy file name to clipboardExpand all lines: docs/docs/supported-services/discord/further-configuring-battery-webhook.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ You'll notice that the **Settings** page in Battery Webhook has a few options we
12
12
13
13
**Show specified avatar image** and **Show specified pronoun** control whether Battery Webhook will send the avatar image/pronoun to the webhook.
14
14
15
-
**Send Device Name** and **Send Device Model** will control whether Battery Webhook will send your devices name/model to the webhook. These can be disabled if you would like greater privacy.
15
+
**Send Device Name** and **Send Device Model** will control whether Battery Webhook will send your device's name/model to the webhook. These can be disabled if you would like greater privacy.
Copy file name to clipboardExpand all lines: docs/docs/supported-services/discord/setting-up-automations.md
+30-8Lines changed: 30 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,17 +2,27 @@
2
2
3
3
### macOS
4
4
5
-
Battery Webhook uses IOPowerManagement events and IOKit queries to directly talk to your Mac's hardware, which provides _highly_ power-efficient and fast automations.
5
+
Battery Webhook on macOS uses IOPowerManagement events and IOKit queries to directly talk to your Mac's hardware, which provides _highly_ power-efficient and fast automations.
6
6
7
7
To take advantage of automations on macOS, just open the app and toggle the desired events in the **Automations** section.
8
8
9
9
The automations will not be triggered if your configuration is invalid, so just ensure that it's valid before enabling them.
Battery Webhook on macOS also supports launching itself when you log in, showing a Menu Bar Extra for quick and easy control, and hiding the main window + dock icon for a cleaner experience.
14
14
15
-
Battery Webhook uses the Shortcuts Automations feature built into the Shortcuts app. As such, we add the **Send Battery Info** action to Shortcuts. This action depends on the app's configuration being valid, so ensure you've configured it properly before using the action.
Just head into **Settings**, scroll down and choose the options you'd like.
18
+
19
+
{% hint style="success" %}
20
+
Hiding the main window and dock icon + automatically launching Battery Webhook when logging in is **highly** recommended if you use automations.
21
+
{% endhint %}
22
+
23
+
### iOS, iPadOS and visionOS
24
+
25
+
On these platforms, Battery Webhook uses the Shortcuts Automations feature built into the Shortcuts app. As such, we add the **Send Battery Info** action to Shortcuts. This action requires a valid configuration in the app.
Let's get started setting it up. Open the **Shortcuts** app, then switch to the **Automations tab**. Tap **New Automation**, then open the **Charger** personal automation. Ensure it **Runs Immediately**, then tap **Next**. Tap **New Blank Automation** and add Battery Webhook's **Send Battery Info** action. Make sure to enable **Report that the device was plugged in** and that **Show When Run** is off.
35
+
***
36
+
37
+
Let's get started setting it up. Open the **Shortcuts** app, then switch to the **Automations tab**.
38
+
39
+
Tap **New Automation**, then select the **Charger** personal automation. Make sure that **When** is set to "Is Connected", **Run Immediately** is selected and **Notify When Run** is turned off, then tap **Next**.\
40
+
.png>)
41
+
42
+
Tap **New Blank Automation** and add Battery Webhook's **Send Battery Info** action. Make sure to enable **Report that the device was plugged in** and that **Show When Run** is off, then press **Done** to create it.\
43
+
.png>)
44
+
45
+
For the next one, create another **Charger** personal automation. Ensure that **When** is _only_ set to "Is Disconnected", **Run Immediately** is checked and **Notify When Run** is turned off. Tap **Next**, add the **Send Battery Info** action, enable **Report that the device was unplugged** and disable **Show When Run**.
26
46
27
-
For the next one, create another**Charger** personal automation, but ensure that **When** is _only_ set to **Is Disconnected**, and that **Run Immediately** is checked. Tap **Next**, add the **Send Battery Info** action and enable **Report that the device was unplugged**as well as disabling**Show When Run**.
47
+
Last one. Create a**Battery Level** personal automation and change it to trigger at exactly **100%**. Again, ensure that **Runs Immediately** is checked and **Notify When Run** is turned off. Tap **Next** and add the **Send Battery Info** action, enable **Report that the device reached full charge**and disable**Show When Run**.
28
48
29
-
Last one. Create a **Battery Level** personal automation and change it to trigger at exactly **100%**. Again, ensure it **Runs Immediately.** Tap **Next** and add the **Send Battery Info** action, then enable **Report that the device reached full charge** as well as disabling **Show When Run**.
49
+
{% hint style="warning" %}
50
+
If you forget to disable **Notify When Run** or **Show When Run** when setting up any of the above automations, you may see notifications on your device when plugging in, unplugging or fully charging your device. Disabling these means that no notifications will be shown.
51
+
{% endhint %}
30
52
31
53
Once you've set the automations up, they should appear like below:
At this point, plug in/unplug/let your device hit 100% and Battery Webhook will automatically send the batteyr info according to your configuration. If there's a configuration error, the Shortcuts app will let you know so you that can fix it in Battery Webhook
57
+
At this point, plug in/unplug/let your device hit 100% and Battery Webhook will automatically send the batteyr info according to your configuration. If there's a configuration error, the Shortcuts app will let you know so you that can fix it in Battery Webhook.
0 commit comments