Lighting Level Based on Lux

Hey @mike.maxwell,

I’ve been appreciative of your work for years and glad to see you on the team here. I hate to bother you, but I’ve been having a really hard time hunting down something you did a long long ago. You used to have a groovy app you wrote for ST that would adjust light levels based on a Lux (illuminance) attribute. I’m looking to implement this and can’t seem to find it anywhere. Do you still have that groovy code laying around? I was either going to make some adjustments to the groovy app to get it to work with Hubitat or make something in Rule Machine or WebCore that mimics the behavior of it.

Yes, I’m currently still using this app in production.
It’s posted in our public GitHub

example-apps/autoDimmer.groovy

6 Likes