WeatherFlow2MQTT for Home Assistant

I have noticed incorrect rain measurement on windy days also. Do you have RainCheck enabled? Maybe try turn that off if that is the case to see if that makes a difference.
This Add-On reads data through the UDP API, so we just report the Raw data, and do not make any adjustments on the data.

Makes sense, glenngoddard. And bjarne - I don’t see a RainCheck option in any menu on the website UI or iOS app, but after reading about it, it doesn’t seem like it would help. The gist I get from RainCheck is that it will adjust the previous day’s readings based on the cloud data and still would not clear up the instantaneous false readings I’m getting in the HASS sensor. Thanks, all.

That is because it is now called NearCast Rain (which updates more frequently) and is buried in the settings menu: Settings, Stations, station name, Manage Devices, select device, Advanced.

1 Like

Thanks.
Just note that NearCast only works for Stations located in the US and parts of Canada, as per the Help description. So for the rest of us this has no effect.

3 Likes

Something must not be setup right.

The README.md file says:
If everything is setup correctly with MQTT and Home Assistant, you should now start seeing the sensors show up in HA

Where am I supposed to see sensors show up in HA.

I’m new to HA. I installed it this AM on a raspberry pi.

I installed docker and installed the container for HA and weatherflow2mqtt.

These are my logs from docker:

pi@raspberrypi:~ $ docker logs --tail 50 --follow weatherflow2mqtt
INFO:weatherflow2mqtt.weatherflow_mqtt:Timezone is America/Denver
INFO:weatherflow2mqtt.weatherflow_mqtt:Unit System is imperial
INFO:weatherflow2mqtt.weatherflow_mqtt:Zambretti Values: 960.0 and 1060.0
INFO:weatherflow2mqtt.weatherflow_mqtt:Connected to the MQTT server at 10.0.0.3:1883
INFO:weatherflow2mqtt.weatherflow_mqtt:The UDP server is listening on port 50222
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Hub sensor: Status
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Hub sensor: Weather
ERROR:weatherflow2mqtt.forecast:Your API Key is invalid or does not support this operation
WARNING:weatherflow2mqtt.forecast:Forecast Server was unresponsive. Skipping forecast update
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Status
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Absolute Humidity
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Air Density
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Temperature
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Voltage
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Battery
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Battery Mode
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Beaufort Scale
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Cloud Base Altitude
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Delta T
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Dew Point
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Dewpoint Comfort Level
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Feels Like Temperature
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Freezing Level Altitude
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Illuminance
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Lightning Count
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Lightning Count (Last hour)
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Lightning Count (3 hours)
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Lightning Count (Today)
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Lightning Distance
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Lightning Energy
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Last Lightning Strike
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Precipitation Type
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Pressure Trend
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Rain Duration (Today)
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Rain Duration (Yesterday)
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Rain Intensity
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Rain Rate
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Last Rain start
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Rain Today
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Rain Yesterday
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Humidity
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Sea Level Pressure
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Solar Radiation
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Station Pressure
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Temperature Level
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: UV Index
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: UV Level
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Visibility
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Wet Bulb Globe Temperature
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Wet Bulb Temperature
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Wind Bearing
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Wind Bearing Avg
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Wind Direction
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Wind Direction Avg
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Wind Gust
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Wind Lull
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Wind Speed
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Wind Speed Avg
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Solar Elevation
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Solar Insolation
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Zambretti Number
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Zambretti Text
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Fog Probability
INFO:weatherflow2mqtt.weatherflow_mqtt:Setting up Tempest sensor: Snow Probability
ERROR:weatherflow2mqtt.forecast:Your API Key is invalid or does not support this operation
WARNING:weatherflow2mqtt.forecast:Forecast Server was unresponsive. Skipping forecast update
ERROR:weatherflow2mqtt.forecast:Your API Key is invalid or does not support this operation
WARNING:weatherflow2mqtt.forecast:Forecast Server was unresponsive. Skipping forecast update
ERROR:weatherflow2mqtt.forecast:Your API Key is invalid or does not support this operation
WARNING:weatherflow2mqtt.forecast:Forecast Server was unresponsive. Skipping forecast update
ERROR:weatherflow2mqtt.forecast:Your API Key is invalid or does not support this operation
WARNING:weatherflow2mqtt.forecast:Forecast Server was unresponsive. Skipping forecast update
ERROR:weatherflow2mqtt.forecast:Your API Key is invalid or does not support this operation
WARNING:weatherflow2mqtt.forecast:Forecast Server was unresponsive. Skipping forecast update
ERROR:weatherflow2mqtt.forecast:Your API Key is invalid or does not support this operation
WARNING:weatherflow2mqtt.forecast:Forecast Server was unresponsive. Skipping forecast update
ERROR:weatherflow2mqtt.forecast:Your API Key is invalid or does not support this operation
WARNING:weatherflow2mqtt.forecast:Forecast Server was unresponsive. Skipping forecast update
ERROR:weatherflow2mqtt.forecast:Your API Key is invalid or does not support this operation
WARNING:weatherflow2mqtt.forecast:Forecast Server was unresponsive. Skipping forecast update
ERROR:weatherflow2mqtt.forecast:Your API Key is invalid or does not support this operation
WARNING:weatherflow2mqtt.forecast:Forecast Server was unresponsive. Skipping forecast update
ERROR:weatherflow2mqtt.forecast:Your API Key is invalid or does not support this operation
WARNING:weatherflow2mqtt.forecast:Forecast Server was unresponsive. Skipping forecast update
ERROR:weatherflow2mqtt.forecast:Your API Key is invalid or does not support this operation
WARNING:weatherflow2mqtt.forecast:Forecast Server was unresponsive. Skipping forecast update
ERROR:weatherflow2mqtt.forecast:Your API Key is invalid or does not support this operation
WARNING:weatherflow2mqtt.forecast:Forecast Server was unresponsive. Skipping forecast update
ERROR:weatherflow2mqtt.forecast:Your API Key is invalid or does not support this operation
WARNING:weatherflow2mqtt.forecast:Forecast Server was unresponsive. Skipping forecast update
ERROR:weatherflow2mqtt.forecast:Your API Key is invalid or does not support this operation

