Skip to content

4.9.1: Fine tuning

Compare
Choose a tag to compare
@theyosh theyosh released this 08 Jun 08:21
· 299 commits to main since this release

Fine tuning total power and water usage

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.

But this also had a downside. The actual power usage is not updated while the relays toggles. So that has now be fine tuned. The actual power and water usage will updated first, before the big total power and water usage query is run.

So now the GUI will reflect more actual the power and water usage when a relay changes state.

!! Docker split up Java vs Non-Java !!

The next big thing is that the images are split up with or without Java. This is done in oder to reduce the size of the images. So if you need Java you should use the 4.9.1-[OS]-java tag in your docker compose file. If you do not need Java, leave the -java out of the image name.

Both -java and non java images are the same. The only difference is the presence of Java. You need a Java image when you want to use Denkovi V2 relays.

The non Java version is 50MB smaller to download.

Full list of tags

What's Changed

  • Reverted back the MQTT library. As the new version does work with a small change, other libraries depending on it, do not. So that bug was already fixed. But now it is finally fixed.
  • Fix graph exports on the dashboard.
  • Updated the smoothing code for graphs. The alarm values are now also smoothed. So that should produce even nicer graphs.
  • And fixed the documentation page. Somehow that was broken since the last release.
  • And updated all external libraries to the latest version.
  • Bump nokogiri from 1.16.4 to 1.16.5 by @dependabot in #915
  • Bump rexml from 3.2.6 to 3.2.8 by @dependabot in #917
  • Bump requests from 2.31.0 to 2.32.0 by @dependabot in #918

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.9.0...4.9.1