Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

Weather radar refresh using cast

$
0
0

@asdf_kid1 wrote:

I’m using a Google Nest Hub for a family friendly HA interface and trying to incorporate a weather radar loop based on a link to a HTTPS weather underground page. The two lovelace configuration options I’ve tried don’t work correctly, so looking for other ideas.

Config option 1: Picture element. This configuration renders perfectly on the Hub screen, but the image never refreshes, so is out of date.

lovelace config:

              - type: picture
                image: >-
                  https://radblast.wunderground.com/cgi-bin/radar/WUNIDS_map?station=066&brand=wui&num=10&delay=15&type=A0Q&frame=0&scale=0.1428&noclutter=0&showstorms=99&mapx=400&mapy=240&centerx=535.95&centery=378.0&transx=135.95&transy=121.0&showlabels=1&severe=0&rainsnow=0&lightning=1&smooth=1&rand=26287388&lat=0&lon=0&label=you

Config option 2: Camera and picture-entity. This renders perfectly in the lovelace web browser interface (Chrome) and the loop updates regularly. However, on the Hub it displays “preview of the weather radar camera” and no image is shown.

configuration.yaml:

camera:
  - platform: generic
    name: Weather Radar
    still_image_url: "https://radblast.wunderground.com/cgi-bin/radar/WUNIDS_map?station=066&brand=wui&num=1&delay=15&type=A0Q&frame=0&scale=1.000&noclutter=0&showstorms=0&mapx=400&mapy=240&centerx=400&centery=240&transx=0&transy=0&showlabels=1&severe=0&rainsnow=0&lightning=0&smooth=0&rand=26295871&lat=0&lon=0&label=you"
    stream_source: "https://radblast.wunderground.com/cgi-bin/radar/WUNIDS_map?station=066&brand=wui&num=10&delay=15&type=A0Q&frame=0&scale=0.1428&noclutter=0&showstorms=99&mapx=400&mapy=240&centerx=535.95&centery=378.0&transx=135.95&transy=121.0&showlabels=1&severe=0&rainsnow=0&lightning=1&smooth=1&rand=26287388&lat=0&lon=0&label=you"

lovelace config:

              - type: picture-entity
                entity: camera.weather_radar
                camera_view: live
                show_name: false
                show_state: false
                aspect_ratio: 75%

Does anyone have other options or suggestions for getting the weather radar loop to display and refresh correctly on the google hub?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles