From fa843477296753b23d20cfb29bf3eea74efa5e51 Mon Sep 17 00:00:00 2001 From: Mineinjava <65673396+Mineinjava@users.noreply.github.com> Date: Fri, 10 Nov 2023 21:04:07 -0800 Subject: [PATCH] increment version --- apps/ios/ChangeLog | 3 ++- apps/ios/README.md | 18 ++++++++++++++++++ apps/ios/metadata.json | 2 +- apps/weather/ChangeLog | 1 + apps/weather/metadata.json | 4 ++-- 5 files changed, 24 insertions(+), 4 deletions(-) diff --git a/apps/ios/ChangeLog b/apps/ios/ChangeLog index b9558bf21..2f7df414c 100644 --- a/apps/ios/ChangeLog +++ b/apps/ios/ChangeLog @@ -12,4 +12,5 @@ 0.12: Use new message library 0.13: Making ANCS message receive more resilient (#2402) 0.14: Add settings page, allow time sync - Allow negative/positive actions to pass through to message GUI \ No newline at end of file + Allow negative/positive actions to pass through to message GUI +0.15: Enable calendar and weather updates via custom notifications (via shortcuts app) \ No newline at end of file diff --git a/apps/ios/README.md b/apps/ios/README.md index 056a241d6..1321a9902 100644 --- a/apps/ios/README.md +++ b/apps/ios/README.md @@ -29,6 +29,24 @@ for now. It's just a few bucks/pounds/euro's. If you like to try a free app first, you can always use NRF Toolbox or Bluetooth BLE Device Finder to find and connect your Bangle. +### Weather and Calendar + +By using the `Shortcuts` app on your phone, you can send weather and calendar data to your watch. This works by sending a notification, which is read by the watch through ANCS. The watch then parses the notification for the data. + +While you may write your own shortcuts if you prefer (for example, to get weather from a different source), two are provided: + +- Calendar shortcut: https://www.icloud.com/shortcuts/4eac12548b4c424dbcdb1bd58cff338f +- Weather shortcut: https://www.icloud.com/shortcuts/106c68bfac3746fe9a55761a3be8d092 + +The weather shortcut requires an OpenWeatherMap api key, which you can get for free from https://openweathermap.org/api. The shortcut will prompt you for this when you add it to your phone. + +These shortcuts can also be automated to run periodically, for example every hour, using the `Automation` tab in the Shortcuts app. + +The shortcuts will send a notification, which can be annoying. One potential workaround for this would be to create a focus mode, and have an automation: +- activate the focus mode (hiding notifications from the shortcut) +- run the shortcut +- deactivate the focus mode + ## Requests diff --git a/apps/ios/metadata.json b/apps/ios/metadata.json index 958315655..21e609ea9 100644 --- a/apps/ios/metadata.json +++ b/apps/ios/metadata.json @@ -1,7 +1,7 @@ { "id": "ios", "name": "iOS Integration", - "version": "0.14", + "version": "0.15", "description": "Display notifications/music/etc from iOS devices", "icon": "app.png", "tags": "tool,system,ios,apple,messages,notifications", diff --git a/apps/weather/ChangeLog b/apps/weather/ChangeLog index 50c033600..58422349a 100644 --- a/apps/weather/ChangeLog +++ b/apps/weather/ChangeLog @@ -22,3 +22,4 @@ 0.23: Update clock_info to avoid a redraw 0.24: Redraw clock_info on update and provide color field for condition 0.25: Added monochrome parameter to drawIcon in lib +0.26: Expose update function (for use by iOS integration) \ No newline at end of file diff --git a/apps/weather/metadata.json b/apps/weather/metadata.json index 55c2973b0..79f2289fd 100644 --- a/apps/weather/metadata.json +++ b/apps/weather/metadata.json @@ -1,8 +1,8 @@ { "id": "weather", "name": "Weather", - "version": "0.25", - "description": "Show Gadgetbridge weather report", + "version": "0.26", + "description": "Show Gadgetbridge/iOS weather report", "icon": "icon.png", "screenshots": [{"url":"screenshot.png"}], "tags": "widget,outdoors,clkinfo",