Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug - IKEA E1744 SYMFONISK Rotary Remote doesn't stop increasing or decreasing the volume. #547

Closed
1 task
ThatBeardGuy opened this issue May 7, 2023 · 29 comments
Labels
blueprint An issue related to a blueprint bug Something isn't working

Comments

@ThatBeardGuy
Copy link

Blueprint name

Hook - IKEA E1744 SYMFONISK Rotary Remote

Home Assistant Core Version

2023.5.2

Home Assistant Installation Type

Home Assistant Operating System

Description

Recently my E1744 remote stopped working correctly. I saw another bug report but this seemed to be an issue regarding ZHA, this is Z2mqtt.

I have tried and troubleshooted a few things, making new blueprints to replace the old maybe outdated ones, no luck.

Looking at the text input helper, there is a rotate action recorded, also a stop action recorded as it should. So my best guess will be that the issue lies in the hook. I just don't know what changed since I haven't touched the automations in quite some time.

Automation YAML config

#controller

alias: Controller - IKEA E1744 SYMFONISK Rotary Remote
description: ""
use_blueprint:
  path: EPMatt/ikea_e1744.yaml
  input:
    integration: Zigbee2MQTT
    controller_entity: sensor.dial_button_action
    helper_last_controller_event: input_text.symfonisk
    rotate_left_loop: true
    rotate_right_loop: true
    action_rotate_left: []
    action_rotate_left_stop: []
    action_rotate_right: []
    helper_debounce_delay: 0

#hook

alias: Hook - Media Player
description: ""
use_blueprint:
  path: EPMatt/media_player.yaml
  input:
    controller_device: ac3bd30286fa7c9f59f9aafc5017b18a
    controller_entity: sensor.dial_button_action
    controller_model: IKEA E1744 SYMFONISK Rotary Remote
    media_player: #input media player here

To Reproduce

  1. Have the controller and the hook setup like in the YAML and connect it to a media player, in my case a google home speaker or group. But it also does the same thing when connected to any helper or other media player.
  2. Rotate the remote.
  3. Stop rotating the remote

Expected behavior

The volume should increase or decrease slightly.

Actual Behaviour

The volume increases or decreases to full blast or mute.

Additional Details

  • I'd like to help developing a fix for this issue.

Screenshots

No response

Additional context

No response

@ThatBeardGuy ThatBeardGuy added blueprint An issue related to a blueprint bug Something isn't working labels May 7, 2023
@thomas-svrts
Copy link

I have exact the same since 2023.5, but I am using deconz.

@ThatBeardGuy
Copy link
Author

It seems to be more connected to this recent issue than to the older one I saw.

One thing I have noticed is that the volume stops increasing/decreasing when pressing pause/play. So maybe the rotation stop text isn't being recognized by the hook anymore, but you can intercept it using the press action..

This something you experience too @thomas-svrts?

@thomas-svrts
Copy link

thomas-svrts commented May 7, 2023

Didn’t check that. Remote isnt in my home…
But i did test #546 but that didnt work at first sight. Mannually updated the regex expressions (removed the spaces):
IMG_4320

@thomas-svrts
Copy link

Can it be related to home-assistant/core#91253 ?

@rubinho76
Copy link

rubinho76 commented May 8, 2023

You need to remove a total of 6 spaces in line 242/243 (current original ikea_e1744.yaml) and reload the Automation service.
After that it should work again.
See screenshot...
grafik

@rubinho76
Copy link

I have created the change in a pull request #548 for the E1744.
Please test and then approve

@0wnjei
Copy link

0wnjei commented May 8, 2023

I've removed all spaces on both regex patterns and reloaded the yamls. Still not working for me (on STYRBAR remote)

code below:
regex_match("^\{((\"a\":\".*\"|\"t\":\d+\.\d+)(,)?){2}\}$")) else as_timestamp("1970-01-01 00:00:00"))) * 1000 }}'
regex_match("^\{((\"a\":\".*\"|\"t\":\d+\.\d+)(,)?){2}\}$")) else "" }}'

@rubinho76
Copy link

I've removed all spaces on both regex patterns and reloaded the yamls. Still not working for me (on STYRBAR remote)

