Ikea symfonisk remote + zigbee/deCONZ: automation from blueprints not executing

Controller: Conbee II
Integration: deCONZ
Remote: IKEA Symfonisk Rotary Remote

I have used
ZHA, deCONZ, Zigbee2MQTT - Ikea E1744 SYMFONISK rotary remote Universal blueprint - all actions - control lights, media players and more with Hooks
and
Media Player Hook - Control any media player (play/pause, volume, prev/next track) with one of the supported controllers

I am using the Logitech Squeezebox for my mediaplayers.

Automations:

- id: '1625332892547'
  alias: Controller - IKEA E1744 SYMFONISK Rotary Remote
  description: ''
  use_blueprint:
    path: EPMatt/ikea_e1744.yaml
    input:
      integration: deCONZ
      controller_device: cc744586ed184a772321a7299bed5723
      action_rotate_left:
      - service: media_player.volume_up
        target:
          entity_id: media_player.kitchen
      action_rotate_right:
      - service: media_player.volume_down
        target:
          entity_id: media_player.kitchen
      rotate_left_loop: true
      rotate_right_loop: true
- id: '1625333025763'
  alias: Hook - Media Player
  description: ''
  use_blueprint:
    path: EPMatt/media_player.yaml
    input:
      controller_device: cc744586ed184a772321a7299bed5723
      controller_model: IKEA E1744 SYMFONISK rotary remote
      media_player: media_player.kitchen

Automation does get triggered but nothing happens.
From the log:

Logger: homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote
Source: helpers/script.py:1341
Integration: Automation (documentation, issues)
First occurred: 12:48:38 AM (4 occurrences)
Last logged: 12:48:39 AM

Controller - IKEA E1744 SYMFONISK Rotary Remote: Error executing script. Invalid data for call_service at pos 3: not a valid value for dictionary value @ data['entity_id']

Have you made sure that the device you’re telling it to control is right? Because it looks like it might not be.

1 Like

Put otherwise, OP, please show the source of your automations.

1 Like

Thanks guys for stepping in!

In the visual editor I have chosen DD1 (which is the altered name from the remote in Phoscon)

- id: '1624872791126'
  alias: Controller - IKEA E1744 SYMFONISK Rotary Remote
  description: ''
  use_blueprint:
    path: EPMatt/ikea_e1744.yaml
    input:
      integration: deCONZ
      controller_device: cc744586ed184a772321a7299bed5723
      action_rotate_left:
      - service: media_player.volume_up
        target:
          entity_id: media_player.kitchen
      action_rotate_right:
      - service: media_player.volume_down
        target:
          entity_id: media_player.kitchen

Anyone who has a clue?

Still struggling to get this working…
Is this so obvious or exotic?

What is behind media_player.kitchen?

Hi @koying; it’s a picoreplayer (RPi) connected to Logitech Media Server

Also nothing happens when I exchange the media player for a light. :unamused:

I can’t see.
I’ll just put here a similar blueprint automation of mine.
The syntax for calling services is different than yours, bit IDK if it matters.

- id: '1610279516253'
  alias: Hue Remote Switch Bureau
  description: ''
  use_blueprint:
    path: homeassistant/hue_remote_zha.yaml
    input:
      hue_remote: sensor.hue_remote_bureau
      remote_off_short_press:
      - service: light.turn_off
        data: {}
        entity_id: light.lumieres_bureau
      remote_on_short_press:
      - service: light.turn_on
        data: {}
        entity_id: light.lumieres_bureau
      remote_up_short_press:
      - scene: scene.bright_bureau

Thanks for anyway helping @koying

I’m really stuck here, have read the docs over and over again but have no clue what is wrong, where to look and how to solve this. :unamused:

Anybody?

From the automation trace process:

Stopped because an error was encountered at July 3, 2021, 11:44:45 PM (runtime: 0.01 seconds)

not a valid value for dictionary value @ data['entity_id']

Any idea what this might be?

Did you try to adapt your code to a syntax similar to mine?

Hi Chris, no I didn’t because I have no clue how to fit this with my situation.

Try to remove target: and align entity_id: with service:

This is what I have now:

- id: '1625332892547'
  alias: Controller - IKEA E1744 SYMFONISK Rotary Remote
  description: ''
  use_blueprint:
    path: EPMatt/ikea_e1744.yaml
    input:
      integration: deCONZ
      controller_device: cc744586ed184a772321a7299bed5723
      action_rotate_left:
      - service: media_player.volume_down
        data: {}
        entity_id: media_player.kitchen
      action_rotate_right:
      - service: media_player.volume_up
        data: {}
        entity_id: media_player.kitchen
      rotate_left_loop: true
      rotate_right_loop: true

Trace Timeline:

Triggered by the event 'deconz_event' at July 5, 2021, 1:12:39 PM
Test multiple conditions using "and"
Delay for {"milliseconds":0}
Define variables trigger_action, trigger_delta, last_controller_event
Call service input_text.set_value
Stopped because an error was encountered at July 5, 2021, 1:12:39 PM (runtime: 0.01 seconds)

not a valid value for dictionary value @ data['entity_id']

@epmatt: do you have an idea what might be wrong?

Shouldn’t that entity_id be part of the data, rather than a separate value?

Don’t know @Fuzzysteve, I’m completely lost here with this problem.

Hi @Nick4 @FuzzySteve,

While configuring the blueprint you need to provide a valid input_text entity for the helper_last_controller_event input, as described in the Inputs section in the E1744 blueprint documentation.

You can find additional details regarding this mandatory input in the general Controller-Hooks Ecosystem documentation.

Please let me know if adding the missing blueprint input solves your issue.
Thank you!

2 Likes