Hi there - thanks for posting - I’m looking to do the same thing. Do you know if the integration supports UDP updates for wind? How fast are you able to get updates? I’m wanting to get the 2.5 second updates for wind. Many thanks.
Hi, sorry for the delay.
The limitation is the hardward in the weatherlink live box as it isnt powerful enough. I have discussed this with the developer on github before.
I have tried 2.5s but it will often display NaN on the sensor, about 5-10s works. I mainly look at the graph if I am looking for trends.
UDP I am not sure.
Working for me on the v1 api - had to use the Device Id instead of the username in the user string in the api link
rest:
- resource: 'https://api.weatherlink.com/v1/NoaaExt.json?user=1023EDDF3&pass=MyPSSWRD&apiToken=F12314EABKBAC.......'
scan_interval: 300
sensor:
- name: 'Davis Temp Outside'
unique_id: '34d36ace-a090-4d9c-b64c-ee772df2d511davis_temp_out'
value_template: '{{ value_json.temp_c }}'
device_class: 'temperature'
unit_of_measurement: '°C'
- name: 'Davis Humidity'
unique_id: '34d36ace-a090-4d9c-b64c-ee772df2d511davis_humididty'
unit_of_measurement: '%'
device_class: 'humidity'
value_template: '{{ value_json.relative_humidity }}'
- name: 'Davis Temp In'
unique_id: '34d36ace-a090-4d9c-b64c-ee772df2d511davis_temp_in'
device_class: 'temperature'
unit_of_measurement: '°C'
value_template: '{{ ((value_json.davis_current_observation.temp_in_f | float - 32) * (5/9)) | round(1) }}'
- name: 'Davis Wind'
unique_id: '34d36ace-a090-4d9c-b64c-ee772df2d511davis_kmh'
unit_of_measurement: 'kn'
device_class: 'wind_speed'
value_template: '{{ ((value_json.wind_mph |float) * 0.868976 )|round(1)}}'
- name: David Wind Direction
unique_id: '34d36ace-a090-4d9c-b64c-ee772df2d511davis_wind_direction'
unit_of_measurement: '°'
value_template: '{{value_json.wind_degrees}}'
# - name: 'Davis Solar Radiation'
# unique_id: '34d36ace-a090-4d9c-b64c-ee772df2d511davis_solar'
# device_class: 'irradiance'
# unit_of_measurement: 'W/m²'
# value_template: '{{ value_json.davis_current_observation.solar_radiation }}'
- name: 'Davis Rain'
unique_id: '34d36ace-a090-4d9c-b64c-ee772df2d511davis_rain'
device_class: 'distance'
unit_of_measurement: 'mm'
value_template: '{{ ((value_json.davis_current_observation.rain_day_in | float) * 25.4) | round(1) }}'
- name: 'Davis Pressure'
unique_id: '34d36ace-a090-4d9c-b64c-ee772df2d511davis_pressure'
device_class: 'pressure'
unit_of_measurement: 'hPa'
value_template: '{{ value_json.pressure_mb }}'
Mine started working again with no explanation (or did I reboot? - can’t remember)
So getting this data is cool, but is it possible to trigger an automation based on the data?
Still a noob and not a programmer, you guys and you tube have taught me a ton so far.
Thank you.
Basic one I have is to check how much rain there was in last 24h and if less than threshold it waters my garden if over my set amount it doesn’t.
Anyone have any suggestions for getting max wind speed on a card to display from a longer time interval than 2 mins? Seems to be the default.
I have just released an integration for Davis WeatherLink as a custom_component.
It has fairly complete support for Vantage Pro and Vue sensor suites with IP Logger, WeatherLink Live and the new WeatherLink Console. It defaults to API-V2 but it also works with API-1.
You can get it here: GitHub - astrandb/weatherlink: Weatherlink for Homeassistant
I have submitted the integration for inclusion into HACS default repository but it ususally takes a couple of weeks until it appears there. For the time beeing you can add the repo as a custom repository for integrations in HACS.
All feedback is appreciated
Enjoy!
Hello Ake
Firstly, I would like to wish you a happy new year
Thanks for the great integration via HACS.
It also works perfectly with the latest version of hassio.
However, there is one downside. The value for the UV index is not read out or I can’t find it.
Am I doing something wrong or would it be possible to integrate this into the programme?
I would be very grateful as I use this for the automatic control of the blinds.
Many thanks and have a relaxing weekend
Gregor
There is probably something missing in the code.
Please create an issue in the repo on GitHub and describe what device and sensors you have and I will take a look.
Thanks for the quick reply
I will try to create such a report in GitHub.