general updates

This commit is contained in:
root
2023-02-02 11:58:21 +13:00
parent 4244d8b6eb
commit 0c38ec96f0
2 changed files with 186 additions and 1 deletions

138
packages/weewx.yaml Normal file
View File

@@ -0,0 +1,138 @@
mqtt:
sensor:
- unique_id: weewx_windSpeed_kph
state_topic: "weewx/windSpeed_kph"
name: "Weewx Wind Speed"
unit_of_measurement: "kph"
value_template: "{{ value | round(1) }}"
icon: "mdi:weather-windy-variant"
- unique_id: weewx_windGust_kph
state_topic: "weewx/windGust_kph"
name: "Weewx Wind Gust"
unit_of_measurement: "kph"
value_template: "{{ value | round(1) }}"
icon: "mdi:outTemp_C"
- unique_id: weewx_outTemp_C
state_topic: "weewx/outTemp_C"
name: "Weewx Outdoor Temperature"
unit_of_measurement: "C"
device_class: "temperature"
value_template: "{{ value | round(1) }}"
icon: "mdi:thermometer"
- unique_id: weewx_inTemp_C
state_topic: "weewx/inTemp_C"
name: "Weewx Indoor Temperature"
unit_of_measurement: "C"
device_class: "temperature"
value_template: "{{ value | round(1) }}"
icon: "mdi:thermometer"
- unique_id: weewx_humidex_C
state_topic: "weewx/humidex_C"
name: "Weewx Humidex"
unit_of_measurement: "C"
device_class: "temperature"
value_template: "{{ value | round(1) }}"
icon: "mdi:thermometer"
- unique_id: weewx_dewpoint_C
state_topic: "weewx/dewpoint_C"
name: "Weewx Dewpoint"
unit_of_measurement: "C"
device_class: "temperature"
value_template: "{{ value | round(1) }}"
icon: "mdi:thermometer"
- unique_id: weewx_heatindex_C
state_topic: "weewx/heatindex_C"
name: "Weewx Heat Index"
unit_of_measurement: "C"
device_class: "temperature"
value_template: "{{ value | round(1) }}"
icon: "mdi:thermometer"
- unique_id: weewx_windchill_C
state_topic: "weewx/windchill_C"
name: "Weewx Windchill"
unit_of_measurement: "C"
device_class: "temperature"
value_template: "{{ value | round(1) }}"
icon: "mdi:thermometer"
- unique_id: weewx_outHumidity
state_topic: "weewx/outHumidity"
name: "Weewx Outdoor Humidity"
unit_of_measurement: "%"
value_template: "{{ value | round(1) }}"
icon: "mdi:water-percent"
- unique_id: weewx_inHumidity
state_topic: "weewx/inHumidity"
name: "Weewx Indoor Humidity"
unit_of_measurement: "%"
value_template: "{{ value | round(1) }}"
icon: "mdi:water-percent"
- unique_id: weewx_barometer_mbar
state_topic: "weewx/barometer_mbar"
name: "Weewx Air Pressure"
unit_of_measurement: "mbar"
value_template: "{{ value | round(3) }}"
icon: "mdi:gauge"
- unique_id: weewx_altimeter_mbar
state_topic: "weewx/altimeter_mbar"
name: "Weewx Air Pressure"
unit_of_measurement: "mbar"
value_template: "{{ value | round(3) }}"
icon: "mdi:gauge"
- unique_id: weewx_windDir
state_topic: "weewx/windDir"
name: "Weewx Wind Direction"
unit_of_measurement: "degrees"
value_template: "{{ value | round(1) }}"
icon: "mdi:compass"
- unique_id: weewx_windGustDir
state_topic: "weewx/windGustDir"
name: "Weewx Wind Gust Direction"
unit_of_measurement: "degrees"
value_template: "{{ value | round(1) }}"
icon: "mdi:compass"
- unique_id: weewx_rainRate_cm_per_hour
state_topic: "weewx/rainRate_cm_per_hour"
name: "Weewx Rain Rate"
unit_of_measurement: "cm/hour"
value_template: "{{ value | round(4) }}"
icon: "mdi:weather-rainy"
- unique_id: weewx_rain_cm
state_topic: "weewx/rain_cm"
name: "Weewx Rain Now"
unit_of_measurement: "cm"
value_template: "{{ value | round(4) }}"
icon: "mdi:weather-rainy"
- unique_id: weewx_hourRain_cm
state_topic: "weewx/hourRain_cm"
name: "Weewx Hourly Rain"
unit_of_measurement: "cm"
value_template: "{{ value | round(4) }}"
icon: "mdi:weather-rainy"
- unique_id: weewx_dayRain_cm
state_topic: "weewx/dayRain_cm"
name: "Weewx Daily Rain"
unit_of_measurement: "cm"
value_template: "{{ value | round(4) }}"
icon: "mdi:weather-rainy"
- unique_id: weewx_rain24_cm
state_topic: "weewx/rain24_cm"
name: "Weewx 24 Hour Rain"
unit_of_measurement: "cm"
value_template: "{{ value | round(4) }}"
icon: "mdi:weather-rainy"
- unique_id: weewx_rainTotal
state_topic: "weewx/rainTotal"
name: "Weewx Rain Total"
unit_of_measurement: "cm"
value_template: "{{ value | multiply(0.3937) | round(4) }}"
icon: "mdi:weather-rainy"
- unique_id: weewx_dateTime
state_topic: "weewx/dateTime"
name: "WeeWX Timestamp"
unit_of_measurement: "s"
value_template: "{{ value }}"
- unique_id: weewx_irxCheckPercent
state_topic: "weewx/rxCheckPercent"
name: "WeeWX Receive Quality"
unit_of_measurement: "%"
value_template: "{{ value }}"