Skip to content

Releases: theyosh/TerrariumPI

4.11.1: Maintenance update

07 Sep 07:11
Compare
Choose a tag to compare

Maintenance update

With this update we fix some small issues and updated all external libraries.

Updated the Docker builds to make them a bit faster and smaller in size.

Added some extra warnings at the documentation pages for the DHTXX sensors.

A new Portuguese translation is added by MakoShark2 and other languages are updated.

Fixes

Fixed a bug that when you are already logged in, the log lines did not show up fully in the log screen. #939

Removed all direct gevent functions. So it can also run without Gevent when needed in the future. Using monkey patch, we still use Gevent.

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.11.0...4.11.1

4.11.0: Brighten up the displays

29 Jul 10:25
Compare
Choose a tag to compare

Display updates

In this update, the big changes are in the notification system. The biggest change is the Display code and logic. The code has been completely rewritten, and works much better now.

The biggest change is that the display will now always keep the latest messages, and will add new messages to the bottom. This way, we can use the most of the small display space there is.
As a bonus, you can also have the latest line scroll horizontal. But with a lot of messages, the display can get out of sync, or not keeping up. Just try it and see if it works for you.

Sender address for email

When you now create a email notification service you can now specify the sender address. Hopefully this will work better with external mail parties.

Support for Meross MS100F sensor

As there is now support for MS100F sensor, which is the same as the MS100 but with a solar charger. With this release those sensors are now also supported. They should be auto discovered during startup.

Raspberry PI 5 and Bookworm support

Bookworm support is done for he most part. So you could use Bookworm as OS from now, but NOT on a Raspberry PI 5. The Raspberry PI 5 has still some issues with the webcams and the LDR light sensor. They do not work (yet). Other GPIO related problems should be fixed.

But due to the amount of time it costs to test all Raspberry PI OS versions (buster, bullseye and bookworm) on all supported Raspberry hardware is not doable. That would create more than 10 different combinations, which is to much to fully test. Specially it needs to be tested with physical hardware.

It is still not clear when Raspberry PI 5 hardware is supported. You can run it on your own risk.

Documentation cleanup

The documentation is totally reformatted to follow the Markdown format rules. For the outcome of the HTML there is no difference, but now it is all according to Markdown specs.

Small fixes in the documentation RSS feed.

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.10.2...4.11.0

4.10.2: Live Raspberry PI webcam fix

17 Jul 19:50
Compare
Choose a tag to compare

Due to Bookworm adoption the Raspberry PI live webcam was broken. In this release this has been fixed. That is all.

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.10.1...4.10.2

4.10.1: Another Docker fix release

09 Jul 18:19
Compare
Choose a tag to compare

This release is again for Docker users only. Somehow the Docker health check is working differently, and that was killing the container before the software could start. So the health check is changed, and should wait for a maximum of three minutes to startup before restarting the container when unhealthy.

And for the Bullseye Docker image, there was an OS package missing which made not to start up. This has also been fixed.

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.10.0...4.10.1

4.10.0: Make GPIO relays work like they should

30 Jun 07:05
Compare
Choose a tag to compare

GPIO relay changes

In this release we have changed the GPIO relay code. So if you use those relays, pay attention to the following.

Due to a historical code bug, the GPIO relays where for most people working in reverse order. And this made it also a bit difficult to support the IO expanders. So the code has now be simplified.

TerrariumPI will make a GPIO pin HIGH when the relay should be toggled on. This is the basic default of most GPIO relay code, so we follow this logic. And it this is somehow not working for your GPIO relays, you can now use the calibration part at the GPIO relay, to put it in inverse mode.
This means also that the GPIO inverse relay type is gone. We have not just 1 GPIO relay hardware type.

When you have upgraded TerrariumPI and start it up again, it will convert your GPIO Inverse relays to normal GPIO relays, and the normal GPIO relays will be put in reverse mode. This should swap the GPIO inverse logic, and should make the relays still work like normal.
If this is not the case, you can just edit the GPIO relay, and toggle the inverse option in the calibration part.

IO Expanders

Whe dropped support for the pcf8575 (16 channel) device. As the the overall IO expander code was a bit buggy, we are now using a different library. But that library does not support the pcf8575 chip. So we have dropped support for that.

You can always stack multiple pcf8574 expanders together to get 16 extra GPIO ports.

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.9.3...4.10.0

4.9.3: Docker fixes 2

12 Jun 20:22
Compare
Choose a tag to compare

This release should fix the docker images and make them start again.

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.1...4.9.2

4.9.2: Docker fixes

12 Jun 19:24
Compare
Choose a tag to compare

This release should fix the docker images and make them start again.

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.1...4.9.2

4.9.1: Fine tuning

08 Jun 08:21
Compare
Choose a tag to compare

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

4.9.0: More speed or less waiting

11 May 11:05
Compare
Choose a tag to compare

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

4.8.4: Ancient bug fix

21 Mar 19:28
Compare
Choose a tag to compare

Apparently there was a bug in the code for many, many years :(. 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.

image

So, the time on is 5 minutes, and the settle time is set to 4 minutes, it will never settle. Which is totally wrong.

The settle time now starts when the relays is toggled off. And it does not matter if the relay is toggled of manually of by timer/sensor. This is how it should work from the beginning. Thanks to @manolof for finding this.

This also updated the relay toggling logging and logic to improve relay toggling in certain situations.

What's Changed

  • feat: improve GUI charts and responsive views by @manolof in #901

New Contributors

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.3...4.8.4