I have only about three Wyze plugs, bought on a whim as an experiment. They're not quite as reliable as my Z-wave stuff, but are in non-critical uses. Still, will be nice to integrate them into the borg that is my HE system.
The lock should be easy to add. It's been done for Homebridge so it's just a matter of reproducing that functionality. I'll add it if I get my hands on one (not super keen on spending the $100 tho) or someone else can feel free to add.
Also a note on the bulbs. This will only work for the color bulb right now. The CT bulbs use different commands. Easy to implement but since I don't have one I didn't want to add code without being able to test it.
This is great. I'll be able to kick IFTTT to the curb now.
I was scratching my head why I couldn't get the Wyze Plugs to show up in the Simple Automation Rule app as something I could control. I then took a look at the driver code for the Plug and Plug Group. There isn't the Switch Capability.
Once I added capability "Switch" to the code they now work anywhere a Switch works in apps.
Update on this. Turns out it wasn't a refresh token issue, it was a rate limit issue. Apparantly refreshing my 19 devices every 10 seconds tripped some rate limit eventually. It took multiple days of refreshing ever 10 seconds though, so that's weird. Getting a new Access Token / Refresh token pair resolved the issue though.
Going to rethink the refresh logic. Maybe just have the devices refresh less often and assume folks aren't updating their devices from Wyze often once they add them to Hubitat.