wireshark sees UDP from weatherflow tempest:

0000   ff ff ff ff ff ff b0 38 29 c0 14 1d 08 00 45 00   .......8).....E.
0010   01 1b 2e 4f 00 00 ff 11 81 c5 0a 00 00 be ff ff   ...O............
0020   ff ff c4 2e c4 2e 01 07 6e 7c 7b 22 73 65 72 69   ........n|{"seri
0030   61 6c 5f 6e 75 6d 62 65 72 22 3a 22 48 42 2d 30   al_number":"HB-0
0040   30 30 36 34 32 35 38 22 2c 22 74 79 70 65 22 3a   0064258","type":
0050   22 68 75 62 5f 73 74 61 74 75 73 22 2c 22 66 69   "hub_status","fi
0060   72 6d 77 61 72 65 5f 72 65 76 69 73 69 6f 6e 22   rmware_revision"
0070   3a 22 31 37 31 22 2c 22 75 70 74 69 6d 65 22 3a   :"171","uptime":
0080   31 34 36 31 34 37 38 30 2c 22 72 73 73 69 22 3a   14614780,"rssi":
0090   2d 34 32 2c 22 74 69 6d 65 73 74 61 6d 70 22 3a   -42,"timestamp":
00a0   31 36 37 33 37 32 31 35 33 31 2c 22 72 65 73 65   1673721531,"rese
00b0   74 5f 66 6c 61 67 73 22 3a 22 50 49 4e 2c 53 46   t_flags":"PIN,SF
00c0   54 2c 48 52 44 46 4c 54 22 2c 22 73 65 71 22 3a   T,HRDFLT","seq":
00d0   31 34 35 39 39 31 30 2c 22 66 73 22 3a 5b 31 2c   1459910,"fs":[1,
00e0   30 2c 31 35 36 37 35 34 31 31 2c 35 32 34 32 38   0,15675411,52428
00f0   38 5d 2c 22 72 61 64 69 6f 5f 73 74 61 74 73 22   8],"radio_stats"
0100   3a 5b 32 35 2c 31 2c 30 2c 33 2c 31 31 35 31 37   :[25,1,0,3,11517
0110   5d 2c 22 6d 71 74 74 5f 73 74 61 74 73 22 3a 5b   ],"mqtt_stats":[
0120   39 31 30 2c 36 30 35 5d 7d                        910,605]}

Here is a screenshot of MQTT Explorer:

Oh wait!! Never mind. It’s working… It just took a while to appear.

Sometimes HA takes a few minutes to display new sensors.

my docker logs complain about my API Key, but I’ve verified that my STATION_ID and STATION_TOKEN are correct.

ERROR:weatherflow2mqtt.forecast:Your API Key is invalid or does not support this operation
WARNING:weatherflow2mqtt.forecast:Forecast Server was unresponsive. Skipping forecast update

I installed Home Assistant Operating System and then installed WeatherFlow2MQTT for Home Assistant.

I’m not getting any WeatherFlow objects on the Home screen.

