ha-wyzeapi icon indicating copy to clipboard operation
ha-wyzeapi copied to clipboard

[Feature Request] Enable access to "Sun Match" mode like the current "Music Mode"

Open bobloadmire opened this issue 3 years ago • 9 comments

Is your feature request related to a problem? Please describe. In addition to music mode, wyze also offers Sun Match effect mode, please add

Describe the solution you'd like Add effect option for sun match like current music mode.

Describe alternatives you've considered using the Wyze app instead of HA?

Additional context No idea what to put here.

bobloadmire avatar Apr 02 '22 15:04 bobloadmire

I think it’s doable, I’ll take a look when I get some time.

brg468 avatar Apr 02 '22 16:04 brg468

Any idea if Sun Match works on the white bulbs? I assume so but I only have color and light strips.

Edit: According to the Wyze website they should.

brg468 avatar Apr 22 '22 12:04 brg468

Yes it does

bobloadmire avatar Apr 22 '22 13:04 bobloadmire

Any updates on this?

bobloadmire avatar Aug 14 '22 04:08 bobloadmire

Yep. It was added in the PR above.

brg468 avatar Aug 14 '22 05:08 brg468

Is it in the latest build? Not seeing the option in my strip lights

bobloadmire avatar Aug 14 '22 14:08 bobloadmire

It’s under effects. The light has to be on to select it from the front end, or you can pass the effect in a script.

7DA66E22-E267-4FFA-A169-4F6270A3F1AB

brg468 avatar Aug 14 '22 14:08 brg468

Ohhh I missed that the light has to be on. I was hoping to change the mode even when the lights were off in a schedule

On Sun, Aug 14, 2022, 7:13 AM Brian Rogers @.***> wrote:

It’s under effects. The light has to be on to select it from the front end, or you can pass the effect in a script.

[image: 7DA66E22-E267-4FFA-A169-4F6270A3F1AB] https://user-images.githubusercontent.com/19143191/184540880-353d8025-3dd8-4960-a966-dd6e235d8ef2.jpeg

— Reply to this email directly, view it on GitHub https://github.com/JoshuaMulliken/ha-wyzeapi/issues/367#issuecomment-1214386613, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAK3FEEWIOAPE6TFPU3MULVZD5KHANCNFSM5SLDCLTA . You are receiving this because you authored the thread.Message ID: @.***>

bobloadmire avatar Aug 14 '22 14:08 bobloadmire

You can, using the light.turn_on service and passing the effect.

https://www.home-assistant.io/integrations/light/

brg468 avatar Aug 14 '22 14:08 brg468

Awesome, thanks!

On Sun, Aug 14, 2022, 7:45 AM Brian Rogers @.***> wrote:

You can, using the light.turn_on service and passing the effect.

https://www.home-assistant.io/integrations/light/

— Reply to this email directly, view it on GitHub https://github.com/JoshuaMulliken/ha-wyzeapi/issues/367#issuecomment-1214393229, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAK3FAZVSIQH6TK6Z45RMDVZEBB5ANCNFSM5SLDCLTA . You are receiving this because you authored the thread.Message ID: @.***>

bobloadmire avatar Oct 11 '22 07:10 bobloadmire

@JoshuaMulliken this has been implemented, feel free to close.

brg468 avatar Oct 14 '22 23:10 brg468

@JoshuaMulliken question related to the above.

I have 1 lightstrip + 14 bulbs (RGB) I can trigger music mode where they're all sync'd from the Wyze app, but I cannot for the life of me figure out how to trigger effect: 'music mode' for the same grouped lights (bulbs + light strip) in the wyze app as in HA.

When I group them together in HA, I see:

min_color_temp_kelvin: 1805 max_color_temp_kelvin: 6493 min_mireds: 154 max_mireds: 554 effect_list:

  • flicker
  • leap
  • shadow
  • sun match

But when setting the group to 'flicker' for example, only the light strip responds.

I suspect it could be a limitation, but wondering if you knew how I could trigger a music mode on all bulbs AND light strip grouped in the Wyze app, in HA as well.

hindsight2021 avatar Dec 01 '22 14:12 hindsight2021

@hindsight2021 Ill try to answer this best I can since I don't think Josh has the lightstrip. The short answer is, as of now it's not possible to control the effects of a group containing a lightstrip the way it is in the app.

I've tried to make this work as well, and regardless of how the lights are paired in the app, sending the command to the lightstrip only affects the strip, not anything else its paired with. I even tried adding the effects directly to bulbs to see if that would allow them to be used either on their own or when in a group, but it doesn't seem to be how Wyze has it set up. Groups are returned from the API during setup, but right now they are not added to HA, and even if they were, I don't know if they can be controlled the same way as individual lights.

I am sorta interesting in making this happen as well, so as I get a chance I may try messing around with it and see what if anything can be done.

brg468 avatar Dec 01 '22 15:12 brg468

Thanks so much - I figured it had to be an API limitation some how, as essentially the lightstrip now controls the lights in a slave-master fashion I think….Looking forward to this if you ever find a route around it!Thanks again!-MB___________________________"Sent from my mobile device"On Dec 1, 2022, at 11:08 AM, Brian Rogers @.***> wrote: @hindsight2021 Ill try to answer this best I can since I don't think Josh has the lightstrip. The short answer is, as of now it's not possible to control the effects of a group containing a lightstrip the way it is in the app. I've tried to make this work as well, and regardless of how the lights are paired in the app, sending the command to the lightstrip only affects the strip, not anything else its paired with. I even tried adding the effects directly to bulbs to see if that would allow them to be used either on their own or when in a group, but it doesn't seem to be how Wyze has it set up. Groups are returned from the API during setup, but right now they are not added to HA, and even if they were, I don't know if they can be controlled the same way as individual lights. I am sorta interesting in making this happen as well, so as I get a chance I may try messing around with it and see what if anything can be done.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

hindsight2021 avatar Dec 01 '22 18:12 hindsight2021

@hindsight2021, I think I've been able to get this to work!

It turns out the bulbs can be set to music/effect mode independently of the light strip, sort of. I can send a command to the bulbs that will allow them to use the 3 effect modes when they are in a HA light group with a lightstrip. HA will not automatically add the light groups that you have in the Wyze app, but you can create a light group in HA with the same bulbs/strips and then the effect modes will work.

This will require an update to the code to make it happen, so be on the lookout for that hopefully in the near future. Let me know if you have any questions.

brg468 avatar Dec 05 '22 20:12 brg468

Amazing, thank you for that - that will really set my smart home goal to the next level.

Cheers mate!

hindsight2021 avatar Dec 05 '22 20:12 hindsight2021