How 2 Feed a Weather Forcast with my momantary gps position? - RV

I’m looking for a way to use a forcast card or windy with web-card in my rv.
2 ways i found
i’ve notebook what delivers me the Long Lat or long,lat and home or not home state.
image

how to feed this into windy location string?

or how to set the home location of HA to the new location? So that other forcast Cards can use that.

If you are moving a lot then the only option is to use an rest/api call to one of the weather providers, else you can setup multiple sensors with e.g. openweathermap

thx, but i saw other solutions, but i’m quite new to templates etc. so i aseked here for a little help

one, solution with Windy, is to feed the Web Card with the lat long, somehow

second solution is the change the HA Home Location
like this

- id: '001456'
  alias: Update MH Location
  trigger:
  - entity_id: binary_sensor.wyzesense
    from: 'off'
    platform: state
    to: 'on'
  action:
  - service: homeassistant.set_location 
    data_template:
      latitude: >
        {{ states("sensor.nodered_d988b4f8_8db528") }}
      longitude: > 
        {{ states("sensor.nodered_37f79a7_16a4066") }}

but i’ve no nodered and did get it where to put this code

The windy card is sort-of the same as what I suggested… you can template it with config
You can e.g. get lat/lon from person or device or…

I would not advise changing the HA setup as that will affect all other sensors that may use the lat/lon

1 Like