I have it installed on Home Assistant Container and it works fine. See my earlier post at WeatherFlow2MQTT for Home Assistant - #107 by user95

I know the WeatherFlow add-on runs and generates MQTT messages from the UDP messages because when I stop the add-on, the MQTT messages stop.

I can’t figure out what’s wrong.

Post your sanitized docker setup. Don’t just copy and paste. Remove any API Key, MQTT Host/Password, any location info, station ID

Below is my Docker command, I (personally preference) do it all on one line; but for posting I will present it so it is more readable.

docker run -d
--name=weatherflow2mqtt
--restart=unless-stopped
-v /home/glenn/weatherflow_config:/data
-p 0.0.0.0:50222:50222/udp
-e TZ=America/Los_Angeles
-e TEMPEST_DEVICE=True
-e UNIT_SYSTEM=imperial
-e RAPID_WIND_INTERVAL=0
-e DEBUG=False
-e ELEVATION=102.108
-e LATITUDE=xx.xxxxx
-e LONGITUDE=-xxx.xxxxx
-e WF_HOST=0.0.0.0 
-e WF_PORT=50222 
-e MQTT_HOST=xxx.xxx.xxx.xxx 
-e MQTT_PORT=1883 
-e MQTT_USERNAME= 
-e MQTT_PASSWORD= 
-e MQTT_DEBUG=False 
-e ADD_FORECAST=True 
-e STATION_ID=xxxxx 
-e STATION_TOKEN=xxxxxxxxxxxxxxxxxxx 
-e FORECAST_INTERVAL=30 
-e ZAMBRETTI_MIN_PRESSURE=29.046 
-e ZAMBRETTI_MAX_PRESSURE=30.657 
briis/weatherflow2mqtt:dev

The OS I have installed on the raspberry pi is Home Assistant Operating System

The only docker command options I have available are through the ha command set and the only options available for docker are:

  • ha docker info
  • ha docker registries

I don’t know where the docker containers are stored.

[core-ssh ~]$ docker run -d
-bash: docker: command not found
[core-ssh ~]$ ha docker run -d
Error: unknown shorthand flag: 'd' in -d
Usage:
  ha docker [command]

Aliases:
  docker, do

Examples:

  ha docker info
  ha docker registries

Available Commands:
  info        Shows information about the host docker backend
  registries  Manage private OCI docker registry

Flags:
  -h, --help   help for docker

Global Flags:
      --api-token string   Home Assistant Supervisor API token
      --config string      Optional config file (default is $HOME/.homeassistant.yaml)
      --endpoint string    Endpoint for Home Assistant Supervisor (default is 'supervisor')
      --log-level string   Log level (defaults to Warn)
      --no-progress        Disable the progress spinner
      --raw-json           Output raw JSON from the API

Use "ha docker [command] --help" for more information about a command.

FATA[0000] Error while executing rootCmd: unknown shorthand flag: 'd' in -d 
[core-ssh ~]$ 
[core-ssh ~]$ ha

The Home Assistant CLI is a small and simple command line utility that allows
you to control and configure different aspects of Home Assistant

Usage:
  ha [command]

Available Commands:
  addons            Install, update, remove and configure Home Assistant add-ons
  audio             Audio device handling.
  authentication    Authentication for Home Assistant users.
  available-updates Provides information about current pending updates
  backups           Create, restore and remove backups
  banner            Prints the CLI Home Assistant banner along with some useful information
  cli               Get information, update or configure the Home Assistant cli backend
  core              Provides control of the Home Assistant Core
  dns               Get information, update or configure the Home Assistant DNS server
  docker            Docker backend specific for info and OCI configuration
  hardware          Provides hardware information about your system
  help              Help about any command
  host              Control the host/system that Home Assistant is running on
  info              Provides a general Home Assistant information overview
  jobs              Get information and manage running jobs
  multicast         Get information, update or configure the Home Assistant Multicast
  network           Network specific for updating, info and configuration imports
  observer          Get information, update or configure the Home Assistant observer
  os                Operating System specific for updating, info and configuration imports
  refresh-updates   Reload stores and version information
  resolution        Resolution center of Supervisor, show issues and suggest solutions
  security          Get information and manage security functionality
  store             Install and update Home Asistant add-ons and manage stores
  supervisor        Monitor, control and configure the Home Assistant Supervisor

Flags:
      --api-token string   Home Assistant Supervisor API token
      --config string      Optional config file (default is $HOME/.homeassistant.yaml)
      --endpoint string    Endpoint for Home Assistant Supervisor (default is 'supervisor')
  -h, --help               help for ha
      --log-level string   Log level (defaults to Warn)
      --no-progress        Disable the progress spinner
      --raw-json           Output raw JSON from the API

