Re:Fridge 0.1
by jncraton on Saturday May 19, 2018 @08:28AM
(#17107621)
You aren't wrong, but there is some value in a more complex control system. For example, the fridge uses some sort of hysteresis to prevent the compressor from cycling on and off too quickly. Let's say it runs for 15 minutes every hour. You ideally want it to schedule that last 15 minute run at the latest time possible when enough sunlight is still available to run it. This shortens the amount of time that the fridge needs to be able to stay cold without power.
[ Parent
| on HN ]
I've thought about trying to add that eventually, but I think I would need a weather forcast with insolation data and also some modeling of when the sun goes behind trees/hills at different times of the year.
Anyone know a good insolation forecast API?
Never used it, but I've heard good things about the darksky API: https://darksky.net/dev