---
title: "sensorCUE-W"
canonical: "https://docs.cuesystem.com/space/CVCHELP/522682830/sensorCUE-W"
format: markdown
---
> Macro (toc)

---

# Properties

The** Address** of the device, from 2 to 30, defaults to 2. 

# GetLightLevel

This function returns a light level. The expected response value range is from 1 to 30000. The lowest values mean the highest lighting levels, and the highest values mean dark. The typical, expected return values are as follows: For straight full light, the return values are below 100. For bright rooms, the return values are about 700-800. For dark rooms, the return values are about 3500-5000. 

#### Syntax 

```visualbasic
Function GetLightLevel() As Double
```

#### Return value 

<u>[Double](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Double)</u> It is the light level. 

# GetTemperatureCelsius

This function returns a temperature in degrees Celsius. 

#### Syntax* *

```visualbasic
Function GetTemperatureCelsius() As Double
```

#### Return value* *

<u>[Double](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Double)</u> It is the temperature. 

# GetTemperatureFahrenheit

This function returns a temperature in degrees Fahrenheit. 

#### Syntax 

```visualbasic
Function GetTemperatureFahrenheit() As Double
```

#### Return value 

<u>[Double](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Double)</u> It is the temperature.