Difference between revisions of "AIO API Event Codes"
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
!<div align="center">u.MSB</div> | !<div align="center">u.MSB</div> | ||
!<div align="center">u.LSB</div> | !<div align="center">u.LSB</div> | ||
− | |Output x off: This Event will be send when an output is switched off with dimmer value y, timer type z and timer value u. | + | |Output x off: This Event will be send when an output is switched off with dimmer value y, timer type z and timer value u. See Note 1. |
|- | |- | ||
!<div align="center">0</div> | !<div align="center">0</div> | ||
Line 28: | Line 28: | ||
!<div align="center">u.MSB</div> | !<div align="center">u.MSB</div> | ||
!<div align="center">u.LSB</div> | !<div align="center">u.LSB</div> | ||
− | |Output x on: This Event will be send when an output is switched on with dimmer value y, timer type z and timer value u. | + | |Output x on: This Event will be send when an output is switched on with dimmer value y, timer type z and timer value u. See Note 1. |
|- | |- | ||
!<div align="center">2</div> | !<div align="center">2</div> | ||
Line 60: | Line 60: | ||
|Brightness sensor x changed: This Event will be send when Brightness sensor x has changed, new humidity will be found in y | |Brightness sensor x changed: This Event will be send when Brightness sensor x has changed, new humidity will be found in y | ||
|- | |- | ||
+ | |||
+ | Notes: | ||
+ | * Note 1: timer type specifies which kind of timer is active for a given output and his timer value. | ||
+ | ** timer type=0: No timer is active | ||
+ | ** timer type=1: 100ms timer | ||
+ | ** timer type=2: 1s timer | ||
+ | ** timer type=3: 1m timer |
Revision as of 12:50, 16 July 2019
Notes:
- Note 1: timer type specifies which kind of timer is active for a given output and his timer value.
- timer type=0: No timer is active
- timer type=1: 100ms timer
- timer type=2: 1s timer
- timer type=3: 1m timer
Type | Action | DeviceNr.MSB | DeviceNr.LSB | Data0 | Data1 | Data2 | Data3 | Description |
---|---|---|---|---|---|---|---|---|
0
|
0
|
x.MSB
|
x.LSB
|
y
|
z
|
u.MSB
|
u.LSB
|
Output x off: This Event will be send when an output is switched off with dimmer value y, timer type z and timer value u. See Note 1. |
0
|
1
|
x.MSB
|
x.LSB
|
y
|
z
|
u.MSB
|
u.LSB
|
Output x on: This Event will be send when an output is switched on with dimmer value y, timer type z and timer value u. See Note 1. |
2
|
0
|
0
|
x
|
0
|
y
|
0
|
0
|
Temperature sensor x changed: This Event will be send when Temperature sensor x has changed, new temperature will be found in y |
2
|
1
|
0
|
x
|
0
|
y
|
0
|
0
|
Humidity sensor x changed: This Event will be send when Humidity sensor x has changed, new humidity will be found in y |
2
|
2
|
0
|
x
|
y.MSB
|
y.LSB
|
0
|
0
|
Brightness sensor x changed: This Event will be send when Brightness sensor x has changed, new humidity will be found in y |