Widget - Weather Radar Widget

Note: WUradar Widget is now known as Weather Radar Widget!

I got approval for a widget to display a Weather Radar image based on the device GPS coordinates.  Use the following link to download the widget.

https://apps.garmin.com/en-US/apps/9c692f27-57d6-4488-91ae-5dd846a4ad26

Sep 27, 2021 - Added Weather Radar App to the store

https://apps.garmin.com/en-US/apps/bddf48af-bbdb-425c-bc7f-34309e529a2e

The Weather Radar App is essentially version 4.33 of the widget released as a full device app.  This version allows for full screen images on all supported devices.  Enables animations on a few additional devices than supported by the widget.  Lastly, the radar image will auto update every 5 minutes and will not time out and return to the watch face.  Both the widget and the app share a common registration, so if you subscribe to either the widget or the app, you get access to unlock both versions.

App Setup:
Version 4.0 represents a major overhaul in the Weather Radar Widget.  It no longer requires any configuration and should work from initial download.  The radar data being used does cost each month, so this widget has switched to a trial/subscription model.  To start out every new device gets a 21 day free trial that is fully functional.  After the trial is over, you need to sign up for a nominal annual subscription.  After completing your subscription, go into the settings and and your email address used for from the PayPal transaction.  The next time the widget is run, the widget will remain unlocked for 1 year.  After which, you will need to renew again.

Follow these step in order to enter your email address into the settings.  https://ciq.sabeard.net/wrw4/registered.php

Using the widget:
This widget will show up in the widget loop on the device.  How you access that loop will depend on the device.
Button Watches - Press the up or down buttons on the watch until you see the Weather Radar Widget
Touchscreen Watches - Swipe up or down until you see the Weather Radar Widget
Edge devices with Buttons - Use up or down button until you see the Weather Radar Widget
Touchscreen Handheld and Edge devices - Swipe down from the top of the screen to show status page, then swipe right or left until you see the Weather Radar Widget

Acknowledgements:
I decided to write this widget because I recently upgraded my edge 810 to an edge 1000. After setting it up, I noticed the accuweather widget could tell me if it was expected to rain, but there was no way to view the radar map without pulling over to take out the phone. I keep my phone in the saddle bag while riding, so not really convenient. I was surprised that there was not already a radar app in the store. Last week I decided to download eclipse and the SDK plugin and try to write my own app. Armed with the ConnectIQ programming guide and SDK samples, PETERDECKER's tutorials and links to source code examples, and jim_m_58?s tutorials and ideas based on WU Weather Widget, I came up with WUradar. Thanks guys for the inspiration.

The original plan was to release this only for the edge family of devices, however after playing with the configurations I was able to determine fairly simple method to scale the images to work on all the watches also. While the edge devices are better suited for this type of widget due to the always on GPS, there is no harm in including the watches too.

Let the questions and feedback begin.

Starting with version 4.9 the following devices support radar animation:
D2 Charlie, D2 Delta Series, Decent MK1, Edge 520 Plus, Edge 530, Edge 820, Edge830, Edge 1000, Edge 1030, Edge Explorer, Fenix 5X, Fenix 5Plus Series, Fenix 6 Pro Series, FR245m, FR645m, FR945, GPSMap66/86, Captain Marvel, First Avenger, Darth Vader, Rey, Marq Series, Oregon 7xx, Rino 7xx, Vivoactive 3 Music, Vivoactive 4, Vivoactive 4s

Any device not listed does not have enough available memory to display more than a single image.


REQUESTED FEATURES:
Option to zoom map size +/- scale - implemented - Added the ability to change the default zoom level in settings in 1.4, changes on device in 2.4
Option to display rain speed and direction - Direction can now be determined when using animated images on supported devices with version 4.8.
Set color of position dot based on GPS status (Last, Poor, Good) - implemented in version 1.14
Ability to save location for future use - implemented in version 4.17 for watch devices
Ability to load radar current radar image first in animations - Updated in Version 4.33
Add on screen button to enable animations - Added in version 4.33 for Edge and touchscreen handheld devices.

