Got a pair of WiZ lights. How to accomplish the following wish list?

Hi, y'all. Just got my first pair of WiZ lights, which I stuck in the living room, for starters. What I'd like them to do automatically is...

  • Turn on anytime during the night (driven by location-specific sunset and sunrise times if possible, and a light level sensor if not) when they detect motion
  • Turn off an hour after sunrise (or, again, when the light level reaches X)
  • Turn on two hours before sunset (or the light level falls to Y)
  • Turn off at 10:30 PM unless there's motion detected, in which case they should turn off after motion is no longer detected for X minutes

I'm thinking all this is beyond the capabilities of WiZ's own app, and although these bulbs do have some sort of built-in motion sensing (that somehow feeds off the WiFi), it doesn't appear it throws events I could grab in HE. But I think that if I sprung for a motion sensor and light level sensor, setting all this up in HE would be close to child's play. Thoughts? (I'm still kinda new to this.)

All of this possible within Hubitat. With the right settings, this can probably all be accomplished within one Room Lighting instance. You could also do it via a couple of different rules. It is just a matter of how you want to set it up.

I do not use Wiz anymore, but from what I remember, their app automations are fairly basic. Turn on at this time, turn off at this time, etc... Wiz's WiFi motion sensing is not something that can generate an event within Hubitat so you will definitely want a third party sensor.

The good news is that most motion sensors also have a light sensor too, so you will probably need just one device. Note, do not get Wiz's motion sensor. Their sensor only works within Wiz and cannot be brought into the Hubitat environment.

1 Like

I am not an expert!
I added two Wiz lights to my Hubitat recently.
As I recall I had to add them to the wifi network with the Wiz app. Then, add them to Hubitat with the Wiz Integration. Plenty of help available here!

I have a bunch of the wiz bulbs and all of them that they sold, in at least the last year, are matter compatible. I used that integration at first, but more recently switched them all over the matter. It was pretty easy to do. Once you have them in their app, the app will give you the matter code to use. The hardest part was finding where that code is in their app.! lol Each time I did it, I had to spend 5 mins remembering how I go there. one caveat, I think there are some things you can't do with them via matter, (maybe scenes?) but I never used that anyhow.

Who named this. Not someone from usa.. i need to take a wiz

You clearly didn't live in NY/NJ/PA in the 90s :rofl:

in the UK you'd need to take a waz

I just installed a wiz controller, bulb, and led strip through the wiz app. Turned on built-in wiz integration on my C-8pro and ran discovery. Everything is working fine on firmware 2.4.1.157.

@rich9 - why did you switch to matter?

Two reasons. The one is like to say is for the local control. But the truth is, while I'm a geek and love playing with this, my ever increasingly tired old brain is sometimes getting overwhelmed with just remembering what I did, and what I used to do it! Lol

So to try and simplify things, I wanted to try and do everything, as least as much as I can, via hubitat directly. My wife however, is not a geek like me, and as we're in our 60's, I want to make everything as user friendly as can be. She doesn't want to use any app to control things, only vhoice commands, so I'm using Google home to try and control everything. But what I didn't want to do, was to have it run any of the automations, again, just to keep it all straight in my head of what I have going on. Doing it this way helped, in that at least if I have an issue with the front porch lights not turning on for example, I know where to look.

Here's another newer example. I have the roborock curv (which was lot of $$$ but with 4 cats, its one of the best things I ever bought) I used the custom app someone made and created a virtual switch that run one of the custom cleaning routines. Now she can just say "clean powder room" and Google turns on that virtual switch, which then in hubitat runs a routine to clean our guest bathroom where one of the litter boxes is. We have one of our four that will go in there sometimes and have a party throwing that freaking litter all over the place.

There are just so many other things I'd like to be able to do, as we don't live a very normal life. By that I mean, she get inspired at odd times, and if the weather is nice, I'll find her outside at 3 am on the front porch working on book she is trying to write. I'm now playing with these presence sensors I bought trying and racking my brain on how I can write some rules for all the different things we do at different times around here. It's all good fun :blush:

Btw, I'm always dreaming of what I can do next. Like if I can figure out how to hook up a sensor that will let hubitat know if that one cat goes in there, I can have it run that routine. Someday... There will be an easy way to do it. The thing is, I know how too, but there isn't access to the API from what I've read. We have a litter robot in there, and it has a scale built in that let's it's now which car is using it, based on their weight. Now if they would ever open that up, someone who is more of a geek than me could build an app to access it. It sure would be fun to use it if it happened.