diff --git a/devices/ikea/tradfri_bulb_e27_w_opal_1000lm.json b/devices/ikea/tradfri_bulb_e27_w_opal_1000lm.json index b95e5c96a8..2e53cab287 100644 --- a/devices/ikea/tradfri_bulb_e27_w_opal_1000lm.json +++ b/devices/ikea/tradfri_bulb_e27_w_opal_1000lm.json @@ -1,11 +1,7 @@ { "schema": "devcap1.schema.json", - "manufacturername": [ - "$MF_IKEA" - ], - "modelid": [ - "TRADFRI bulb E27 W opal 1000lm" - ], + "manufacturername": "$MF_IKEA", + "modelid": "TRADFRI bulb E27 W opal 1000lm", "product": "TRADFRI bulb E27 W opal 1000lm", "sleeper": false, "status": "Gold", @@ -55,16 +51,37 @@ "name": "cap/on/off_with_effect" }, { - "name": "config/bri/execute_if_off" + "name": "config/bri/execute_if_off", + "read": { + "fn": "zcl", + "ep": "0x01", + "cl": "0x0008", + "at": [ + "0x000f", + "0x0010", + "0x0011", + "0x4000" + ] + }, + "refresh.interval": 3600 }, { - "name": "config/bri/on_level" + "name": "config/bri/on_level", + "read": { + "fn": "none" + } }, { - "name": "config/bri/onoff_transitiontime" + "name": "config/bri/onoff_transitiontime", + "read": { + "fn": "none" + } }, { - "name": "config/bri/startup" + "name": "config/bri/startup", + "read": { + "fn": "none" + } }, { "name": "config/on/startup" @@ -74,11 +91,11 @@ "default": "none" }, { - "name": "state/bri", + "name": "state/on", "refresh.interval": 305 }, { - "name": "state/on", + "name": "state/bri", "refresh.interval": 305 }, { @@ -88,20 +105,6 @@ } ], "bindings": [ - { - "bind": "unicast", - "src.ep": 1, - "dst.ep": 1, - "cl": "0x0000", - "report": [ - { - "at": "0x4000", - "dt": "0x42", - "min": 0, - "max": 65535 - } - ] - }, { "bind": "unicast", "src.ep": 1, @@ -127,7 +130,7 @@ "dt": "0x20", "min": 1, "max": 300, - "change": "0x00000001" + "change": "0x01" } ] }