Release TerrariumPI v 4.10.0
Release 4.10.0 - Make GPIO relays work like they should
GPIO relay changes
In this
release we have changed the GPIO relay
code. So if you use those relays, pay attention to the following.
In this
release we have changed the GPIO relay
code. So if you use those relays, pay attention to the following.
The Docker
builds where broken and should now be fixed again. That is all.
The
previous release did improve
the speed a lot with caching the total power and water usage. This saves a lot
of CPU time with a big database.
When
TerrariumPI is running for a couple or years, you will get a lot of relay data
which it used for the total power and water usage. After 7 years, it took about
15 seconds each time it was calculated. Which is half the time of the engine run
time.
Apparently
there was a bug in the code for many, many years :disappointed:. The settle time
value was calculated from the time the relay was toggled on. But when the relay
on duration is higher than the settle time value, the settle time was useless.