astrandb / weatherlink

Weatherlink for Home Assistant
MIT License
10 stars 1 forks source link

Wind Chill - Vue #139

Closed lanky8804 closed 6 months ago

lanky8804 commented 6 months ago

Feature request

Hi Are you able to add wind chill? I have a Vantage Vue. Many thanks Alex

image

What version of the integration are you using?

2024.1.1

Diagnostic data file

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

astrandb commented 6 months ago

It is there on my Vue/Console setup. What type of console/gateway and API version are you using? I may have missed to enable this sensor for some combination(s).

lanky8804 commented 6 months ago

It is there on my Vue/Console setup. What type of console/gateway and API version are you using? I may have missed to enable this sensor for some combination(s).

Am using weatherlink live with a vantage vue, API v2.

What is the dif between the API v1 and v2?

lanky8804 commented 6 months ago

Some other sensors that i have previously custom coded which would be nice are:

Have attached my code, may there are available in API v1 also but not API v2??

vantage_wind_speed_avg_last_1_min: friendly_name: 'Vantage Wind Speed Average Last 1 Min' unit_of_measurement: "kts" value_template: '{{ state_attr("sensor.davis_vantage_vue_curr", "data")["conditions"][0]["wind_speed_avg_last_1_min"] | round(1) }}' vantage_wind_speed_avg_last_2_min: friendly_name: 'Vantage Wind Speed Average Last 2 Min' unit_of_measurement: "kts" value_template: '{{ state_attr("sensor.davis_vantage_vue_curr", "data")["conditions"][0]["wind_speed_avg_last_2_min"] | round(1) }}' vantage_wind_speed_avg_last_10_min: friendly_name: 'Vantage Wind Speed Average Last 10 Min' unit_of_measurement: "kts" value_template: '{{ state_attr("sensor.davis_vantage_vue_curr", "data")["conditions"][0]["wind_speed_avg_last_10_min"] | round(1) }}' vantage_wind_speed_gust_last_2_min: friendly_name: 'Vantage Wind Speed Gust Last 2 Min' unit_of_measurement: "kts" value_template: '{{ state_attr("sensor.davis_vantage_vue_curr", "data")["conditions"][0]["wind_speed_hi_last_2_min"] | round(1) }}' vantage_wind_speed_gust_last_10_min: friendly_name: 'Vantage Wind Speed Gust Last 10 Min' unit_of_measurement: "kts" value_template: '{{ state_attr("sensor.davis_vantage_vue_curr", "data")["conditions"][0]["wind_speed_hi_last_10_min"] | round(1) }}' vantage_rain_rate_last: friendly_name: 'Vantage Rain Rate' unit_of_measurement: "mm" value_template: '{{ state_attr("sensor.davis_vantage_vue_curr", "data")["conditions"][0]["rain_rate_last"] }}' vantage_rain_rate_hi: friendly_name: 'Vantage Rain High' unit_of_measurement: "mm" value_template: '{{ state_attr("sensor.davis_vantage_vue_curr", "data")["conditions"][0]["rain_rate_hi"] }}' vantage_rainfall_last_15_min: friendly_name: 'Vantage Rainfall Last 15 Min' unit_of_measurement: "mm" value_template: '{{ state_attr("sensor.davis_vantage_vue_curr", "data")["conditions"][0]["rainfall_last_15_min"] }}' vantage_rainfall_last_hour: friendly_name: 'Vantage Rainfall Last Hour' unit_of_measurement: "mm" value_template: '{{ state_attr("sensor.davis_vantage_vue_curr", "data")["conditions"][0]["rainfall_last_60_min"] }}' vantage_rainfall_last_24_hours: friendly_name: 'Vantage Rainfall Last 24 Hours' unit_of_measurement: "mm" value_template: '{{ state_attr("sensor.davis_vantage_vue_curr", "data")["conditions"][0]["rainfall_last_24_hr"] }}'

astrandb commented 6 months ago

What is the dif between the API v1 and v2?

APIv2 is recommended and probably more future proof, but it only contains current obesvervations and no general weather info or any forecasts. I will take a look in code the why you can't see the windchill info.

astrandb commented 6 months ago

WindChill is disabled by default, Please look at the bottom of all sensors and you will find a couple of less used sensors that you can enable if you want dem.

lanky8804 commented 6 months ago

Excellent, thank you.

Would you be able to add these sensors also so they are all in 1 integration?

astrandb commented 6 months ago

I will put them on the wish-list.