I was discussing this concept a few months ago with a friend, brilliant!
Thanks, it's been working really well for me. I'm hoping to integrate a moisture sensor soon.