WeatherFlow Weather

The short answer is NO.

Sad to hear, just received mine a few days ago xD however, as i am not doing any scientific stuff with the data i will be fine (at least for nowā€¦).

Small question though: I saw in your Weatherflow dashboard (which is pretty nice and inspired my own dashboard) in the lightning section that you listed the time of the last lightning strike detected and also the distance.

I am also using the same Integration but i donā€™t see these sensors. Could it be that they only show up after an actual lightning was detected? I have it installed only a few days and there were no thunderstorm lately.
I assumed that all the sensors should be available from the beginning even though they might not have any state yet.

So as i said i am working on my weatherflow dashboard inspired by the one from @tom_l

I am using browser_mod popup and a layout-card with a grid to bring up this overview:

Todo:

  • Spacing around the different cards or use of dividers
  • Change the font and font size of the custom: weather-chart-card to match the mini-graph-card
  • Get the weather-chart-card to display more days/hours
  • Get the daily rainfall amount for the past week in the middle column at the bottom

Regarding the amount of hours and days to be displayed in the weather-chart-card, as far as i researched there is no way to control it, but it is controlled by the space available. But for me it looks very stretched out and it easily should be able to display more. Any hints on how to achieve that?

Regarding the title of the weather-chart-card: Is there any option to change this? I only found the option to change the font size of the labels, but it does not seem to offer a way to control the title?

Just noticed that the absolute humidity units on the WeatherFlow integration are wrong. It shows percentage instead of g/m^3. The Weatherflow2mqtt add-on shows correct units.

I am traveling right now, so could you please open an issue on GitHub for this, so I donā€™t forget.

What an awesome weather page, really nice! May I ask what dashboard you are using?

My own. However I no longer have the Weatherflow weather station.

HI @tom_l,

Thanks for your answer. Sad to hear you donā€™t have the weatherflow anymore. I find it a very nice piece of kit.

Iā€™m probably going to ask a very stupid question and it is a bit off topic here but I find your example weather dashboard extremely enticing. The enities themselves Iā€™ve figured out but the shiny blue XP lookalike view is really cool. Is that because of it being on a windows machine or is there a way to get that in to HA regardless of OS.

The second question I have is back on topic cause while weatherflow HACS integration works really well including the forecast of daily and hourly forecast I cant seem to get that running when using the core integration weatherflow2mqtt. Another message I get when using the weather2mqtt integration is the following which I canā€™t really place:

ERROR:weatherflow2mqtt.sqlite:Could not write to High and Low Table. Error message: '>' not supported between instances of 'float' and 'NoneType'

I have read the github page and followed it verbatum but maybe there something Iā€™m missing.

Thanks in Advance.

This is the wrong Topic to ask about WeatherFlow2MQTT. This thread is about the Cloud based solution WeatherFlow Weather. If you have an issue with WeatherFlow2MQTT please create an issue on GitHub

Ok, thanks and apology.

No worries.

How often does HA get data from WeatherFlow? Can the frequency be changed?

You can configure it within the Integration configuration. The default value for: Interval in minutes between Sensor Updates is 2 minutes). You can also configure: Number of hours for the Hour based forecast (default 48 hours), and Interval in minutes between Forecast updates (default 30 minutes).

Would you be able to share your yaml for this dashboard?

I just completly reinstalled and cleaned up my home assistant setup, but found this in a backup.
Keep in mind that this was used as a popup using browser mod.
For the charts i used the following custom cards:

  • mini-graph-card
  • weather-chart-card
  • compass-card

Heres the yaml code:

