-
Notifications
You must be signed in to change notification settings - Fork 9
Ikea Trådfri commands
ISO-B edited this page Jan 4, 2018
·
3 revisions
Command: 0092
Message: '02' + short_address + '0101' + state
Parameters:
- short_address
device short address
- state:
- Off:
00
- On:
01
- Toggle:
02
- Off:
Command: 0081
Message: '02' + short_address + '0101' + onoff + level + time
Parameters:
- short_address
target device short address
- onoff:
- On:
01
(Turns bulb on if its off) - Might be possible to change brightness while bulb is off
- On:
- level:
- Brightness level between
01
-FE
/ 1 - 255 - Level
00
turns bulb Off
- Brightness level between
- time:
- How long transition takes.
0000
-FFFF
/ 0 - 65535
- How long transition takes.
Command: 00C0
Message: '02' + short_address + '0101' + temperature + time
Parameters:
- short_address
target device short address
- temperature:
- This is real color temperature. Lamp has 256 different steps.
- Temperature between
0100
-0200
/ 256 - 512 = 256
- time:
- How long transition takes.
0000
-FFFF
/ 0 - 65535
- How long transition takes.
short_address = 6E8E
OFF: z.send_data('0092', '026E8E010100')
ON: z.send_data('0092', '026E8E010101')
Toggle: z.send_data('0092', '026E8E010102')
Brightness to min instant: z.send_data('0081', '026E8E010101010000')
Brightness to min fade: z.send_data('0081', '026E8E010101010010')
Brightness to max instant: z.send_data('0081', '026E8E010101FE0000')
Brightness to max fade: z.send_data('0081', '026E8E010101FE0010')
Brightness to 50% instant: z.send_data('0081', '026E8E010101800000')
Brightness to 50% fade: z.send_data('0081', '026E8E010101800010')
Color to cold white: z.send_data('00C0', '026E8E010101000000')
Color to warm white: z.send_data('00C0', '026E8E010102000000')
Color to middle: z.send_data('00C0', '026E8E010101800000')