Hi,
I have a fresh install of zigbee2mqtt (with mosquitto eclipse) running on my RaspberryPi 4.
I successfully paired both my Ikea Styrbar remote control and my Tradfri bulb. However, I can’t figure out how to use my remote to control the bulb.
I tried binding them through the GUI but the “Bind” action does nothing. I can control the bulb through the GUI itself, but I want to use my remote.
What am I missing? Sorry if it’s obvious, but I’m very, very new to all of this. And thanks for any answers!
Thanks for answering, I checked those out.
I’m using two blueprints, the Controller for my Styrbar remote and the Light Hook.
However, nothing works. When I press the buttons on my remote, nothing happens with the light.
Here’s my controller configuration:
alias: Styrbar
description: ''
use_blueprint:
path: EPMatt/ikea_e2001_e2002.yaml
input:
integration: Zigbee2MQTT
controller_entity: sensor.clicky_free_action
helper_last_controller_event: input_text.last_controller_event
action_button_down_long:
- device_id: <id>
domain: light
entity_id: light.trad_free
type: brightness_decrease
action_button_up_long:
- device_id: <id>
domain: light
entity_id: light.trad_free
type: brightness_increase
action_button_up_short:
- type: turn_on
device_id: <id>
entity_id: light.trad_free
domain: light
action_button_down_short:
- type: turn_off
device_id: <id>
entity_id: light.trad_free
domain: light
And this is the light hook:
alias: Hook - Light
description: ''
use_blueprint:
path: EPMatt/light.yaml
input:
controller_entity: sensor.clicky_free_action
controller_model: IKEA E2001/E2002 STYRBAR Remote control
light: light.trad_free
light_color_mode: Color Temperature
controller_device: <id>
Where am I going wrong?
Nevermind, I think I solved it!
What I did:
- I removed the Styrbar from my Zigbee2Mqtt devices
- I stopped Zigbee/Mosquitto/HA (docker-compose in my case)
- I put everything back up again
- I re-paired only the Styrbar remote without touching the Tradfri bulb
- I pressed some buttons so that HA would see the “action” entity of the Styrbar remote once again
- Checked that everything looked fine in the two blueprints
- Everything works!
So it wasn’t a blueprint/yaml issue, just a problem with the device itself and its pairing to Zigbee2Mqtt.
I’m unsure if it helped, but between taking everything down and putting it all back online I connected my Zigbee receiver (a CC2652P usb device) through a 1m long 3.0 usb extension cable.
Everything works now, even setting the color temperature.