seamus65
(Thomas Laurenson)
December 16, 2020, 10:26am
1
Blueprint to support the Ikea Symfonsik sound controller and allow it to control lights, and other devices.
The Symfonisk sound controller supports:
Single press
Double press
Triple press
Rotate left
Rotate right
Blueprint screen:
Blueprint to import:
blueprint:
name: ZHA - IKEA Symfonisk sound controller for lights
description: 'Control lights with an IKEA Symfonisk sound controller (the spinny ones).
You can set functions for single press, double press and triple press. This allows you to assign,
e.g., a scene or anything else.
Rotating left/right will change the brightness smoothly of the selected light.'
domain: automation
input:
remote:
name: Remote
description: IKEA Symfonisk controller to use
selector:
device:
integration: zha
manufacturer: IKEA of Sweden
model: SYMFONISK Sound Controller
light:
name: Light(s)
description: The light(s) to control
selector:
target:
entity:
domain: light
single_press:
name: Single press
description: Action to run on single press
default: []
selector:
action: {}
double_press:
name: Double press
description: Action to run on double press
default: []
selector:
action: {}
triple_press:
name: Triple press
description: Action to run on triple press
default: []
selector:
action: {}
source_url: https://gist.github.com/seamus65/0cd586edfee2e245e0b7e8081c5865f1
mode: restart
max_exceeded: silent
trigger:
- platform: event
event_type: zha_event
event_data:
device_id: !input 'remote'
action:
- variables:
command: '{{ trigger.event.data.command }}'
cluster_id: '{{ trigger.event.data.cluster_id }}'
endpoint_id: '{{ trigger.event.data.endpoint_id }}'
args: '{{ trigger.event.data.args }}'
- choose:
- conditions:
- '{{ command == ''toggle'' }}'
- '{{ cluster_id == 6 }}'
- '{{ endpoint_id == 1 }}'
sequence: !input 'single_press'
- conditions:
- '{{ command == ''step'' }}'
- '{{ cluster_id == 8 }}'
- '{{ endpoint_id == 1 }}'
- '{{ args == [0, 1, 0] }}'
sequence: !input 'double_press'
- conditions:
- '{{ command == ''step'' }}'
- '{{ cluster_id == 8 }}'
- '{{ endpoint_id == 1 }}'
- '{{ args == [1, 1, 0] }}'
sequence: !input 'triple_press'
- conditions:
- '{{ command == ''move'' }}'
- '{{ cluster_id == 8 }}'
- '{{ endpoint_id == 1 }}'
- '{{ args == [0, 195] }}'
sequence:
- repeat:
count: 10
sequence:
- service: light.turn_on
target: !input 'light'
data:
brightness_step_pct: 10
transition: 1
- delay: 1
- conditions:
- '{{ command == ''move'' }}'
- '{{ cluster_id == 8 }}'
- '{{ endpoint_id == 1 }}'
- '{{ args == [1, 195] }}'
sequence:
- repeat:
count: 10
sequence:
- service: light.turn_on
target: !input 'light'
data:
brightness_step_pct: -10
transition: 1
- delay: 1
3 Likes
It would be great if you were able to create a version of this for volume control and use the click options for play/pause, skip track etc.
seamus65
(Thomas Laurenson)
January 9, 2021, 11:16am
3
Let me know how you get on with it, I haven’t extensively tested it.
Thanks for the blueprint!
My automation is really unstable, it’s jumping around, and the click button is flashing instead of toggle. Any ideas why?
seamus65
(Thomas Laurenson)
March 20, 2021, 12:23pm
5
I think the symfonisk controller has some issues with ZHA in sending multiple actions.
1 Like
seamus65
(Thomas Laurenson)
September 27, 2021, 10:39am
8
I haven’t seen anything as yet. Sorry
wwill
September 9, 2022, 1:20pm
9
The rotate/dimming function does not work in this blueprint. Any ideas why?
I second this, I would love anyone to help with the dimming not working.
seamus65
(Thomas Laurenson)
October 11, 2022, 8:14am
11
I just tested with mine and the dimming is working.
One of my lamps was not connecting to ZHA, so I had to fix that, but now both the zigbee one and the wifi one are dimming fine.
I must be doing something wrong then, how can I troubleshoot it?
seamus65
(Thomas Laurenson)
October 15, 2022, 12:37pm
13
If you go into developer tools in the Home Assistant dashboard, Events tab, then listen to zha_event
You should be able to see exactly what is being sent through as you interact with your device.
rokoto
November 17, 2022, 3:05am
14
@sinnertie , @wwill
I modified the blueprint a bit and uploaded as a separate file to config/blueprints/automations/.
Clicks and dimming work fine.
Added to variables:
command: "{{ trigger.event.data.command }}"
move_mode: "{{ trigger.event.data.params.move_mode }}"
step_size: "{{ trigger.event.data.params.step_size }}"
step_mode: "{{ trigger.event.data.params.step_mode }}"
Changed conditions accordingly to:
- conditions:
- "{{ command == 'toggle' }}"
sequence: !input "single_press"
- conditions:
- "{{ command == 'step' and step_size == 1 and step_mode == 'StepMode.Up' }}"
sequence: !input "double_press"
- conditions:
- "{{ command == 'step' and step_size == 1 and step_mode == 'StepMode.Down' }}"
sequence: !input "triple_press"
- conditions:
- "{{ command == 'move' and move_mode == 'MoveMode.Up' }}"
sequence: ...
- conditions:
- "{{ command == 'move' and move_mode == 'MoveMode.Down' }}"
sequence: ...
wwill
November 24, 2022, 2:04pm
15
@rokoto Could you post the file? I’ve tried implementing it, but the automation disappear from automations list when I save.
DDL
(Dima)
December 4, 2022, 1:43am
16
I modified mine and also added a step control slider for changing how fast the brightness changes.
zha_symfonisk_remote_lights.yaml
blueprint:
name: ZHA - IKEA Symfonisk sound controller for lights
description: 'Control lights with an IKEA Symfonisk sound controller (the spinny
ones).
You can set functions for single press, double press and triple press. This allows
you to assign, e.g., a scene or anything else.
Rotating left/right will change the brightness smoothly of the selected light.'
domain: automation
This file has been truncated. show original
2 Likes
maxwood
(Max)
January 8, 2023, 11:51am
18
Thanks for this, the slider is really nice.
I’m having the same problem as others have mentioned though, when setting single press to toggle the light on/off it just flashes the light instead. Is there a solution for this?
DDL
(Dima)
January 8, 2023, 12:42pm
19
As mentioned in my comment on the gist. This is an issue with the firmware or ZHA. I had the exact same issue about a month ago and didn’t touch it ever since. (I did enable OTA and updated HA several times) and now it appears to be fixed on reported Firmware: 0x23080631
.
1 Like
maxwood
(Max)
January 8, 2023, 12:58pm
20
Hey Dima, thanks for the reply.
How did you enable OTA? Looks like mine is Firmware: 0x21024631
DDL
(Dima)
January 14, 2023, 11:24am
21