EnOcean Link  1.14.0.0
Middleware to Connect EnOcean easily to other Projects
eoEEP_D233xx.h
Go to the documentation of this file.
1 /******************************************************************************
2  DISCLAIMER
3 
4  THIS SOFTWARE PRODUCT ("SOFTWARE") IS PROPRIETARY TO ENOCEAN GMBH, OBERHACHING,
5  GERMANY (THE "OWNER") AND IS PROTECTED BY COPYRIGHT AND INTERNATIONAL TREATIES OR
6  PROTECTED AS TRADE SECRET OR AS OTHER INTELLECTUAL PROPERTY RIGHT. ALL RIGHTS, TITLE AND
7  INTEREST IN AND TO THE SOFTWARE, INCLUDING ANY COPYRIGHT, TRADE SECRET OR ANY OTHER
8  INTELLECTUAL PROPERTY EMBODIED IN THE SOFTWARE, AND ANY RIGHTS TO REPRODUCE,
9  DISTRIBUTE, MODIFY, DISPLAY OR OTHERWISE USE THE SOFTWARE SHALL EXCLUSIVELY VEST IN THE
10  OWNER. ANY UNAUTHORIZED REPRODUCTION, DISTRIBUTION, MODIFICATION, DISPLAY OR OTHER
11  USE OF THE SOFTWARE WITHOUT THE EXPLICIT PERMISSION OF OWNER IS PROHIBITED AND WILL
12  CONSTITUTE AN INFRINGEMENT OF THE OWNER'S RIGHT AND MAY BE SUBJECT TO CIVIL OR
13  CRIMINAL SANCTION.
14 
15  THIS SOFTWARE IS PROVIDED BY THE OWNER "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
16  INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
17  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN PARTICULAR, THE OWNER DOES NOT WARRANT
18  THAT THE SOFTWARE SHALL BE ERROR FREE AND WORKS WITHOUT INTERRUPTION.
19 
20  IN NO EVENT SHALL THE OWNER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
21  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26  ******************************************************************************/
27 
28 #if !defined(eoEEP_D233_H__INCLUDED_)
29 #define eoEEP_D233_H__INCLUDED_
30 
33 #include "eoD2EEProfile.h"
151 typedef enum
153 {
157  SENSOR_PARAM = 0x01,
172 } D233_COMMANDS;
173 
175 typedef enum
176 {
188  COV_SENSOR = 0x05,
190  CO_SENSOR = 0x06,
192  CO2_SENSOR = 0x07,
202  SOUND_SENSOR = 0x0C,
220  DAY_TIME_END = 0x15,
234  VLD_TIME_DAY = 0x1C,
246  HEATING_FLAG = 0x22,
268 
270 typedef enum
271 {
287 
289 typedef enum
290 {
292  Q_EXT_TEMP = 0x00,
296  Q_PROGRAM = 0x02,
298  Q_TIME_DATE = 0x03,
300  INFO_GATEWAY = 0x04,
312  INFO_HEATER = 0x0D,
314  ACK_FRAME = 0x0F,
316 
318 typedef enum
319 {
321  DAY_MONDAY = 0x00,
323  DAY_TUESDAY = 0x01,
327  DAY_THURSDAY = 0x03,
329  DAY_FRIDAY = 0x04,
331  DAY_SATURDAY = 0x05,
333  DAY_SUNDAY = 0x06
335 
337 typedef enum
338 {
348 
350 typedef enum
351 {
357  PILOT_WIRE_1 = 0x02,
361 
363 {
364 private:
365  uint8_t cmd;
366 
367 public:
368  eoReturn SetType(uint8_t type);
369  eoReturn Parse(const eoMessage &msg);
374  eoEEP_D233xx(uint16_t size = 10);
375  virtual ~eoEEP_D233xx();
376  virtual eoReturn SetValue(CHANNEL_TYPE type, uint32_t value, uint8_t index);
377  virtual eoReturn SetCommand(uint8_t cmd);
378  eoChannelInfo* GetChannel(CHANNEL_TYPE type, uint8_t index);
379 };
382 #endif // !defined(EA_259BDE62_FE41_490e_8B3E_427A72922C4A__INCLUDED_)
Pilot wire - 1 2
Definition: eoEEP_D233xx.h:357
D233_PILOT_WIRE_ENUMS
Pilot wire enums for D2-33-xx profiles.
Definition: eoEEP_D233xx.h:350
Internal temperature 2 43
Definition: eoEEP_D233xx.h:264
D233_DISP_CONTENT
Time notation status enums for D2-33-xx profiles.
Definition: eoEEP_D233xx.h:270
eoReturn Parse(const eoMessage &msg)
Parses a msg using learned in Profile from Device.
Pilot wire - 2 3
Definition: eoEEP_D233xx.h:359
Air moving sensor 14
Definition: eoEEP_D233xx.h:206
CO2 sensor 7
Definition: eoEEP_D233xx.h:192
Request frame 0
Definition: eoEEP_D233xx.h:178
Information to gateway 4
Definition: eoEEP_D233xx.h:300
Error between internal temp and external temp is greater than 4 C 8
Definition: eoEEP_D233xx.h:346
Question: time and date 3
Definition: eoEEP_D233xx.h:298
Month 29
Definition: eoEEP_D233xx.h:236
Minute 31
Definition: eoEEP_D233xx.h:240
Sound sensor 12
Definition: eoEEP_D233xx.h:202
Particles 10 sensor 10
Definition: eoEEP_D233xx.h:198
uint8_t type
Type.
Definition: eoProfile.h:69
VLD_D233_INDEXES
Index enums for D2-33-xx profiles.
Definition: eoEEP_D233xx.h:175
Information to heater 14
Definition: eoEEP_D233xx.h:312
Clear schedule 27
Definition: eoEEP_D233xx.h:232
D233_REQUEST_FRAME_ENUM
Request frame enums for D2-33-xx profiles.
Definition: eoEEP_D233xx.h:289
D233_ERROR_ENUMS
Error enums for D2-33-xx profiles.
Definition: eoEEP_D233xx.h:337
Temperature scale status 16
Definition: eoEEP_D233xx.h:210
eoMessage msg
helper function to convert bits
Definition: eoProfile.h:302
Temperature setpoint 5
Definition: eoEEP_D233xx.h:283
eoChannelInfo * GetChannel(CHANNEL_TYPE type, uint8_t index)
Question: sensor air flow, hygrometry, pressure and temperature 13
Definition: eoEEP_D233xx.h:310
Pilot wire flag 35
Definition: eoEEP_D233xx.h:248
CO sensor 6
Definition: eoEEP_D233xx.h:190
Pilot wire active 1
Definition: eoEEP_D233xx.h:355
Request and status 8
Definition: eoEEP_D233xx.h:163
Message Class for communication.
Definition: eoMessage.h:47
No change 0
Definition: eoEEP_D233xx.h:273
End time day 21
Definition: eoEEP_D233xx.h:220
Window open detection status 2
Definition: eoEEP_D233xx.h:182
Start time minute 25
Definition: eoEEP_D233xx.h:228
Question: parameters heaters 9
Definition: eoEEP_D233xx.h:304
Derogation flag 38
Definition: eoEEP_D233xx.h:254
Value of CO, COV, CO2 and sound level 10
Definition: eoEEP_D233xx.h:167
Heater parameters 9
Definition: eoEEP_D233xx.h:165
Particles 1 sensor 8
Definition: eoEEP_D233xx.h:194
Hour 32
Definition: eoEEP_D233xx.h:242
Monday 0
Definition: eoEEP_D233xx.h:321
Internal temperature 39
Definition: eoEEP_D233xx.h:256
No pilot wire 0
Definition: eoEEP_D233xx.h:353
eoReturn SetType(uint8_t type)
Gateway request message 0
Definition: eoEEP_D233xx.h:155
Default 1
Definition: eoEEP_D233xx.h:275
Room temperature (internal) 3
Definition: eoEEP_D233xx.h:279
The class to handle EEP D233 profiles.
Definition: eoEEP_D233xx.h:362
Thursday 3
Definition: eoEEP_D233xx.h:327
Room temperature (external) 4
Definition: eoEEP_D233xx.h:281
Acknowledge frame 15
Definition: eoEEP_D233xx.h:314
Abstract class for channel information. Abstract class for channel information. From this class speci...
Definition: eoChannelInfo.h:77
End time hour 23
Definition: eoEEP_D233xx.h:224
eoEEP_D233xx(uint16_t size=10)
Question: sensor parameters 1
Definition: eoEEP_D233xx.h:294
Firmware version 41
Definition: eoEEP_D233xx.h:260
Value of air, hygrometry, pressure and temperature 12
Definition: eoEEP_D233xx.h:171
Day 28
Definition: eoEEP_D233xx.h:234
Display off 6
Definition: eoEEP_D233xx.h:285
D233_COMMANDS
Command enums for D2-33-xx profiles.
Definition: eoEEP_D233xx.h:152
PIR status detection 3
Definition: eoEEP_D233xx.h:184
Key lock user status 37
Definition: eoEEP_D233xx.h:252
Pressure sensor 15
Definition: eoEEP_D233xx.h:208
eoReturn
contains all the return values from different functions
Definition: eoApiDef.h:40
Hygrometry sensor 13
Definition: eoEEP_D233xx.h:204
Temperature sensor is short circuit 2
Definition: eoEEP_D233xx.h:342
External temperature 1
Definition: eoEEP_D233xx.h:180
EnOcean Equipment Profiles.
Definition: eoD2EEProfile.h:96
Question: sensor particle/radioactivity 11
Definition: eoEEP_D233xx.h:308
Sensor parameters 1
Definition: eoEEP_D233xx.h:157
Saturday 5
Definition: eoEEP_D233xx.h:331
Radio activity sensor 11
Definition: eoEEP_D233xx.h:200
Start time hour 26
Definition: eoEEP_D233xx.h:230
End time minute 22
Definition: eoEEP_D233xx.h:222
Temperature measures is greater than 50 C 4
Definition: eoEEP_D233xx.h:344
Time and date 3
Definition: eoEEP_D233xx.h:161
Derogation temperature setpoint 40
Definition: eoEEP_D233xx.h:258
Display content status 18
Definition: eoEEP_D233xx.h:214
CHANNEL_TYPE
Definition: eoChannelEnums.h:169
Question: status and flags 8
Definition: eoEEP_D233xx.h:302
Wednesday 2
Definition: eoEEP_D233xx.h:325
Time notation status 17
Definition: eoEEP_D233xx.h:212
Derogation status 19
Definition: eoEEP_D233xx.h:216
Heating flag 34
Definition: eoEEP_D233xx.h:246
virtual eoReturn SetCommand(uint8_t cmd)
Tuesday 1
Definition: eoEEP_D233xx.h:323
Question: program 2
Definition: eoEEP_D233xx.h:296
Value of particles and radioactivity sensor 11
Definition: eoEEP_D233xx.h:169
Day week 33
Definition: eoEEP_D233xx.h:244
Temperature sensor is open 1
Definition: eoEEP_D233xx.h:340
Sunday 6
Definition: eoEEP_D233xx.h:333
Radio activity value 42
Definition: eoEEP_D233xx.h:262
Particles 2.5 sensor 9
Definition: eoEEP_D233xx.h:196
Time 2
Definition: eoEEP_D233xx.h:277
Question: external temperature 0
Definition: eoEEP_D233xx.h:292
Friday 4
Definition: eoEEP_D233xx.h:329
Year 30
Definition: eoEEP_D233xx.h:238
Question: CO/Hygro/Sound 10
Definition: eoEEP_D233xx.h:306
Window open detection flag 36
Definition: eoEEP_D233xx.h:250
Reference temperature flag 44
Definition: eoEEP_D233xx.h:266
D233_ENUM_DAYS
Day enums for D2-33-xx profiles.
Definition: eoEEP_D233xx.h:318
Program 2
Definition: eoEEP_D233xx.h:159
Scheduled order type 20
Definition: eoEEP_D233xx.h:218
Reference temperature status 4
Definition: eoEEP_D233xx.h:186
COV sensor 5
Definition: eoEEP_D233xx.h:188
Start time day 24
Definition: eoEEP_D233xx.h:226