New Weather Radar Card

did you find a working User Agent string? Used 3 different but all of them didn’t remove the string next to the radar

This is a great card! Can you make it so that snow appears in blue hues and wintry mix in pink? The RainViewer site appears to make this distinction (as does weather.com) but it all shows up as shades of green, yellow, and red in the map.

I figured it out. The RainViewer API has a setting for Smooth_Snow at the end of the URL, right before .png. It’s set to “1_0.png” for all 8 types by default. If you globally change “1_0.png” to “1_1.png” in /www/community/weather-radar-card.js (there should be 8 instances), it will give you the snow/wintry mix colors on the radar output.

Now, I couldn’t figure out how to clear the cache for the resource to reload the changed file, so I ended up creating a weather-radar-card (snow).js and pointing the resource to the corrected file instead.

Is there any way to specify an alternative zone or the lat/lng as a template? This would allow to display the current location on mobile devices.

Edit
based on this post Dynamic iFrame? - #3 by magiva

type: custom:card-templater
card:
  type: custom:weather-radar-card
  ...
  data_source: RainViewer-Meteored
  center_latitude_template: "{{ states.device_tracker.iphone.attributes.latitude }}"
  center_longitude_template: "{{ states.device_tracker.iphone.attributes.longitude }}"
entities:
  - device_tracker.iphone