Change Log

4.33 - Officially added support for new devices released in 2021. Animation now download current radar image before starting into the image rotation, this has been requested a few times, finally figured out how to do it efficiently. On touchscreen Edge and handheld devices added an on-screen button to enable/disable animations. Under the hood optimizations to be more efficient with memory.
4.32 - Added support for Venu 2 series
4.31 - Added animation support for Descent MK2
4.30 - Officially added support for Enduro and VenuSq/SqMusic
4.29 - Fixed out of memory crashes on VA3 and FR23x devices
4.28 - Added a credits page to the about screen to acknowledge the active map and radar source being used. Added option on watch devices to hide zoom label and radar source from the radar screen. Fixed crash on CIQ1.x devices when viewing about screen.

4.27 - Added support for fr745 and fixed expiration date on about page to match the timezone set on the server.
4.26 - Optimized memory to reduce crashed on low memory devices while increasing the the viewable size on the image. Removed support for personal developer keys as AerisWeather has chanced their renewal policy.
4.25 - Added support for the newest devices Edge 1030 plus, Marq Golfer, and Mercedes Venu.
4.24 - More memory optimizations to prevent out of memory crashes on low memory devices while trying to access the menu.
4.23 - Fixed an out of memory error on Vivoactive 3 and a menu initialization bug which caused a crash on certain devices.
4.22 - Fixed an out of memory error on the Vivoactive watches.
4.21- Fixed a bug which could sometimes cause the widget to crash on startup on newer devices.
4.20 - Bug Fix
4.19 - Added RainViewer as a second radar data source. This will dramatically increase radar coverage options for all users. To use RainViewer, open the menu then choose Select Radar Source to choose between AerisWeather and RainViewer. AerisWeather provides a higher definition radar image, but RainViewer provides more coverage.
4.18 - Added support for new devices.
4.17 - Fix issue causing black image download on Venu devices. New feature on watches to save and use a previous location. If using a saved location, you can manually refresh to your current position.
4.16 - Fix for another cause of crashes after saving the registration email with the ConnectIQ app.
4.15 - Fixed a bug causing a crash for users trying to save registration after the trial or registration had expired. Until now the work around has been to reinstall the widget and save the registration email address prior to running the widget.
4.14 - Fixed an issue causing error -300 message on F3 devices. Fixed an issue causing some devices to crash after entering registration email in settings.
4.13 - Implemented fix for some devices which would always report phone not connected when it really was. i.e. Edge Explorer 1000.
4.11 - Fixed a bug causing radar images to be displayed in the reverse order.
4.9 - Fixed crash on VAHR and Epix.  Added support for all devices with enough memory to show radar loop.
4.8 - Added option on Map enabled devices to animate image loop. When enabled, the widget will show image loop of the past 30 minutes, 15 minutes, and current. If your device is supported, the option to "Enable animation" will appear in the menu. Supported devices for Animation include Edge devices (except Edge520), F5X, F5plus series, F6pro series, Marq Series, FR945. Still investigating how to support FR645m, FR245m, VA3M, VA4S, and VA4. All other devices I am at the memory limits for widgets and will not get support for animation.
4.7 - fixed more glance view implementation issues on the F6 and Marq
4.5 - Fixed a crash in Widget Glances on F6 and Marq devices. Customized Widget from system defaults.
4.4 - Released to fix bug in Garmin SDK affecting Fenix 6 devices.
4.3 - Added support for Fenix 6 Series, Venu, and Vivoactive 4 Series, fixed some bugs with entering Registration email in settings, and added vibration and background light notification on watch devices. Now you get alerted once the image has downloaded.
4.2 - Fixed some more crashes.
4.1 - Fixed some bugs causing crashes on some devices
4.0 - Major overhaul to the app.  Added registration checking and moved other options from settings to on device menu.  Added about screen to show version and registration status.
3.10 - Added support for new Forerunner and Edge devices.
3.9 - Decreased memory usage on high memory devices, i.e. F5+ series. Hopefully this will help improve image download time.
3.8 - Added support for MARQ and other new devices.
3.7 - Removed support for Weather Underground as the service finally shutdown all support for API keys. Aeris Weather is the only option now!
3.6 - Added support for GPSMAP® 66s / 66st
3.5 - Added support for the new D2 Delta series. Changed Global Satellite to use dark background and added option for color IR satellite view.
3.4 - Added support for Edge Explore, Set Aeris Weather as the default for new installs, Developed new method to use last known GPS position on watch devices based on Garmin fixing in new device FW that I was exploiting.
3.3 - Added support for new devices, VA3M, and F5 plus series.
3.2 - Improved key checking to ensure the key entered is the correct length. Fixed broken error reporting, app will once again report if the download failed, instead of hanging on "retrieving image". Enter key will now open menu on watch devices.
3.1 - Added zoom buttons to touchscreen handheld and Edge devices. Adjusted zoom level designation to match buttons, L5 is most zoomed in, L1 is most zoomed out.
3.0 - Complete rewrite of the code structure. Streamlined image retrieval and display update processes.

  • I understand the position, but it is not possible to view a weather site on your edge bike computer screen.  Grin

  • Update on F6 series, Vivoactive 4 and Venu watches.  I plan to support these new devices once the CIQ SDK is released to support them.

    • I'm on a Vivoactive 3, and the radar image doesn't cover the whole display, please see the attached picture  
  • Unfortunately that is a trade-off I had to make in the latest version of the app.  On the devices with the 240x240 screen without music, the app is limited in the amount of memory available to the widget.  I was right at the memory limit  and had to squeeze the image size before in order to display the image on these devices.  Now with the additional functionality I had to find additional was to reduce the memory usage.  Since I had already reduced the colors as much as possible, the only other option was to reduce the height of the image.  The bad part is these devices work in the simulator bit fail on the device.  I keep looking for ways to optimize, but I am not sure I can minimize the memory usage enough to make it full screen again.

    The following device are affected by this limit:

    • Approach S60
    • Fenix 5
    • Fenix 5s
    • FR 245
    • FR 645
    • FR 935
    • VivoActive 3

    BTW, thanks for being a registered subscriber.  

  • Many thanks for clearing that up. I already thought I was doing something wrong. And I really appreciate your widget, as you can see I live in a place where knowing where it rains is rather important....I'll leave a five star review ASAP! 

  • Version 4.3 is now out adding support for the Fenix 6 Series, Venu and Vivoactive 4 series watches.

    This version also adds a alert once the image has been downloaded successfully.  In addition to some attempts to fix some bugs on certain devices.

  • Version 4.5 is now out.  Customized the widget glances and fixed a crash occurring due to the default behavior with the new Widget Glances on F6 and Marq devices.

  • Version 4.8 has been released. 

    New Feature: - Animated Radar Images - available on limited devices.

    This is a big update for most devices with a large amount of memory for widgets.    Generally devices with on board mapping.  On supported devices, the menu now adds an option to enable animation.  When enabled, the widget will download 3 images and display them in a repeating loop.  The images show the past 30 minutes, past 15 minutes, and current radar image.  If you don't see the option in the menu then your device is not supported.

    Bug Fixes:

    Incorporated some fixes regarding how trial expiration was being handled and added some additional checking to try and prevent some reported crashes.

    Note: I am at the memory limits on all of the non music watches and will no longer be able to add new features to those devices.  Likewise due to memory limitations, I will be unable to add animated radar support to the Venu watch.  The increase screen resolution on that device means there is not enough memory to display more than one image.

  • I have released version 4.9.

    Fixes:

    Fixed crash on VAHR and Epix devices.

    New features:

    Added animation option to enable animated radar images to all devices which have enough memory to download more than one image.  If you don't see the option in the menu, then your device can only hold 1 radar image.

  • Released version 4.11 to address a bug where I was displaying the animation in the reverse order.  This is now fixed, so sorry if you had it enabled and saw the rain moving the wrong direction.