smhi_wd
Read wind direction from SMHI in a virtual tag read script.
Read scripts only. Part of the virtual tag expression reference.
Reads the wind direction for a location and time from SMHI.
smhi_wd(lon: number, lat: number, time: number): number;
Parameters
lon— the longitude of the location.lat— the latitude of the location.time— the Unix timestamp, in seconds.
Return value
The wind direction at that location and time.