Releases: theyosh/TerrariumPI
4.9.1: Fine tuning
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.
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 rundocker 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
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
- Bump pillow from 9.5.0 to 10.3.0 by @dependabot in #906
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 rundocker 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
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.
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
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 rundocker 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
4.8.3: New hardware, security fixes and Telegram updates
In this release we support new hardware. Tighten the encryption of sensitive data a bit more. Add new Telegram features and fixes. And more updates ...
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 rundocker 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.2...4.8.3
4.8.2: First release in 2024
The first release in 2024 is here. With this release we have added a new bluetooth controllable relay. This is the Voltcraft SEM6000. Which is pretty small and easy to use.
Futhermore there are some code fixes for Telegram and we have added a GUI build patch.
Important: In this update we have moved some 3rd party libraries to PIP libraries. Make sure you rerun the installer!
What's Changed
Upgrading
Use the following steps to upgrade TerrariumPI
Docker
Do a docker compose pull
to get the new image and with docker compose up -d
to start the new release.
Manual
- Stop TerrariumPI:
sudo service terrariumpi stop
- Update the code:
git pull
- Rerun the installer:
sudo ./install.sh
- Start TerrariumPI:
sudo service terrariumpi start
Full Changelog: 4.8.1...4.8.2
4.8.1: Happy 2024!
A happy new year release! This release is a more maintenance release which mainly fixes bugs. Also it contains new code for Meross API which should keep working after 01-01-2024. So if you experience Meross problems, please upgrade to version 4.8.1.
What's Changed
Upgrading
Use the following steps to upgrade TerrariumPI
Docker
Do a docker compose pull
to get the new image and with docker compose up -d
to start the new release.
Manual
- Stop TerrariumPI:
sudo service terrariumpi stop
- Update the code:
git pull
- Rerun the installer:
sudo ./install.sh
- Start TerrariumPI:
sudo service terrariumpi start
Full Changelog: 4.8.0...4.8.1
4.8.0: Return of the Telegram
A new release with a big new feature. There is support for Telegram in the notification system. It took some time to implement because I do not use it. So lucky there was @cmonicob, which made a nice start and did all the testing to make it work. A big thank you!! I only optimized some code.
More information can be found at the documentation site.
Due to the new Telegram code, a rerun of the installer is mandatory. Else TerrariumPI will not startup after the upgrade.
What's Changed
- Change method of SBC model detection by @theophile in #841
- update telegram Bot #828 by @cmonicob in #843
- Develop by @cmonicob in #853
New Contributors
- @theophile made their first contribution in #841
Upgrading
Use the following steps to upgrade TerrariumPI
Docker
Do a docker compose pull
to get the new image and with docker compose up -d
to start the new release.
Manual
- Stop TerrariumPI:
sudo service terrariumpi stop
- Update the code:
git pull
- Rerun the installer:
sudo ./install.sh
- Start TerrariumPI:
sudo service terrariumpi start
Full Changelog: 4.7.0...4.8.0
4.7.0: Finalizing the software
Extra documentation and full release information: https://theyosh.github.io/TerrariumPI/posts/2023/09/10/release-terrariumpi-v-4-7-0/
What's Changed
New Contributors
Upgrading
Use the following steps to upgrade TerrariumPI
Docker
Do a docker compose pull
to get the new image and with docker compose up -d
to start the new release.
Manual
- Stop TerrariumPI:
sudo service terrariumpi stop
- Update the code:
git pull
- Rerun the installer:
sudo ./install.sh
- Start TerrariumPI:
sudo service terrariumpi start
Full Changelog: 4.6.3...4.7.0
4.6.3: Summer release
A new, sort of maintenance, release. But it contains just a bit more 😉
The major update is a feature request from may 2019 that should now be added. You can add a threshold value per light sensor. Also you can use LDR buttons as feedback sensor. And in the lights area you can select the sensors which are used to check if the light is above the threshold.
Updated some documentation about notification setup and messages. You can read it here.
Updated translations GUI and Python to the latest library versions. And cleanup some unused files.
Or, go the installation page in order to install Terrarium PI version 4.
New hardware
You can now live stream a USB webcam. This will disable the Raspberry PI cam streaming. As it uses the same GPU hardware.
Full support of buttons through an IO expander.
Fixes
Dimming to 0% in steps. Some dimmers will not go fully off when going to 0% value. This has to do that the last change is to small. So solve this, we do a small ramp up to 5% and than to 0%. This way, there is a 5% change, which will fully power off the dimmer.
We fixed the 404 error page. So now you will get a nice 404 error page to see when you try to open a page that does not exists.
Fixed offline live webcam error handling.
Extra documentation and full release information: https://theyosh.github.io/TerrariumPI/posts/2023/06/02/release-terrariumpi-v-4-6-3/
Upgrading
Use the following steps to upgrade TerrariumPI
Docker
Do a docker compose pull
to get the new image and with docker compose up -d
to start the new release.
Manual
- Stop TerrariumPI:
sudo service terrariumpi stop
- Update the code:
git pull
- Rerun the installer:
sudo ./install.sh
- Start TerrariumPI:
sudo service terrariumpi start
Full Changelog: 4.6.2...4.6.3
4.6.2: Spring is here
This is a maintenance release which fixes a lot of audio player and playlist issues. So that should now work again.
Than we have fixed the IO expanders pcf857(4/5). The used library is not that stable, and has some bugs. So we had to work around that. And now it should all work correctly. This will also fix the support for HD30A 4 Channel Electromagnetic I2C Relay 12V 30A.
Extra documentation and full release information: https://theyosh.github.io/TerrariumPI/posts/2023/03/25/release-terrariumpi-v-4-6-2/
Upgrading
Use the following steps to upgrade TerrariumPI
Docker
Do a docker compose pull
to get the new image and with docker compose up -d
to start the new release.
Manual
- Stop TerrariumPI:
sudo service terrariumpi stop
- Update the code:
git pull
- Rerun the installer:
sudo ./install.sh
- Start TerrariumPI:
sudo service terrariumpi start
Full Changelog: 4.6.1...4.6.2