Scriptable widget based on Weather Cal. Uses date, calendar, battery, and greeting elements. Uses the "custom" object in the Weather Cal container script to add a dynamic background for dark mode, screen brightness, Apple Health (average heart rate) and Activity data (active calories, exercise minutes, stand hours) from a .csv file in iCloud created using auto-sync from the app Health Auto Export.
- Set-up the the vanilla Weather-Cal script and widget first. Instructions are on the original dev's page here.
- For the light and dark mode background images, save images as "Weather Cal-light" and "Weather Cal-dark" in the /iCloud Drive/Scriptable/Weather Cal folder created during inital set-up.
- If you don't want to use this, you can comment out or delete the background method in the custom object and it will default to the background setting of the widget.
- Install the Health Auto Export app from the App Store.
- This is a paid app ($1.99). A free trial is available from the developer through TestFlight, but using it has not been tested.
- Enable "Automated Backups" in the Auto Health Export App and click "Sync Now" to create the file structure for backed up data in iCloud Drive.
- Please read the developer FAQ page for details about frequency, privacy, etc. related to the backups.
- In Scriptable settings, go to "File Bookmarks" and create a bookmark for the "Health Export" folder in iCloud Drive.
- Make sure to name the bookmark "Health Export".
In addition to the widget items in the Weather Cal script, the custom object here adds a dynamic background that changes when using the Dark appareance setting; "batterybright" item for displaying battery level and screen brightness device parameters; "health" item for displaying active calories, exercise minutes, stand hours, (optionally steps); and "heart" item for displaying the last recorded average heart rate.