Use "ha [command] --help" for more information about a command.
[core-ssh ~]$ 
[core-ssh lib]$ ha docker registries 
registries: {}
[core-ssh lib]$ ha docker images

The docker command provides command-line tools to control the host docker that
Home Assistant is running on. It allows you to do things like use private OCI registries.

Usage:
  ha docker [command]

Aliases:
  docker, do

Examples:

  ha docker info
  ha docker registries

Available Commands:
  info        Shows information about the host docker backend
  registries  Manage private OCI docker registry

Flags:
  -h, --help   help for docker

Global Flags:
      --api-token string   Home Assistant Supervisor API token
      --config string      Optional config file (default is $HOME/.homeassistant.yaml)
      --endpoint string    Endpoint for Home Assistant Supervisor (default is 'supervisor')
      --log-level string   Log level (defaults to Warn)
      --no-progress        Disable the progress spinner
      --raw-json           Output raw JSON from the API

Use "ha docker [command] --help" for more information about a command.
[core-ssh lib]$ 
[core-ssh lib]$ ha docker info
logging: journald
registries: {}
storage: overlay2
version: 20.10.19
[core-ssh lib]$ 
[core-ssh ~]$ ls -la
total 12
drwxr-xr-x    1 root     root          4096 Jan 16 13:24 .
drwxr-xr-x    1 root     root          4096 Jan 16 13:24 ..
lrwxrwxrwx    1 root     root            19 Aug 29 10:56 .bash_history -> /data/.bash_history
lrwxrwxrwx    1 root     root            19 Aug 29 10:56 .bash_profile -> /data/.bash_profile
lrwxrwxrwx    1 root     root            10 Aug 29 10:56 .ssh -> /data/.ssh
-rw-r--r--    1 root     root           905 Aug 29 10:56 .tmux.conf
lrwxrwxrwx    1 root     root             7 Jan 16 13:24 addons -> /addons
lrwxrwxrwx    1 root     root             7 Jan 16 13:24 backup -> /backup
lrwxrwxrwx    1 root     root             7 Jan 16 13:24 config -> /config
lrwxrwxrwx    1 root     root             6 Jan 16 13:24 share -> /share
lrwxrwxrwx    1 root     root             4 Jan 16 13:24 ssl -> /ssl
[core-ssh ~]$ 



Ok, the terminology you used in your previous post implied you were using docker. Containers typically means Docker.

Are you running this as an Add-On or as a docker container? There is a difference.

UPDATE:

I got it working by:
MQTT

Browse to your Home Assistant instance.
In the sidebar click on Settings.
From the configuration menu select: Devices & Services.
In the bottom right, click on the Add Integration button.
From the list, search and select “MQTT”.
Follow the instruction on screen to complete the set up.

This instance is an add-on. in the Home Assistant Operating System , not the Docker installation.

I switched to the OS version because I couldn’t figure out how to install Studio Code Server in the Home Assistant Container version. Maybe you could help me with that too.

This project monitors the UDP socket (50222) from a WeatherFlow Hub, and publishes the data to a MQTT Server. Data is formatted in a way that, it supports the MQTT Discovery format for Home Assistant, so a sensor will created for each entity that WeatherFlow sends out, if you have MQTT Discovery enabled.

Is MQTT discovery turned on?

[core-ssh lib]$ mosquitto_pub -r -h 127.0.0.1 -p 1883 -t "homeassistant/binary_sensor/garden/config" -m '{"name": "garden", "device_class": "motion", "state_topic": "homeassistant/binary_sensor/garden/state"}'
Error: Connection refused
[core-ssh lib]$

