I got an old webcam for free, so I turned it into a brightness sensor. I think I can use this to determine when everyone has gone to bed so a script can check if the TV is really in the state that my Harmony Hub thinks it is (so we can turn off the TV manually and the remote control won't get out of sync). The unit is set to "lux" so Home Assistant will graph it, but really it's a nonce number. I can share my Python code but it's not really mine; I just combined a few OpenCV examples together :)

Sign in to participate in the conversation
tassaron dot com

This is Brianna Tassaron's federated muffin microblog homepage! To follow my posts, find another Mastodon instance and join the fediverse.