Re:Nest Reminds Customers That Ownership Isn't What It Used ...
by rwjwjuwjudf on Tuesday April 05, 2016 @09:39PM
(#11435992)
Also you can decouple the handling of ac and heat, and check the current state to prevent a redundant transition into the current state.
[ Parent
| on HN ]
Re:Nest Reminds Customers That Ownership Isn't What It Used ...
by will_hughes on Tuesday April 05, 2016 @10:46PM
(#11436246)
If in between samples you go from above max to below min you'll have both heat and ac on.
The take-away is that like programming lift controllers[0] it's not quite as simple as it might first seem - many many edge cases.
[0] http://play.elevatorsaga.com/ (for example)
Re:Nest Reminds Customers That Ownership Isn't What It Used ...
by rwjwjuwjudf on Wednesday April 06, 2016 @02:22AM
(#11436992)
I think that's wrong, because all 4 if-statements are evaluated for each sample.
But yes agreed, in general there are lots of edge cases. I actually wrote a finite state machine specification for an elevator in a logic class once. Without having really thought about it much, it looks like the biggest problems with thermostats are dealing with scalars, sampling frequencies, and sampling error.