Home Release TerrariumPI v 4.10.0
Post
Cancel

Release TerrariumPI v 4.10.0

Release 4.10.0 - Make GPIO relays work like they should

GPIO relay changes

GPIO relaysIn 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.

Upgrading

Get the new version here.

Or, go the installation page in order to install Terrarium PI version.

Or, go the upgrade steps at the installation page.

Translations

Not all translations are done. Add missing translations here! All help is appreciated.

Current translation status:
Translation status

This post is licensed under CC BY 4.0 by the author.