If I add the E1524 blueprint and the media player blue print and I make an automatization with the E1524 (pure linking to ZHA) all my automatizationâs crash
Thank you for reporting here, Iâm sorry for what you are experiencing.
Does this setup (E1524 Controller + Media Player Hook) work if you donât add the pure ZHA automation?
Are there any entries in the Home Assistant Logs related to automations or blueprints?
Hi @sparkydave,
Iâm happy to inform you that Iâve just added a Controller blueprint for the IKEA E1744 SYMFONISK remote, you can find it here:
Moreover, support for the remote has been added to the Media Player and Light Hook.
If you have any suggestions or you want to leave a feedback about the blueprint for the E1744 controller, we can continue the discussion there.
Legend!
Hi there,
Iâve published an update for this blueprint, which adds support for the IKEA E1812 Shortcut button and fixes a naming issue for the IKEA E1743 Wireless Dimmer.
If you had previously used this blueprint with an IKEA E1743 and youâd like to update it, youâll need to fix your current automations. Please make sure that the value for the Controller model input in automations generated by this Hook is exactly equal to âIKEA E1743 On/Off Switch & Dimmerâ.
Happy automating!
Follow-up of the following question received in another thread:
Hi @roberto87,
thank you for reporting.
Please post here the configuration for both the Controller and Hook automations youâre experiencing issues with.
Moreover, did you notice any entries related to these blueprints in the Home Assistant Logs?
Hi there!
Iâve just published an update for this blueprint. You can now specify the number of steps to go from min to max volume when controlling the volume, both for short actions (button press etc.) and long actions (rotation, button hold).
This allows to configure a finer and more precise volume control, which you can easily customize for your media player. You can find more about this new feature in the docs.
Happy automating!
The added setting for adjusting the volume control sensitivity is awesome. Thank you!
Hello,
I have a IKEA E1524 remote and I created 2 automations based on your blueprints :
- Controller Ikea E1524/E1810 5-Button remote
- Hook - Media Player
to try play music/radio on my Echo Dot 3.
Here is their respective yaml :
alias: Kitchen music (Tradfri remote E1524)
description: ''
use_blueprint:
path: EPMatt/ikea_e1524_e1810.yaml
input:
integration: deCONZ
controller_device: 67bce5a0e24c261314b17ad7b367bc23
alias: Kitchen music Hook Media Player (Tradfri remote E1524)
description: by EPMatt
use_blueprint:
path: EPMatt/media_player.yaml
input:
controller_device: 67bce5a0e24c261314b17ad7b367bc23
media_player: media_player.kitchen
controller_model: IKEA E1524/E1810 5-Button remote
Now Iâm not sure how to go from there if I wanted to play Spotify or a TuneIn radio stream by clicking the main center button
Do you have any yaml examples I could copy/paste somewhere ? Thanks !
Hi @JeromeO, thank you for reporting here.
The Media Player Hook maps the center button short press event to the âplay/pause mediaâ action. However, you can configure a custom action in the controller automation to run for the center button double press event, which is not used by any of the currently available hook configurations.
Hereâs the updated YAML for your controller automation:
alias: Kitchen music (Tradfri remote E1524)
description: ''
use_blueprint:
path: EPMatt/ikea_e1524_e1810.yaml
input:
integration: deCONZ
controller_device: 67bce5a0e24c261314b17ad7b367bc23
# sequence to play a TuneIn radio stream
action_button_center_double:
- service: ...
# remember also to turn on the virtual double press feature
# on the center button
button_center_double_press: true
If you want to learn more about controllers, hooks and the different available configuration options, you can give a reading to the Controllers-Hooks Ecosystem documentation. Iâm planning to add a TL;DR version of that doc page, as well as a detailed FAQ section. Both of them will act as a quickstart guide for helping users to setup controllers and hooks on their systems.
Moreover, I can see from your YAML config that youâre using an outdated version for the Media Player hook. Iâd like to suggest you updating the blueprint to the latest version (currently 2021-10-29
); thanks to the good work of a kind contributor, during the last couple of days Iâve published a major update, adding support for alternate Hook mappings (more of which will be added in the near future for currently supported devices), and fixing a few naming issues for supported controllers in hooks. Since this is a breaking change, Iâd suggest you to read the blueprintâs changelog and update your hook configuration accordingly.
Please let me know if youâre able to achieve the desired setup with my suggestion.
Thank you!
Thank you for pointing out I had an obsolete version of the Media Player blueprint (although I donât think it changes anything to my problem/misunderstanding) => I updated
After some more testing, I was able to launch a radio stream when clicking the center button.
I was also able to increase/lower the volume thanks to the up and down buttons but I had to explicitly code those 2 actions when I thought they would be automatically embedded in the Media Player hook => this is where Iâm not sure I totally got it
Maybe it has something to do with the 2 required fields I left blank in the Media Player hook ?..
Another confusing thing (if it can help anyone else) is that you need to call the service media_player.play_media
to play a TuneIn stream and NOT media_player.media_play
that does exist as well ! (note the reversed words)
Please see the resulting yaml.
Blueprint controller
alias: Kitchen music (Tradfri remote E1524)
description: ''
use_blueprint:
path: EPMatt/ikea_e1524_e1810.yaml
input:
integration: deCONZ
controller_device: 67bce5a0e24c261314b17ad7b367bc23
action_button_center_short:
- service: media_player.play_media
target:
device_id: 113364968a2b7f03eae79b27d53c60d1
data:
media_content_id: France Info
media_content_type: TUNEIN
action_button_up_short:
- service: media_player.volume_up
target:
device_id: 113364968a2b7f03eae79b27d53c60d1
action_button_down_short:
- service: media_player.volume_down
target:
device_id: 113364968a2b7f03eae79b27d53c60d1
Blueprint Hook
alias: Kitchen music Hook Media Player (Tradfri remote E1524)
description: by EPMatt
use_blueprint:
path: EPMatt/media_player.yaml
input:
controller_device: 67bce5a0e24c261314b17ad7b367bc23
media_player: media_player.kitchen
controller_model: IKEA E1524/E1810 5-Button remote
volume_steps_short: 5
volume_steps_long: 5
(not much changes in there except the volume steps that I lowered)
Hi @JeromeO, thank you for your feedback.
Exactly, those required inputs allow the Hook automation to âhookâ to the controller automation. You should either provide a value for the âController Entityâ or âController Deviceâ input, depending the integration youâre using for setting up your device in Home Assistant (in your case, âController Entityâ if using Zigbee2MQTT or âController Deviceâ if using deCONZ or ZHA).
By the way, I can see from your YAML that you correctly provided a value for the âController Deviceâ input in the media player hook. The issue might be with the controller_model
input. Version 2021-10-26
introduced a breaking change for this input, as described in the blueprintâs changelog:
- 2021-10-26:
- Standardize blueprints structure and inputs naming across the whole collection.
- Improve blueprint documentation.
- Add support for alternate mappings. Additional mappings for currently supported controllers will be added from now on. Refer to the documentation of your controller for more details.
- Breaking Change: update controller names in the
Controller Model
input, to match the full name of controllers, prevent ambiguities and enable support for alternate mappings. After updating this blueprint, please reconfigure your automations by selecting again the value for theController Model
input, matching the full name of the controller youâre using with this hook.- Fix typo for IKEA E1524/E1810 center button long press action in mapping definition.
Please select a valid value for the controller_model
input while configuring the blueprint from the UI. The value should match the full name of your device. You should then be able to control the media playerâs volume without having to configure custom actions.
Thank you Matt for taking the time to guide me !
I updated the Controller blueprint to 2021-10-26 and created a new automation based on it.
I also added the missing required âController modelâ in the Hook Media Player automation like you mentioned.
I now have those 2 yaml but the TuneIn station wonât launch anymore
(it does launch in a basic automation without the blueprint)
Controller
alias: Kitchen music (with Tradfri remote E1524)
description: Based on 2021.10.26 blueprint
use_blueprint:
path: EPMatt/ikea_e1524_e1810.yaml
input:
integration: deCONZ
controller_device: 67bce5a0e24c261314b17ad7b367bc23
action_button_center_short:
- service: media_player.play_media
data:
media_content_id: France Info
media_content_type: TUNEIN
target:
entity_id: media_player.kitchen
Hook Media Player
alias: Kitchen music Hook Media Player (with Tradfri remote E1524)
description: Based on 2021.10.29 blueprint
use_blueprint:
path: EPMatt/media_player.yaml
input:
controller_device: 67bce5a0e24c261314b17ad7b367bc23
controller_model: IKEA E1524/E1810 TRĂ
DFRI Wireless 5-Button Remote
media_player: media_player.kitchen
If I click âRun actionsâ in the Controller, nothing happens either.
In its Trace Timeline, I have the following error :
Stopped because an error was encountered at November 5, 2021, 10:45:13 PM (runtime: 0.07 seconds)
UndefinedError: 'dict object' has no attribute 'event'
See anything Iâve done wrong ?..
[Update] I have another Ikea remote (E1810 that one) using your Controller/Light blueprints.
It was working fine until I decided to update the Hook Light to version 2021.10.29.
I re-recreated 2 automations from scratch for this remote/light to no availâŠ
The error in the Trace Timeline of the Hook Light is also :
UndefinedError: 'dict object' has no attribute 'event'
So my problems might have the same root cause.
I understood my mistake : I was missing the required Helper - Last Controller Event field in the automation based on the Controller blueprint.
I created a dummy input text helper in the /config/helpers
page called input_text.dining_room_lights_last_controller_event
(as Entity ID) and used it as the Helper - Last Controller Event.
I can now toggle on/off my group of dining room lights
The up/down buttons do not change brighten/dim the lights though.
The left/right buttons (arrows) do not change the kelvin either.
What am I missing ?
(although I see the âtrigger_actionâ: 2002, âtrigger_actionâ: 5002, etc⊠in the Trace Timeline with no errors)
[Update] Hmm, I was a little too enthusiastic and I have a funky behavior with that Center button (toggle on/off) : once I start using that button, the group of lights remain âonâ in the Lovelace interface, even when theyâre off (theyâre literally off and my LIFX app shows them as off) and I cannot turn them off through the virtua button in Lovelace
I went to the Developer tools and emptied the value of my new input_text.dining_room_lights_last_controller_event
helper, reloaded Input Texts in the Server Controls but none of that unblock the status in Lovelace.
Only when I restart HA does it reset the status lights to its real off status
Dunno if this has anything to do with either the new input text helper or the fact that I am dealing with a group of lights and not not a single bulb (I would have to try that second option)
[Update 2] Ok, nevermind the funky on/off behavior. Itâs working fine now. Must have been a temporary glitch.
Itâs just the left/right and up/down buttons that do nothing :-/
I can start the TuneIn stream with a Center button short press but I cannot find the right command to stop a radio stream.
I tried center long press, center double press with
media_player.media_pause
media_player.media_play_pause
media_player.media_stop
media_player.turn_off
but it does not completely stop the stream. It actually stops the stream for 2 seconds and it resumes
Here is the controller :
alias: Kitchen music (with Tradfri remote E1524)
description: Based on 2021.10.26 blueprint
use_blueprint:
path: EPMatt/ikea_e1524_e1810.yaml
input:
integration: deCONZ
controller_device: 67bce5a0e24c261314b17ad7b367bc23
action_button_center_short:
- service: media_player.play_media
data:
media_content_id: France Info
media_content_type: TUNEIN
target:
entity_id: media_player.kitchen
helper_last_controller_event: input_text.kitchen_media_player_last_controller_event
action_button_center_double:
- service: media_player.media_pause
target:
entity_id: media_player.kitchen
button_down_double_press: false
button_center_double_press: true
action_button_right_short:
- service: media_player.play_media
data:
media_content_id: RTL
media_content_type: TUNEIN
target:
entity_id: media_player.kitchen
And the Media Hook :
alias: Kitchen music Hook Media Player (with Tradfri remote E1524)
description: Based on 2021.10.29 blueprint
use_blueprint:
path: EPMatt/media_player.yaml
input:
controller_device: 67bce5a0e24c261314b17ad7b367bc23
controller_model: IKEA E1524/E1810 TRĂ
DFRI Wireless 5-Button Remote
media_player: media_player.kitchen
Hello,
is it possible to use this controller with Styrbar IKEA E2001/E2002 via deconz/phoscon?
It doesnt show up in the list of selectable devices?
Best regard,
Stefan
Error: UndefinedError: âdict objectâ has no attribute âeventâ
Any ideas what i do wrong?
Same problem here
This automation was working great for a long time but seems to have stopped working correctly after some Home Assistant update.
Iâm using IKEA E1744 Symfonisk rotary remote, via ZHA, to control my SONOS. The button press to play/stop still works, however volume up/down is no longer received by the Sonos integration.
Iâm currently on:
HA 2023.8.3
Controller - IKEA E1744 SYMFONISK Rotary Remote ver. 2022-8-8
Hook - Media Player ver. 2022-7-30
When I turn the remote knob, these are the logs generated:
2023-08-20 13:25:31.332 INFO (MainThread) [homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote_kitchen] Controller - IKEA E1744 SYMFONISK Rotary Remote - Kitchen: Restarting
2023-08-20 13:25:31.333 INFO (MainThread) [homeassistant.components.automation.kitchen_symfonisk_rotary_remote] Kitchen SYMFONISK Sonos Remote Automation: Restarting
2023-08-20 13:25:31.335 INFO (MainThread) [homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote_kitchen] Controller - IKEA E1744 SYMFONISK Rotary Remote - Kitchen: Running automation actions
2023-08-20 13:25:31.335 INFO (MainThread) [homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote_kitchen] Controller - IKEA E1744 SYMFONISK Rotary Remote - Kitchen: Executing step delay 0:00:00
2023-08-20 13:25:31.336 INFO (MainThread) [homeassistant.components.automation.kitchen_symfonisk_rotary_remote] Kitchen SYMFONISK Sonos Remote Automation: Running automation actions
2023-08-20 13:25:31.336 INFO (MainThread) [homeassistant.components.automation.kitchen_symfonisk_rotary_remote] Kitchen SYMFONISK Sonos Remote Automation: Executing step delay 0:00:00
2023-08-20 13:25:31.337 INFO (MainThread) [homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote_kitchen] Controller - IKEA E1744 SYMFONISK Rotary Remote - Kitchen: Executing step setting variables
2023-08-20 13:25:31.337 INFO (MainThread) [homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote_kitchen] Controller - IKEA E1744 SYMFONISK Rotary Remote - Kitchen: Executing step call service
2023-08-20 13:25:31.337 INFO (MainThread) [homeassistant.components.automation.kitchen_symfonisk_rotary_remote] Kitchen SYMFONISK Sonos Remote Automation: Executing step setting variables
2023-08-20 13:25:31.338 INFO (MainThread) [homeassistant.components.automation.kitchen_symfonisk_rotary_remote] Kitchen SYMFONISK Sonos Remote Automation: Executing step call service
When I click the button, these are the logs generated:
2023-08-20 13:27:05.630 INFO (MainThread) [homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote_kitchen] Controller - IKEA E1744 SYMFONISK Rotary Remote - Kitchen: Restarting
2023-08-20 13:27:05.630 INFO (MainThread) [homeassistant.components.automation.kitchen_symfonisk_rotary_remote] Kitchen SYMFONISK Sonos Remote Automation: Restarting
2023-08-20 13:27:05.632 INFO (MainThread) [homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote_kitchen] Controller - IKEA E1744 SYMFONISK Rotary Remote - Kitchen: Running automation actions
2023-08-20 13:27:05.633 INFO (MainThread) [homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote_kitchen] Controller - IKEA E1744 SYMFONISK Rotary Remote - Kitchen: Executing step delay 0:00:00
2023-08-20 13:27:05.633 INFO (MainThread) [homeassistant.components.automation.kitchen_symfonisk_rotary_remote] Kitchen SYMFONISK Sonos Remote Automation: Running automation actions
2023-08-20 13:27:05.633 INFO (MainThread) [homeassistant.components.automation.kitchen_symfonisk_rotary_remote] Kitchen SYMFONISK Sonos Remote Automation: Executing step delay 0:00:00
2023-08-20 13:27:05.633 INFO (MainThread) [homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote_kitchen] Controller - IKEA E1744 SYMFONISK Rotary Remote - Kitchen: Executing step setting variables
2023-08-20 13:27:05.634 INFO (MainThread) [homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote_kitchen] Controller - IKEA E1744 SYMFONISK Rotary Remote - Kitchen: Executing step call service
2023-08-20 13:27:05.634 INFO (MainThread) [homeassistant.components.automation.kitchen_symfonisk_rotary_remote] Kitchen SYMFONISK Sonos Remote Automation: Executing step setting variables
2023-08-20 13:27:05.634 INFO (MainThread) [homeassistant.components.automation.kitchen_symfonisk_rotary_remote] Kitchen SYMFONISK Sonos Remote Automation: Executing step call service
2023-08-20 13:27:05.638 INFO (MainThread) [homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote_kitchen] Controller - IKEA E1744 SYMFONISK Rotary Remote - Kitchen: Choose at step 4: choice 5: Running automation actions
2023-08-20 13:27:05.638 INFO (MainThread) [homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote_kitchen] Controller - IKEA E1744 SYMFONISK Rotary Remote - Kitchen: Choose at step 4: choice 5: Executing step ahb_controller_event
2023-08-20 13:27:05.639 INFO (MainThread) [homeassistant.components.automation.kitchen_symfonisk_rotary_remote] Kitchen SYMFONISK Sonos Remote Automation: Choose at step 4: choice 5: Running automation actions
2023-08-20 13:27:05.639 INFO (MainThread) [homeassistant.components.automation.kitchen_symfonisk_rotary_remote] Kitchen SYMFONISK Sonos Remote Automation: Choose at step 4: choice 5: Executing step ahb_controller_event
2023-08-20 13:27:05.641 INFO (MainThread) [homeassistant.components.automation.kitchen_symfonisk_sonos_hook] Kitchen SYMFONISK Sonos Remote - Media Player Hook: Restarting
2023-08-20 13:27:05.641 INFO (MainThread) [homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote_kitchen] Controller - IKEA E1744 SYMFONISK Rotary Remote - Kitchen: Choose at step 4: choice 5: Choose at step 2: choice 1: Running automation actions
2023-08-20 13:27:05.641 INFO (MainThread) [homeassistant.components.automation.kitchen_symfonisk_rotary_remote] Kitchen SYMFONISK Sonos Remote Automation: Choose at step 4: choice 5: Choose at step 2: choice 1: Running automation actions
2023-08-20 13:27:05.643 INFO (MainThread) [homeassistant.components.automation.kitchen_symfonisk_sonos_hook] Kitchen SYMFONISK Sonos Remote - Media Player Hook: Running automation actions
2023-08-20 13:27:05.643 INFO (MainThread) [homeassistant.components.automation.kitchen_symfonisk_sonos_hook] Kitchen SYMFONISK Sonos Remote - Media Player Hook: Executing step setting variables
2023-08-20 13:27:05.646 INFO (MainThread) [homeassistant.components.automation.kitchen_symfonisk_sonos_hook] Kitchen SYMFONISK Sonos Remote - Media Player Hook: Choose at step 2: choice 1: Running automation actions
2023-08-20 13:27:05.646 INFO (MainThread) [homeassistant.components.automation.kitchen_symfonisk_sonos_hook] Kitchen SYMFONISK Sonos Remote - Media Player Hook: Choose at step 2: choice 1: Executing step call service
2023-08-20 13:27:05.654 INFO (MainThread) [homeassistant.components.automation.kitchen_symfonisk_sonos_hook] Kitchen SYMFONISK Sonos Remote - Media Player Hook: Running automation actions
2023-08-20 13:27:05.654 INFO (MainThread) [homeassistant.components.automation.kitchen_symfonisk_sonos_hook] Kitchen SYMFONISK Sonos Remote - Media Player Hook: Executing step setting variables
2023-08-20 13:27:05.655 INFO (MainThread) [homeassistant.components.automation.kitchen_symfonisk_sonos_hook] Kitchen SYMFONISK Sonos Remote - Media Player Hook: Choose at step 2: choice 1: Running automation actions
2023-08-20 13:27:05.655 INFO (MainThread) [homeassistant.components.automation.kitchen_symfonisk_sonos_hook] Kitchen SYMFONISK Sonos Remote - Media Player Hook: Choose at step 2: choice 1: Executing step call service
Any ideas whatâs preventing the volume adjustment from reaching the media player?