3 ms·
Which is why smart things are dumb. You can't just program features, you have to program context. And context rapidly becomes non-trivial. So you either have a
by TheOtherHobbes 9y ago
Which is why smart things are dumb. You can't just program features, you have to program context. And context rapidly becomes non-trivial. So you either have a dumb object that no one expects to act intelligently, or you have a smart object that tries to act intelligently but fails because it's not as smart as a human, and humans are random anyway.
For smart lights you need "Return to previous state, and then see if the state was on a timer. If it was, wait until you get an NTP answer (i.e. the Internet isn't down) and set up the state requested by the timer."
Which is fine unless the previous state was a party, it's now daylight, and all the bulbs are still different colours.
Or someone was adjusting the lights and accidentally set them to 1% instead of 100% when the power went off.
Everything becomes an edge case. The most useful solution requires an intelligent default with timer support, with some awareness of what's happening in and around the house.
And it still has to allow for user overrides, because some people - like my partner - sometimes want the lights on during the day, even when the room is bright.
- criddell 9y agoI think you are over-thinking things. I also have analog switches and dimmers in my house. If I have the lights at the lowest setting when the power goes out, that's where they are when the power returns. If everything was on full when the power goes out, then that's where things will be when the power returns. Why should smart things work differently than what a lifetime of experience has lead me to expect?