[core-ssh lib]$ mosquitto_sub -h 10.0.0.3 -t \# -d
Client null sending CONNECT
Client null received CONNACK (0)
Client null sending SUBSCRIBE (Mid: 1, Topic: #, QoS: 0, Options: 0x00)
Client null received SUBACK
Subscribed (mid: 1): 0
Client null received PUBLISH (d0, q0, r1, m0, 'shellyplugus/online', ... (4 bytes))
true
Client null received PUBLISH (d0, q0, r1, m0, 'shellyplugus-c049ef883a28/online', ... (4 bytes))
true
Client null received PUBLISH (d0, q0, r1, m0, 'shellyplugus-083af2008b14/online', ... (4 bytes))
true
Client null received PUBLISH (d0, q0, r1, m0, 'shellyplugus-083af2007648/online', ... (4 bytes))
true
Client null received PUBLISH (d0, q0, r1, m0, 'homeassistant/sensor/weatherflow2mqtt_HB-00064258/status/config', ... (512 bytes))
{"name": "Hub HB-00064258 Status", "unique_id": "HB-00064258-status", "device_class": "timestamp", "icon": "mdi:clock-outline", "state_topic": "homeassistant/sensor/weatherflow2mqtt_HB-00064258/status_update/state", "value_template": "{{ value_json.status }}", "json_attributes_topic": "homeassistant/sensor/weatherflow2mqtt_HB-00064258/status/attributes", "device": {"identifiers": ["weatherflow2mqtt_HB-00064258"], "manufacturer": "WeatherFlow", "name": "Hub HB-00064258", "model": "Hub", "sw_version": "171"}}
Client null received PUBLISH (d0, q0, r1, m0, 'homeassistant/sensor/weatherflow2mqtt_HB-00064258/status/attributes', ... (46 bytes))
{"attribution": "Powered by WeatherFlow2MQTT"}
Client null received PUBLISH (d0, q0, r1, m0, 'homeassistant/sensor/weatherflow2mqtt/weather/config', ... (461 bytes))
{"name": "Hub HB-00064258 Weather", "unique_id": "HB-00064258-weather", "icon": "mdi:chart-box-outline", "state_topic": "homeassistant/sensor/weatherflow2mqtt/weather/state", "value_template": "{{ value_json.weather }}", "json_attributes_topic": "homeassistant/sensor/weatherflow2mqtt/weather/attributes", "device": {"identifiers": ["weatherflow2mqtt_HB-00064258"], "manufacturer": "WeatherFlow", "name": "Hub HB-00064258", "model": "Hub", "sw_version": "171"}}

My weatherflow2mqtt logs complain about my API Key, but I’ve verified that my STATION_ID and STATION_TOKEN are correct.

ERROR:weatherflow2mqtt.forecast:Your API Key is invalid or does not support this operation
WARNING:weatherflow2mqtt.forecast:Forecast Server was unresponsive. Skipping forecast update

Could you try and go to the Swagger Page:

  • Click the Authorize Button, and enter your API Token in the field
  • Scroll down and find the station_id field. Enter your station_id and click the ‘Try it out!’ button.

Now check if you get data. If this works then your Token and API key works and I will then need more info from you to test it out with the Python wrapper.

I didn’t know this page existed. Thanks.

I tried the Swagger Page Authorization, but it didn’t help.

I had the wrong station ID configured.

The wrong setting I had was Tempest

The correct station ID that should have been configured was 61694

See API Key is invalid or does not support this operation ¡ Issue #210 ¡ briis/hass-weatherflow2mqtt ¡ GitHub

Now I don’t see the complaint in logs.

I installed my Tempest device yesterday. Super happy with it.

Everything apparently went well on the install of weatherflow2mqtt with all sensors populating in HA. I have, however, one error message in the logs which keeps repeating itself:

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

I was wondering how I might resolve this error?

edit:
Is there somewhere I can see a list of the dewpoint comfort level classifications/terminology. I would like to create some automations based around these classifications. In my limited time with the device I have logged:
Ok for Most
Comfortable
Uncomfortable
I would like a complete list if anyone has one?

many thanks

https://github.com/GlennGoddard/CanvasGaugeBackgrounds/blob/main/DewPoint/Example_DewPoint.jpg
This should be exactly what you want for the comfort levels.

1 Like

Great, it is. Thanks for that…

Posting this just to pat myself on the back a bit as I just solved a nagging problem caused by the loss of the dark sky api. I am an old coder in that I know lots of languages, all of which are in a museum somewhere. So struggled through it but finally persevered.

With the loss of dark sky, I needed to fill 3 holes in my HA configuration: 1 - cloud coverage so that I can have a current weather icon that actually reflects the sky conditions (CLR, FEW, SCT, BKN, OVC); 2 - A nice readable current and daily summary of the weather; and 3 - weather alerts.

A rest call to open weather api got me 1 and 3. Borrowing a template from some other users in the HA forum I modified it for use with weather forecast from WeatherFlow. When combined with my customized weather card I get a nice little weather presentation that scrolls to provide all of the forecast data provided. see nite mode below:

Happy to provide more information if anyone is interested of course. The code is not pretty but it works. BTW, whoever designed date/time functions in Python/Jinja is a sadist.

3 Likes

If you have it up on github, post the link.
If you are using this for HA, are you using the standard weather?
I personally use the animated weather card, I just haven’t got around to modding it to add more items.
I pull everything from WF2MQTT from my Tempest.
I pull weather alerts from NWS (USA). I added cloud base and fog to WF2MQTT.