We have three closet that have no lights inside of them that I've been wanting to add lights to for a long time. One is the Pantry in the Kitchen, that I still trying to figure out the best way to run power wire to. But today, I was able to get lights (LED strips) setup in two of the three closets.
The small storage closet on the first floor at the end of the hall, requires you to turn the hallway over head light just to be able to see anything. But once you stand in the door way of the closet, you lost half of your light trying to look around. The same was also for the small closet in our basement.
So I ordered the Onforu 33ft LED Strip Light, 5000K Daylight from Amazon. https://www.amazon.com/gp/product/B07DVFRH42/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1
I used what I needed of the LED roll in the first floor closet and the 12v power plug that came with the kit. I used the rest of the LEDs in the basement closet, and had an extra 12v power plug to power it. I didn't use the dimmer controller knob it came with, I left that in the box.
On the first floor closet, I'm using door contact sensor to turn on the one of the Zooz double outlets that the LEDs are plugged into. A simple rule, Open = On, and Close = Off.
For the basement closet sliding doors, I didn't want to waste two contact sensors for each door. So I used an Iris motion sensor on the back wall, inside of the closet. This way it would trigger no matter which of the two doors were opened. When the closet motion sensor get tripped, it turns on an Ikea outlet that the LEDs are plugged into for 1 minute then turns back off again.
I was very happy on how everything turned out, and how easy it was to set it up in Hubitat...
Before pics....
After pics....
Led strips attached around the inside closet door frame.
All the LEDs are the same 5000k brightest, the different angel of the pic makes some the look as the are warm white, but there not.
Here is the Basement Closet........
Before pics.....
After pics....