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

Symfonisk Controller E1744 - working #8

Closed
crmunro opened this issue Jan 10, 2020 · 9 comments
Closed

Symfonisk Controller E1744 - working #8

crmunro opened this issue Jan 10, 2020 · 9 comments

Comments

@crmunro
Copy link

crmunro commented Jan 10, 2020

Hi there!

Great plugin, thank you - saved me a lot of time and frustration. I just wanted to report that the Symfonisk controller, E1744, works quite well with this automation. It's not quite perfectly smooth dimming, but it's close enough for my purposes.

I think you could update your table to include the following; bearing in mind that the E1744 doesn't have the same 'rotate_x_quick' actions that the ICTC-G-1 has:

Model | Controller type | Class | Actions
ICTC-G-1 | Light | ICTCG1Controller | rotate_left, rotate_right, rotate_stop

You could optionally update the code to differentiate the Controller class, however the E1744 controller works fine with the ICTC-G-1 class.

Thanks again!

@xaviml
Copy link
Owner

xaviml commented Jan 10, 2020

Hi @crmunro

I recently got a symfonisk controller, but I haven't started playing with it. I was thinking to support light and media_player with it. I will keep you updated on it.

@xaviml
Copy link
Owner

xaviml commented Jan 11, 2020

Hey @crmunro,

I just released a new code with support for the E1744 as light or media player. Check the device support and the controller type in the wiki.
Here is an example to control your light with the E1744:

appName:
  module: z2m_ikea_controller
  class: E1744LightController
  sensor: <your action sensor>
  light: <your light>

I tried the E1744 with z2m without the recommended debounce option and it worked quite well. If I leave the debounce then the state will remain on the home assistant instead of leaving blank again.
You can do the following with the controller:

  • 1 click to toggle the light (on/off)
  • 2 clicks to put the light on full brightness
  • Rotate the controller left/right for volume down/up

Let me know if this works well for you too.

@tobimori
Copy link

tobimori commented Jan 11, 2020

@xaviml Thanks for the update! I tried using it, but I can't get it to work without bugs (Media Player only, haven't tested Lights).

When trying to pause using the controller, it pauses for half a second, then starts again. With debounce, it pauses correctly, but stops every time I rotate the controller.

@xaviml
Copy link
Owner

xaviml commented Jan 11, 2020

Hi @tobimori

Thanks for your feedback! I got it working without the debounce option since when I had it on, it was quite buggy. Which device are you trying it on? I read yesterday there is a bug on z2m for this controller that sends the commands twice. Can you check if when you click you see "play_pause" twice in the z2m logs? I do have them, but it works okay with Google Home mini.

@tobimori
Copy link

tobimori commented Jan 11, 2020

@xaviml yep, sending it twice. using a cca.

@xaviml
Copy link
Owner

xaviml commented Jan 11, 2020

So is your problem just the play_pause when debounce is not included? Does the volume work as expected?

@tobimori
Copy link

@xaviml Yea.

@xaviml
Copy link
Owner

xaviml commented Jan 11, 2020

@tobimori I added a simple logic that does not allow to call an action that has been called within a small period of time. The changes are in the master branch. You can either:

  • Select master from HACS on the Z2M Ikea Controller app
  • Copy and paste the file z2m_ikea_controller.py into /config/appdaemon/apps/z2m_ikea_controller/z2m_ikea_controller.py

Let me know if this fixed your problem. Thank you for your collaboration.

@tobimori
Copy link

@xaviml Works really well, thanks for the fast fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants