Releases: theyosh/TerrariumPI
4.12.1: Webcam enhancements
So now you can give an amount of days of archive to keep. Or just keep everything by leaving the value empty.
Also we found that the webcam notification where broken. They are now fixed. Now it should send out messages with pictures when you setup webcam notifications.
And we improved the motion detection of live streams a bit. In the past the change in time could trigger a motion, where you can end up with an image every update of 30 seconds. So now we exclude the area where the name and time is shown. And that will not trigger a motion anymore.
What's Changed
- Bump rexml from 3.3.8 to 3.3.9 by @dependabot in #964
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.12.0...4.12.1
4.12.0: Just a new release
Just a new release
This new release is not a big release. It has some bugfixes and logging improvements. One new improvement is that we now support Sonoff D1 Dimmer in DIY mode.
Sonoff D1 Dimmer DIY mode
Now it is possible to use the Sonoff D1 Dimmer in DIY mode. This makes it easier to add this dimmer to TerrariumPI. A big thanks to MakoShark2 for testing and helping with creating the code.
Improvements
Improved the light timer calculation when TerrariumPI is restarted after midnight, before the end of the current light period. Thanks to rossisbudda for finding this bug.
The logging has been improved to log now the correct hardware names. Due to a bug, not the correct hardware name was shown in the log.
Translations
The Spanish language is updated by nebu73.
Bug fixes
Fixed the logging in the TerrariumPI GUI when you where already logged in. There was an issue with correctly reading the authentication cookie.
Fixed a cookie saving issue due to deprecated code in the Bottle.py web server code.
Fixed installation on Bookworm OS. It was missing a SSL library. That has been fixed.
Documentation updates
Updated the Sonoff D1 Dimmer documentation about support for DIY mode.
Updated the backup, restoring and debug FAQ.
What's Changed
- Bump google-protobuf from 4.28.1 to 4.28.2 by @dependabot in #951
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.11.1...4.12.0
4.11.1: Maintenance update
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 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.11.0...4.11.1
4.11.0: Brighten up the displays
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 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.10.2...4.11.0
4.10.2: Live Raspberry PI webcam fix
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 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.10.1...4.10.2
4.10.1: Another Docker fix release
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 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.10.0...4.10.1
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.
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 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.3...4.10.0
4.9.3: Docker fixes 2
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 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.1...4.9.2
4.9.2: Docker fixes
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 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.1...4.9.2
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