code below: regex_match("^\{((\"a\":\".*\"|\"t\":\d+\.\d+)(,)?){2}\}$")) else as_timestamp("1970-01-01 00:00:00"))) * 1000 }}' regex_match("^\{((\"a\":\".*\"|\"t\":\d+\.\d+)(,)?){2}\}$")) else "" }}'

unfortunately I can't say anything about the Skystarr controller, since I only have the E1744.
Maybe you try again with a fresh ikea_e2001_e2002.yaml and make the changes there.

@0wnjei
Copy link

0wnjei commented May 8, 2023

So i've did a test after removing the spaces from the blueprint and, since these double-click events are virtual, i disabled the "Expose <LEFT/RIGHT/UP/DOWN> button double press event" option from my existing automation. I saved it, then re-enabled them and saved again and now they are working properly.

PS: Tested this only with the STYRBAR E2001/E2002 blueprint, can't guarantee it'll work for all other blueprints.

@thomas-svrts
Copy link

tried to overwrite the yaml blueprint files with the new version and reloaded all automations.
Still doesnt work...

@rubinho76
Copy link

tried to overwrite the yaml blueprint files with the new version and reloaded all automations. Still doesnt work...

Which new version?
There is no new published version yet.
Or did you use the version of my pull request #548?

@thomas-svrts
Copy link

thomas-svrts commented May 8, 2023 via email

@rubinho76
Copy link

hmm, I don't know what to do about that either.
I have taken the original E1744 file, removed the 6 spaces and reloaded the service. After that it worked for me.
Maybe you have to do the same as 0wnjei

@mareque
Copy link

mareque commented May 8, 2023

@rubinho76 I've just applied the "remove 6 spaces" fix and it resolved the issue at mine. HA v2023.5.2, THANK YOU very much for this hint.
image

@thomas-svrts
Copy link

@mareque @rubinho76 is any of you using deconz? or both on zha or zigbee2mqtt ?

@mareque
Copy link

mareque commented May 9, 2023

@thomas-svrts I'm on z2mqtt

@rubinho76
Copy link

@mareque @rubinho76 is any of you using deconz? or both on zha or zigbee2mqtt ?

me too... zigbee2mqtt

@rubinho76
Copy link

one more thing,
if the changes work, please approve my pull request to get the change published.

@stephdust
Copy link

Hello everyone, I'm using zigbee2mqtt, HA2023.5.2 and this ikea E1744 piloting Sonos ,
removing these 6 spaces fixes the problem, thanks :-)

@pavoni
Copy link

pavoni commented May 13, 2023

I'm using deconz - and am seeing what looks like the same issue (volume rotations don't stop).

The deconz start and stop events look to be fine.

Removing the spaces as described above didn't solve the problem for me

@mareque
Copy link

mareque commented May 14, 2023

So maybe that's a hint for you to switch from deconz to z2m?

@thomas-svrts
Copy link

I found that the events in deconz aren’t strings but integers.
Thats also why the regex doesn’t work for deconz.
This is what is stored in the helper: {"a":1002,"t":1684048818.894353}
I’ll try to adapt…

@thomas-svrts
Copy link

This regex should work for deconz and zigbee2mqtt

regex_match("^\{((\"a\":.*|\"t\":\d+\.\d+)(,)?){2}\}$")

@pavoni
Copy link

pavoni commented May 14, 2023

Thanks very much @thomas-svrts that works well for me with deconz.

@spencer-scott
Copy link

I have created the change in a pull request #548 for the E1744. Please test and then approve

This worked for me with zigbee2mqtt. Thanks!

@motoridersd
Copy link

motoridersd commented Jun 16, 2023

Is volume control still working for everyone? I fixed this issue (volume changes not stopping) with the proposed changes, but now I can't change the volume at all. The controller automation is triggered, but the hook isn't getting called. #553

@thomas-svrts
Copy link

Still works for me.

@Sheugel
Copy link

Sheugel commented Jun 18, 2023

Hi, I have the same problem. It's not working anymore...

Edit: after removing the automation and the blueprint, readding them and modifying the yaml by removing the 6 spaces, it works again...

@github-actions
Copy link
Contributor

Hi there,

🔒 This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new ticket for related bugs.

Thanks!

@github-actions github-actions bot locked and limited conversation to collaborators Sep 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
blueprint An issue related to a blueprint bug Something isn't working
Projects
None yet
Development

No branches or pull requests

10 participants