Replies: 4 comments 3 replies
-
That conversion snuck in with #1390 and likely should not be there. Units are selected with |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
-
PR up: #2801 |
Beta Was this translation helpful? Give feedback.
0 replies
-
With the PR being merged, is this discussion now about a fixed bug and should it be closed? Or is there something else? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I just set up as Docker containers rtl_433 along with rtl_433_autodiscovery to wrap
rtl_433_mqtt_hass.py
. I can see the output of the sensors in my new Acurite 5-in-1 station now in Home Assistant:I'm not totally sure why the sensors only have suffixes (e.g.
-F
,-RT
, etc.).I'm in the US, and have set the units to F/in/mph on the Acurite display, and the units are set to the same in Home Assistant. But as you can see the temperature is correctly outputting Fahrenheit, but the rain total and wind speed are in metric.
Looking through my autodiscovery topic in MQTT, I see that the sensor is converting from the imperial value back to metric for e.g. rain rate:
Note the state topic is
rain_in
.I'm a little confused why this conversion is happening. Setting
-C native
in rtl_433 doesn't have any effect.What I want is for the sensor data in HA to match the global unit setting in HA.
In
rtl_433_mqtt_hass.py
these are the mappings for the sensors forrain_mm
andrain_in
:Is it wrong that both
rain_mm
andrain_in
have"unit_of_measurement": "mm"
? Is that why the-RT
sensor is showing in mm?Beta Was this translation helpful? Give feedback.
All reactions