Skip to content

4.9.0: More speed or less waiting

Latest
Compare
Choose a tag to compare
@theyosh theyosh released this 11 May 11:05
· 36 commits to main since this release

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. So that is not good.

But also, it takes a full CPU so all other processes needs to wait. Which is also horrible. And can give a cascading effect where the system can never keep up anymore. Python cannot use multiple CPUs ☹️

This has been changed and hopefully everybody experience some speed improvement.

GUI updates

In the GUI the tooltips at the graphs work now way better. It will now always show a tooltip of the nearest point. That works a lot better at the relay and button graphs.

Also the relay graphs are now again full selected period. By default that is 24 hours (day).

And there is now also Unsplash support for a nice background.

Docker updates

The docker build has been changed to support a docker image per Raspberry PI OS. So now there is a buster and a bullseye docker image. Bookworm OS is problematic, and will take more time to fix.

The new image tags will be x.y.z-os where x.y.z is the actual version and os is either buster or bullseye. The tag latest is referring to the latest buster image as that is the same image as being used until now.

What's Changed

Read all about it at the release page

Upgrading

Use the following steps to upgrade TerrariumPI

Docker

  • Stop TerrariumPI: docker compose down
  • Update version number in docker-compose.yaml and run docker compose pull
  • Start TerrariumPI: docker compose up -d

Or go to the upgrade steps on the documentation page

Manual

  • Stop TerrariumPI: sudo service terrariumpi stop
  • Update the code: git pull
  • Rerun the installer: sudo ./install.sh
  • Start TerrariumPI: sudo service terrariumpi start

Or go to the upgrade steps on the documentation page

Full Changelog: 4.8.4...4.9.0