---
title: "EnOcean EEP A5-07-01 Transmitter"
canonical: "https://docs.cuesystem.com/space/CVCHELP/532021300/EnOcean%20EEP%20A5-07-01%20Transmitter"
format: markdown
---
> Macro (toc)

---

This object can represent a virtual EnOcean device that is sending the same type of telegrams as EnOcean Occupancy sensors or devices of the same EEP.  

For shared properties and functions, see

- [https://cue.atlassian.net/wiki/spaces/CVCHELP/pages/531660831](https://cue.atlassian.net/wiki/spaces/CVCHELP/pages/531660831)
- [https://cue.atlassian.net/wiki/spaces/CVCHELP/pages/531759163](https://cue.atlassian.net/wiki/spaces/CVCHELP/pages/531759163).

# SendOccupancyState

This command sends the state of the virtual occupancy sensor  

#### Syntax 

```visualbasic
Function SendOccupancyState(occupied As Boolean) As Boolean
```

#### Parameters 

occupied 

[<u>Boolean</u>](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Boolean) where **True** means Occupied while **False** means Unoccupied  

#### Example 

```visualbasic
EnOcean_Device1.SendOccupancyState(True) // sens telegram ”Occupied”
```

***Return value**** *

[<u>Boolean</u>](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Boolean) **True** if telegram was successfully sent. Otherwise **False.** 

# SendTeachTelegram

This command sends the Teach telegram, which can be accepted by an external EnOcean device in Learn mode. The receiving EnOcean Device must be compliant with the current EEP. 

#### Syntax 

```visualbasic
Function SendTeachTelegram() As Boolean
```

#### Example 

```visualbasic
EnOcean_Device1.SendTeachTelegam() // sends teach telegram with current device ID
```

#### Return value 

[<u>Boolean</u>](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Boolean) **True** if telegram was successfully sent. Otherwise **False.** 

# EnOcean EEP A5-07-01  Transmitter Plugin

This plugin allows to Teach-in or Test the telegrams transmitted by this device. The actual ID is based on the actual BaseID of the channel and IDoffset, which is the device property in the CVC project. All the actual values are displayed on the plugin page:   

![image](media://9a560dbe-d6aa-4b7c-97ab-8eaa3b2fdcce)

Teach 

sends Teach-in telegram. It is using EnOcean 4BS Variation 1 Teach-in.  

Unoccupied 

testing button – sends telegram with the state: Unoccupied  

Occupied 

testing button – sends telegram with contact state: Occupied