Skip to content

Commit d9786f8

Browse files
authored
IKEA devices - some adjustments and fixes (#8356)
* IKEA light bulbs - some adjustments and fixes * Update product names * E12 to E14 * correction * Name adjustments * Add Tradfri bulb gu10 ww 345lm * Add more attr/productid * Now all are written in lowercase * Finish * Add more information
1 parent 0643eb6 commit d9786f8

22 files changed

+399
-36
lines changed

devices/ikea/badring_water_leak_sensor.json

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"manufacturername": "$MF_IKEA",
55
"modelid": "BADRING Water Leakage Sensor",
66
"vendor": "IKEA",
7-
"product": "Badring Water leakage sensor (E2202)",
7+
"product": "Badring water leakage sensor (E2202)",
88
"sleeper": true,
99
"status": "Gold",
1010
"subdevices": [
@@ -45,6 +45,23 @@
4545
{
4646
"name": "attr/name"
4747
},
48+
{
49+
"name": "attr/productid",
50+
"parse": {
51+
"fn": "zcl:attr",
52+
"ep": 1,
53+
"cl": "0x0000",
54+
"at": "0x000A",
55+
"eval": "Item.val = Attr.val"
56+
},
57+
"read": {
58+
"fn": "zcl:attr",
59+
"ep": 1,
60+
"cl": "0x0000",
61+
"at": "0x000A"
62+
},
63+
"refresh.interval": 86400
64+
},
4865
{
4966
"name": "attr/swversion"
5067
},
@@ -129,4 +146,4 @@
129146
]
130147
}
131148
]
132-
}
149+
}

devices/ikea/inspelning_smart_plug.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"manufacturername": "$MF_IKEA",
55
"modelid": "INSPELNING Smart plug",
66
"vendor": "IKEA",
7-
"product": "INSPELNING smart plug",
7+
"product": "Inspelling smart plug (E2206)",
88
"sleeper": false,
99
"status": "Gold",
1010
"subdevices": [

devices/ikea/ormanas_led_strip.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,23 @@
3434
{
3535
"name": "attr/name"
3636
},
37+
{
38+
"name": "attr/productid",
39+
"parse": {
40+
"fn": "zcl:attr",
41+
"ep": 1,
42+
"cl": "0x0000",
43+
"at": "0x000A",
44+
"eval": "Item.val = Attr.val"
45+
},
46+
"read": {
47+
"fn": "zcl:attr",
48+
"ep": 1,
49+
"cl": "0x0000",
50+
"at": "0x000A"
51+
},
52+
"refresh.interval": 86400
53+
},
3754
{
3855
"name": "attr/swversion"
3956
},
@@ -243,4 +260,4 @@
243260
]
244261
}
245262
]
246-
}
263+
}

devices/ikea/parasoll_open_close_sensor.json

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,23 @@
4545
{
4646
"name": "attr/name"
4747
},
48+
{
49+
"name": "attr/productid",
50+
"parse": {
51+
"fn": "zcl:attr",
52+
"ep": 1,
53+
"cl": "0x0000",
54+
"at": "0x000A",
55+
"eval": "Item.val = Attr.val"
56+
},
57+
"read": {
58+
"fn": "zcl:attr",
59+
"ep": 1,
60+
"cl": "0x0000",
61+
"at": "0x000A"
62+
},
63+
"refresh.interval": 86400
64+
},
4865
{
4966
"name": "attr/swversion",
5067
"refresh.interval": 86400
@@ -62,7 +79,7 @@
6279
"at": "0x0021",
6380
"cl": "0x0001",
6481
"ep": 1,
65-
"eval": "Item.val = Attr.val / 2;",
82+
"eval": "Item.val = Attr.val / 2",
6683
"fn": "zcl:attr"
6784
},
6885
"read": {
@@ -153,4 +170,4 @@
153170
]
154171
}
155172
]
156-
}
173+
}

devices/ikea/somrig_shortcut_button.json

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,23 @@
3535
{
3636
"name": "attr/name"
3737
},
38+
{
39+
"name": "attr/productid",
40+
"parse": {
41+
"fn": "zcl:attr",
42+
"ep": 1,
43+
"cl": "0x0000",
44+
"at": "0x000A",
45+
"eval": "Item.val = Attr.val"
46+
},
47+
"read": {
48+
"fn": "zcl:attr",
49+
"ep": 1,
50+
"cl": "0x0000",
51+
"at": "0x000A"
52+
},
53+
"refresh.interval": 86400
54+
},
3855
{
3956
"name": "attr/swversion"
4057
},
@@ -52,7 +69,7 @@
5269
"at": "0x0021",
5370
"cl": "0x0001",
5471
"ep": 1,
55-
"eval": "Item.val = Attr.val / 2;",
72+
"eval": "Item.val = Attr.val / 2",
5673
"fn": "zcl:attr"
5774
}
5875
},
@@ -99,4 +116,4 @@
99116
]
100117
}
101118
]
102-
}
119+
}

devices/ikea/tradfri_bulb_e14_w_opal_400lm.json

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"manufacturername": "$MF_IKEA",
55
"modelid": "TRADFRI bulb E14 W op/ch 400lm",
66
"vendor": "IKEA",
7-
"product": "Tradfri LED bulb E12 400 lumen, wireless dimmable warm white, chandelier opal (LED1649C5)",
7+
"product": "Tradfri LED bulb E14 400 lumen, dimmable white, chandelier opal (LED1649C5)",
88
"sleeper": false,
99
"status": "Gold",
1010
"subdevices": [
@@ -124,6 +124,20 @@
124124
}
125125
],
126126
"bindings": [
127+
{
128+
"bind": "unicast",
129+
"src.ep": 1,
130+
"dst.ep": 1,
131+
"cl": "0x0000",
132+
"report": [
133+
{
134+
"at": "0x4000",
135+
"dt": "0x42",
136+
"min": 0,
137+
"max": 65535
138+
}
139+
]
140+
},
127141
{
128142
"bind": "unicast",
129143
"src.ep": 1,
@@ -154,4 +168,4 @@
154168
]
155169
}
156170
]
157-
}
171+
}

