---
title: "Description of Current weather"
canonical: "https://docs.cuesystem.com/space/CVCGC/689176591/Description%20of%20Current%20weather"
format: markdown
---
# CurrentWeather

![image](media://db7c7cb2-06f6-4b75-984d-0e1391f49a91)


This object is dependent on the DailyWeatherFromOpenWeather object, which must also be inserted into the project. The CurrentWeather object can be placed on any window in the project and displays only the current weather, identical to the DailyWeatherFromOpenWeather object.  The DailyWeatherFromOpenWeather object generates the OnCurrentWeatherChanged event, which needs to be linked to the CurrentWeather object and the SetCurrentWeather function inserted into the linked event body according to the following example.


```visualbasic
Private Function wWeather_DailyWeatherFromOpenWeatherMap1_OnCurrentWeatherChanged(currentweather As Namespace "CUE.Device.DailyWeatherFromOpenWeatherMapBase.1".WeatherStructure) Link wWeather.DailyWeatherFromOpenWeatherMap1.OnCurrentWeatherChanged
	wHome.CurrentWeather1.SetCurrentWeather(currentweather)
End Function
```

[Description of the structure WeatherStructure](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/689537033)