Wyze Strip Pro - anyone integrated it with HA?

I just installed my Wyze Strip Pro that I bought pre-order and arrived about a month ago. The Wyze integration on Home Assistant isn’t seeing it. (Yes, reloaded and rebooted, with no luck). Shows up and works fine in the Wyze app and all other Wyze devices (plugs/cameras) appear in HA.

Anyone have this working? Any tricks?

TIA

I just added support for the regular light strip the other day. I believe the Pro is essentially the same behind the scenes so it should work as well. The newest version of ha-wyzeapi should have it, but if you have color bulbs as well I’d hold off on updating. In adding the light stirp I introduced a bug that broke those :man_facepalming: . It’s been fixed but a new version hasn’t been published yet. Let me know how the Pro works once you get it working.

Thank you! That took care of it.

Hi @brg468, I’m having an issue with the Wyze pro strip. I just added the integration last night, so I’m on the latest version 0.1.4. The LED strips are detected and show up in my entity list, but I cannot change the state, my changes seem to be essentially ignored.

If I turn the strip on/off or change the color from the Wyze app, then the entity state in HA does reflect the change after a few seconds, so that direction of communication seems to be working. It’s just the setting of state from HA to Wyze that’s not working for me.

This is occasionally added into my logs, possibly related:

2022-01-01 09:51:58 WARNING (MainThread) [wyzeapy.services.base_service] Failed to connect to bulb 7C78B29569E2

And thank you for your work on this integration.

That has been a known issue with the bulbs, this is the first I’ve heard it with the strips but they communicate the same way so its not necessarily a surprise. The issues I’ve heard were that the bulbs would work for a while then quit. I don’t have any bulbs, but I’ve been using the strip for a few weeks now with no issues.

Couple questions…
Were you ever able to control it from HA?
Is the strip on the same LAN subnet as your HA server?

That has been a known issue with the bulbs

I have the colored bulbs too, those work find for me, just the pro strips that aren’t reflecting changes from HA.

Were you ever able to control it from HA?

No, ever since I set it up earlier this week, the colored / white bulbs work but the pro strip has the one-way communication issue that I mentioned.

Is the strip on the same LAN subnet as your HA server?

Yes, all my wyze devices are on the same subnet as my HA server (I just double checked).

I’m also a software developer, so If you can give me some pointers on what to try / how to debug, I might be able to get it working on my end and submit a PR back to you.

Can you see if the IP that’s shown in HA is the same as the one shown for the strip on your router? The only time I’ve been able to reproduce this is when I force change the IP of the strip.

I don’t have the pro version so maybe there’s something different, but I don’t think so.

Yeah, you’re right, HA shows 192.168.68.101 still, but my mesh network rebooted and the subnet is under 192.168.0.* now, so the IP is wrong. Even the Wyze app still showed the IP as 192.168.68.101 under device info. I removed the device from my wyze app, re-paired it with the app, then dropped the Wyze HA integration and re-added it, and all is working again. Thanks for your help!

I think I need to figure out how to save the subnet ID for my mesh network, so IPs don’t move around when my router restarts. I have some IP reservations in my mesh network’s router settings, but those are relative to the subnet, so it only gets me part of the way there to having a fixed IP for a certain device in my primary home network.

Good to hear! That was what I suspected might be going on. It seems that Wyze doesn’t update the IP right away when it changes like that, which then stops local control from working. I think what should probably happen is we fall back to cloud control when this happens, instead of just throwing the error.

Now that another year has passed (ha, ha) I want to automate my Wyze light strip to alternate red and green every couple of seconds for the holidays. Does anyone know a way to do that? I don’t see any transitions in the documentation that would seem to do this. Thanks in advance for any advice!

Easiest way is probably just set up a script. Something like what’s below should give you something to base it off of.

alias: Lightstrip color change
sequence:
  - repeat:
      until:
        - condition: time
          before: "00:00:00"
          after: "23:00:00"
      sequence:
        - service: light.turn_on
          data:
            color_name: green
          target:
            entity_id: light.new_light_strip
        - delay:
            hours: 0
            minutes: 0
            seconds: 10
            milliseconds: 0
        - service: light.turn_on
          data:
            color_name: red
          target:
            entity_id: light.new_light_strip
        - delay:
            hours: 0
            minutes: 0
            seconds: 10
            milliseconds: 0
mode: single

Thank you so much!

Initially, it only ran one time and wouldn’t repeat. I changed “repeat until” to “repeat while” and it works like a charm.

1 Like

Would be great if we could control the individual sections in the Wyze Light Strip Pro via Home Assistant, do you know if that is feasible?

It’s probably possible, but I don’t really know how you would even select which section to send the color to, other than a dictionary mapping the colors to sections in a service call. Long way to say don’t hold your breath on that one. :stuck_out_tongue: