Hope someone can help.
I’m currently suffering from low Vit D so I have a UVB bulb attached to a tp-link plug.
I want the bulb to come on if I’m home (location services) AND the UV index is below 5 (underground weather) but obviously not all night, so I’d like it to shut off at 7:00 pm but I can’t figure out how to do it!
My first problem is that annoyingly, I can only trigger an event if UV index rises above a defined level, I need it to be the other way around. (although the very fact this is the case has brought me to use Apilio so I guess that’s the silver lining!)
The second problem is that there is no NOT logic and the time service will only trigger an event on a specific time.
So far I have managed to get around the UV issue by getting the webhook service of IFTTT to send a ‘false’ webhook when UV rises above 5, and requiring condition to be true in the logic block thus reversing it, but I cant do that with a time trigger webhook because it would only trigger at 8:00 and then the state would remain false for the next day.
If I had a separate trigger that turned it off at 8:00 the two would compete with each other and id end up with a flashing bulb!
Anyone got any ideas? Am I missing something obvious? when i baught all the components for this project it seemed like it would be simple - UV goes down, bulb goes on!
P.S. if the developer sees this, it would be really great if you could add timing features, it would make things so much simpler, and it seems like a really long-winded way of doing things to call upon a service from somewhere else just to have something happen or stop happening at a certain time.