action: fire-dom-event
browser_mod:
  service: browser_mod.popup
  data:
    title: Wetter
    size: fullscreen
    style:
      --popup-max-width: 800px;
    content:
      type: custom:layout-card
      layout_type: custom:grid-layout
      layout:
        #default
        grid-template-columns: repeat(5, 1fr)
        grid-template-rows: auto auto auto
        grid-template-areas: |
          "   FeelTemp      HourForcast       HourForcast       HourForcast       UV          "
          "   RelHumidty    DailyForcast      DailyForcast      DailyForcast      Lightning   "
          "   Wind          DailyRain         DailyRain         DailyRain         Lightning   "

      cards:

        #################################################
        #                                               #
        #                   FeelTemp                    #
        #                                               #
        #################################################

        - type: custom:mini-graph-card
          view_layout:
            grid-area: FeelTemp
          color_thresholds:
            - color: '#e45e65'
              value: 28
            - color: '#e0b400'
              value: 21
            - color: '#0da035'
              value: 15
            - color: '#039BE5'
              value: -20
          color_thresholds_transition: hard
          entities:
            - entity: sensor.weatherflow_feels_like_temperature
              name: GefĆ¼hlte Temperatur
          group: false
          hour24: true
          line_width: 4
          points_per_hour: 4
          show:
            extrema: true
            fill: fade
            icon: true
            labels: false
            name: true
            state: true

        #################################################
        #                                               #
        #                  RelHumidty                   #
        #                                               #
        #################################################

        - type: custom:mini-graph-card
          view_layout:
            grid-area: RelHumidty
          color_thresholds:
            - color: '#e45e65'
              value: 0
            - color: '#e0b400'
              value: 30
            - color: '#0da035'
              value: 40
            - color: '#039BE5'
              value: 65
          color_thresholds_transition: hard
          entities:
            - entity: sensor.weatherflow_relative_humidity
              name: Luftfeuchtigkeit
          group: false
          hour24: true
          line_width: 4
          points_per_hour: 4
          show:
            extrema: true
            fill: fade
            icon: true
            labels: false
            name: true
            state: true
        
        #################################################
        #                                               #
        #                     Wind                      #
        #                                               #
        #################################################

        - type: custom:compass-card
          header:
            title:
              value: Wind
          indicator_sensors:
            - sensor: sensor.weatherflow_wind_direction
              indicator:
                type: arrow_inward
          value_sensors:
            - sensor: sensor.weatherflow_wind_speed_km_h
          view_layout:
            grid-area: Wind

        #################################################
        #                                               #
        #                 HourForcast                   #
        #                                               #
        #################################################

        - type: custom:weather-chart-card
          entity: weather.weatherflow_hourly_based_forecast
          show_main: false
          show_attributes: false
          view_layout:
            grid-area: HourForcast

        #################################################
        #                                               #
        #                 DailyForcast                  #
        #                                               #
        #################################################

        - type: custom:weather-chart-card
          entity: weather.weatherflow_day_based_forecast
          show_main: false
          show_attributes: false
          view_layout:
            grid-area: DailyForcast

        #################################################
        #                                               #
        #                      UV                       #
        #                                               #
        #################################################

        - type: custom:mini-graph-card
          view_layout:
            grid-area: UV
          color_thresholds:
            - color: '#e45e65'
              value: 8
            - color: '#e0b400'
              value: 6
            - color: '#0da035'
              value: 3
            - color: '#039BE5'
              value: 0
          color_thresholds_transition: hard
          entities:
            - entity: sensor.weatherflow_uv_index
              name: UV Index
          group: false
          hour24: true
          line_width: 4
          points_per_hour: 4
          show:
            extrema: true
            fill: fade
            icon: true
            labels: false
            name: true
            state: true

        #################################################
        #                                               #
        #                  Lightning                    #
        #                                               #
        #################################################

        - type: entities
          view_layout:
            grid-area: Lightning
          title: Blitze
          card-mod:
            style: |
              ha-card {
                margin-top: 5px;
                font-family: SF Text;
                letter-spacing: 0.005em;
              }
              ha-card .card-header .name {
                font-family: SF Text;
                letter-spacing: 0.005em;
                font-size: 1.6em;
                font-weight: 500;
                padding: 1em 0 0 1.68em;
                line-height: initial;
                cursor: default;
              }
          show_header_toggle: false
          card_mod:
            class: header
          entities:
            - entity: sensor.weatherflow_lightning_strike_count_last_3_hours
              name: Letzte 3 Stunden
            - entity: sensor.weatherflow_last_lightning_strike
              name: Letzter
            - entity: sensor.weatherflow_last_lightning_strike_distance
              name: Distanz

I hope this helps.

2 Likes

Hi there,

Iā€™m trying to use the Weatherflow integration but receiving a timeout error.

Iā€™ve just finished reading about a similar issue in May '22 and wondered if you might check the data block Iā€™m receiving and offer a diagnosis or solution of some kind?

I called the API that @cechaney posted - and I do get a block of data back.
https://swd.weatherflow.com/swd/rest/observations/station/[your_station_id]?token=[your_access_token]

(I redacted a portion of the lat/long and the station name/id)

