title | description |
---|---|
IKEA E1743 control via MQTT |
Integrate your IKEA E1743 via Zigbee2MQTT with whatever smart home infrastructure you are using without the vendors bridge or gateway. |
To contribute to this page, edit the following file
| Model | E1743 | | Vendor | IKEA | | Description | TRADFRI ON/OFF switch | | Supports | on, off, brightness up/down/stop | | Picture | |
By default this device exposes a deprecated click
event. It's recommended to use the action
event instead.
To disable the click
event, set legacy: false
for this device in configuration.yaml
. Example:
devices:
'0x12345678':
friendly_name: my_device
legacy: false
Pair the switch to Zigbee2MQTT by pressing the pair button (found under the back cover next to the battery) 4 times in a row. The red light on the front side should flash a few times and the turn off (it's more visible to see the light from the back). After a few seconds it turns back on and pulsate. When connected, the light turns off.
The E1743 can be bound to groups using binding. It can only be bound to 1 group at a time and cannot be bound to a device.
By default this remote is bound to the default bind group which you first have to unbind it from.
This can be done by sending to zigbee2mqtt/bridge/unbind/[DEVICE_FRIENDLY_NAME]]
payload default_bind_group
.
Right before executing the commands make sure to wake up the device by pressing a button on it.
How to use device type specific configuration
-
legacy
: Set totrue
to disable the legacy integration (highly recommended!) -
simulated_brightness
: Set totrue
to simulate abrightness
value (default:false
). If this device provides abrightness_move_up
orbrightness_move_down
action it is possible to specify the update interval and delta. This can be done by instead of specifyingtrue
:
simulated_brightness:
delta: 20 # delta per interval, default = 20
interval: 200 # interval in milliseconds, default = 200
transition
: Controls the transition time (in seconds) of on/off, brightness, color temperature (if applicable) and color (if applicable) changes. Defaults to0
(no transition). Note that this value is overridden if atransition
value is present in the MQTT command payload.
This device supports OTA updates, for more information see OTA updates.
Although Home Assistant integration through MQTT discovery is preferred, manual integration is possible with the following configuration:
{% raw %}
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
icon: "mdi:toggle-switch"
value_template: "{{ value_json.click }}"
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "%"
value_template: "{{ value_json.battery }}"
device_class: "battery"
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
value_template: "{{ value_json.action }}"
icon: "mdi:gesture-double-tap"
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "lqi"
value_template: "{{ value_json.linkquality }}"
icon: "mdi:signal"
binary_sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.update_available}}"
{% endraw %}