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

---

This object can represent a virtual EnOcean device that is sending the same type of telegrams as EnOcean STM250 or other devices of the same profile.

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).

# SendContactState

This command sends the state of the virtual contact sensor  

#### Syntax 

```visualbasic
Function SendContactState(newstate As Boolean) As Boolean
```

#### Parameters 

newstate 

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

#### Example 

```visualbasic
EnOcean_Device1.SendContactState(True) // sends telegram Close
```

#### 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 if it was set to Learn mode prior to this telegram being sent. 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 D2-00-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://3092f56f-8c6c-4f6f-b94e-172dfdf5e60b)

Teach 

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

Open 

testing button – sends telegram with contact state: Open  

Close 

testing button – sends telegram with contact state: Close