devices/ikea/tradfri_bulb_e14_ws_470lm.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"manufacturername": "$MF_IKEA",
55
"modelid": "TRADFRI bulb E14 WS 470lm",
66
"vendor": "IKEA",
7-
"product": "TRADFRI bulb E14 WS 470 lumen, dimmable white spectrum opal white (LED1835C6)",
7+
"product": "Tradfri LED bulb E14 470 lumen, dimmable white spectrum, chandelier opal (LED1835C6)",
88
"sleeper": false,
99
"status": "Gold",
1010
"subdevices": [
@@ -34,6 +34,23 @@
3434
{
3535
"name": "attr/name"
3636
},
37+
{
38+
"name": "attr/productid",
39+
"parse": {
40+
"fn": "zcl:attr",
41+
"ep": 1,
42+
"cl": "0x0000",
43+
"at": "0x000A",
44+
"eval": "Item.val = Attr.val"
45+
},
46+
"read": {
47+
"fn": "zcl:attr",
48+
"ep": 1,
49+
"cl": "0x0000",
50+
"at": "0x000A"
51+
},
52+
"refresh.interval": 86400
53+
},
3754
{
3855
"name": "attr/swversion"
3956
},

devices/ikea/tradfri_bulb_e14_ws_candle_opal_470lm.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"manufacturername": "$MF_IKEA",
55
"modelid": "TRADFRIbulbE14WScandleopal470lm",
66
"vendor": "IKEA",
7-
"product": "Tradfri LED bulb E14 470 lumen, wireless dimmable white spectrum/chandelier opal white (LED1949C5)",
7+
"product": "Tradfri LED bulb E14 470 lumen, dimmable white spectrum, chandelier opal (LED1949C5)",
88
"sleeper": false,
99
"status": "Gold",
1010
"subdevices": [
@@ -34,6 +34,23 @@
3434
{
3535
"name": "attr/name"
3636
},
37+
{
38+
"name": "attr/productid",
39+
"parse": {
40+
"fn": "zcl:attr",
41+
"ep": 1,
42+
"cl": "0x0000",
43+
"at": "0x000A",
44+
"eval": "Item.val = Attr.val"
45+
},
46+
"read": {
47+
"fn": "zcl:attr",
48+
"ep": 1,
49+
"cl": "0x0000",
50+
"at": "0x000A"
51+
},
52+
"refresh.interval": 86400
53+
},
3754
{
3855
"name": "attr/swversion"
3956
},

devices/ikea/tradfri_bulb_e14_ws_opal_400lm.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"manufacturername": "$MF_IKEA",
55
"modelid": "TRADFRI bulb E14 WS opal 400lm",
66
"vendor": "IKEA",
7-
"product": "Tradfri LED bulb E14 400 lumen (LED1536G5)",
7+
"product": "Tradfri LED bulb E14 400 lumen, dimmable white spectrum, opal white (LED1536G5)",
88
"sleeper": false,
99
"status": "Gold",
1010
"subdevices": [
@@ -34,6 +34,23 @@
3434
{
3535
"name": "attr/name"
3636
},
37+
{
38+
"name": "attr/productid",
39+
"parse": {
40+
"fn": "zcl:attr",
41+
"ep": 1,
42+
"cl": "0x0000",
43+
"at": "0x000A",
44+
"eval": "Item.val = Attr.val"
45+
},
46+
"read": {
47+
"fn": "zcl:attr",
48+
"ep": 1,
49+
"cl": "0x0000",
50+
"at": "0x000A"
51+
},
52+
"refresh.interval": 86400
53+
},
3754
{
3855
"name": "attr/swversion"
3956
},

devices/ikea/tradfri_bulb_e14_ws_opal_600lm.json

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"manufacturername": "$MF_IKEA",
55
"modelid": "TRADFRI bulb E14 WS opal 600lm",
66
"vendor": "IKEA",
7-
"product": "Tradfri LED bulb E14 600 lumen, dimmable white spectrum opal white (LED1733G7)",
7+
"product": "Tradfri LED bulb E14 600 lumen, dimmable white spectrum, opal white (LED1733G7)",
88
"sleeper": false,
99
"status": "Gold",
1010
"subdevices": [
@@ -34,6 +34,23 @@
3434
{
3535
"name": "attr/name"
3636
},
37+
{
38+
"name": "attr/productid",
39+
"parse": {
40+
"fn": "zcl:attr",
41+
"ep": 1,
42+
"cl": "0x0000",
43+
"at": "0x000A",
44+
"eval": "Item.val = Attr.val"
45+
},
46+
"read": {
47+
"fn": "zcl:attr",
48+
"ep": 1,
49+
"cl": "0x0000",
50+
"at": "0x000A"
51+
},
52+
"refresh.interval": 86400
53+
},
3754
{
3855
"name": "attr/swversion"
3956
},
@@ -169,4 +186,4 @@
169186
]
170187
}
171188
]
172-
}
189+
}

0 commit comments

Comments
 (0)