{"station_id":43XXX,ā€station_nameā€:ā€REDACTED Weather","public_nameā€:ā€REDACTED Crescent","latitude":44.99999,ā€longitude":-79.99999,ā€timezone":"America/Toronto","elevation":241.0,"is_public":true,"status":{"status_code":0,"status_message":"SUCCESS"},"station_units":{"units_temp":"c","units_wind":"kph","units_precip":"mm","units_pressure":"inhg","units_distance":"km","units_direction":"cardinal","units_other":"metric"},"outdoor_keys":["timestamp","pressure_trend","precip_minutes_local_day_indoor"],"indoor_keys":["timestamp","air_temperature_indoor","barometric_pressure_indoor","station_pressure_indoor","sea_level_pressure_indoor","pressure_trend_indoor","relative_humidity_indoor","precip_indoor","precip_accum_last_1hr_indoor","rain_accum_local_day_indoor","precip_accum_local_yesterday_final_indoor","precip_minutes_local_yesterday_final_indoor","wind_avg_indoor","wind_direction_indoor","wind_gust_indoor","wind_lull_indoor","solar_radiation_indoor","uv_indoor","brightness_indoor","lightning_strike_last_epoch_indoor","lightning_strike_last_distance_indoor","lightning_strike_count_indoor","lightning_strike_count_last_1hr_indoor","lightning_strike_count_last_3hr_indoor","feels_like_indoor","heat_index_indoor","wind_chill_indoor","dew_point_indoor","wet_bulb_temperature_indoor","wet_bulb_globe_temperature_indoor","delta_t_indoor","air_density_indoor"],"obs":[{"timestamp":1676389716,"pressure_trend":"rising","air_temperature_indoor":3.4,"barometric_pressure_indoor":986.3,"station_pressure_indoor":986.3,"sea_level_pressure_indoor":1015.7,"relative_humidity_indoor":74,"precip_indoor":0.0,"precip_accum_last_1hr_indoor":0.0,"rain_accum_local_day_indoor":0.0,"precip_accum_local_yesterday_indoor":0.0,"precip_accum_local_yesterday_final_indoor":0.0,"precip_minutes_local_day_indoor":0,"precip_minutes_local_yesterday_indoor":0,"precip_minutes_local_yesterday_final_indoor":0,"precip_analysis_type_yesterday_indoor":0,"wind_avg_indoor":1.1,"wind_direction_indoor":233,"wind_gust_indoor":2.3,"wind_lull_indoor":0.3,"solar_radiation_indoor":423,"uv_indoor":1.34,"brightness_indoor":50677,"lightning_strike_last_epoch_indoor":1667708798,"lightning_strike_last_distance_indoor":7,"lightning_strike_count_indoor":0,"lightning_strike_count_last_1hr_indoor":0,"lightning_strike_count_last_3hr_indoor":0,"feels_like_indoor":3.4,"heat_index_indoor":3.4,"wind_chill_indoor":3.4,"dew_point_indoor":-0.8,"wet_bulb_temperature_indoor":1.7,"wet_bulb_globe_temperature_indoor":3.8,"delta_t_indoor":1.7,"air_density_indoor":1.24241,"pressure_trend_indoor":"rising"}]}

Any idea why itā€™s not working for me? Thanks in advance.

Data seems valid. Have you checked the HA Log? Anything in there that can say where it goes wrong?

Yes, I looked in the logs - but even with debugging turned on, there isnā€™t much there:

2023-02-15 18:11:07.802 DEBUG (MainThread) [custom_components.weatherflow] Finished fetching weatherflow data in 0.084 seconds (success: False)

2023-02-15 18:11:13.111 DEBUG (MainThread) [custom_components.weatherflow] Finished fetching weatherflow data in 0.058 seconds (success: False)

2023-02-15 18:11:23.564 DEBUG (MainThread) [custom_components.weatherflow] Finished fetching weatherflow data in 0.059 seconds (success: False)

2023-02-15 18:11:44.132 DEBUG (MainThread) [custom_components.weatherflow] Finished fetching weatherflow data in 0.055 seconds (success: False)

In the UI, on the Integrations page, the card shows:

Retrying setup: Error while retreiving data: Timeout fetching weatherflow data.

Iā€™m on Home Assistant 2023.2.2 and installed the Weatherflow 1.0.14 integration using HACS. I enabled debug logging in the configuration.yaml file and also tried enabling it from the integration card itself. I expected to see a lot more in the logs with DEBUG enabled (like the URLā€™s it was trying to reach and the raw response it received) - but all I see is that one line repeating every 75 or so seconds.

Is there anything else I can try? Or anywhere else I can go for assistance?

All of a sudden my HA integration is displaying metric units. I have this in my config file

homeassistant:
name: Home
unit_system: us_customary

Anyone else having this problem?

Iā€™ve still been unable to get this integration to work.
(I installed via HACS)

In an effort to try ā€œsomethingā€ while waiting for help, Iā€™ve:

  • removed the integration that wasnā€™t working last week
  • generated a new API Key
  • re-added the integration using the new API Key
    ā€¦but Iā€™m getting exactly the same behaviour I was the first time I tried this.

The logs just contain this message every minute and a half or 2 minutes:

2023-02-25 17:18:39.366 DEBUG (MainThread) [custom_components.weatherflow] Finished fetching weatherflow data in 0.057 seconds (success: False)

The UI says:

Retrying setup: Error while retreiving data: Timeout fetching weatherflow data.

This forum is the correct place to go for help, right?

Soā€¦ please help! :smiley: