Now also available for the OSPi: The “Analog Sensor API”. And with the OSPi version 1.6 with 2xADS1115, even with 8 analog inputs (Software >= 2.3.1 (160))!
If you have an (older) OSPi with a PCF8591T chip, you're in luck: The analog connections can be used to also capture analog measurement data.
For example, you can directly connect the SMT50.

VCC = +5V
GND = Ground
A0..A3 = 4 analog inputs
OUT = analog output (unused)
But even WITHOUT the PCF8591T chip, you can use the software and, for example, access sensors over the network.
You can find the software on GitHub: https://github.com/opensprinklershop/OpenSprinkler-Firmware
Important: Activate the Raspberry Pi I2C interface, for example as described here described
sudo apt-get install build-essential
cd ~
git clone https://github.com/OpenSprinklerShop/OpenSprinkler-Firmware.git
cd OpenSprinkler-Firmware
sudo ./updater.sh
Install the software as you installed the original software. Backup the configuration via the app beforehand!
Then proceed as described here:
Important: To control the new functions, install the app “OpenSprinklerASB” from the APPSTORE / PLAYSTORE!

Yes, the irrigation really runs longer. However, the preview only shows the weather adjustment (also dynamic), but not the soil moisture.
It now shows me 150% soil moisture on the homepage, but the program preview shows no change.
The program preview always starts at 100%. Soil moisture values are a momentary value that can look completely different tomorrow. The adjustment value of 150% would extend the irrigation duration by half, e.g., 4 minutes would become 6 minutes.
In the log, the actual irrigation duration and the adjustment factor used are displayed. If you also have a water meter installed, it even shows how many liters of water you saved or used more.
Hello, I see the soil moisture value. But how can I control the irrigation using this value?
Very simple: Under the “Analog Sensor Configuration,” there is “Program Adjustment” at the bottom.
Everything else here under point 4
Does the OpenSprinklerShop-OSPi version already work with Debian Bookworm?
Yes, it’s working now! Update to the new firmware, this detects the changed kernel and uses the new libgpio.
Working with OpenSprinkler + OpenSprinklerShop firmware
Due to different interfaces, this is not possible.
However, you can use analog interface boards with an ADS1115 chip for the Raspberry PI and activate up to 16 analog interfaces (4 inputs per board, max 4). The interface boards must be able to use 0x48 / 0x49 / 0x4A / 0x4B as addresses so that they can be read by the OSPi software.
I connected an analog interface board with an ADS1115 chip, address 0x48, to a Raspberry PI 3. I connected an SMT50 to it. However, the software does not display plausible values.
On the sensor configuration page, it says: OSPI PCF8591. What could be the reason?
This is due to the way the build script detects the interface. The PCF8591 and the ADS1115 have the same I2C address 48. If the build script finds the I2C addresses 48 and 49, it compiles the ADS1115 version; if it only finds 48, then it compiles the PCF8591 version. You need to modify the build script so that it compiles the ADS1115.
Is there a solution in the meantime to use an Analog Board I2C with the OSPI V1.5.2, or are there other open-source projects known that allow such an extension? I would like to use the data from 18+ moisture sensors along with weather data to provide the correct amount of moisture for each plant on my balcony.
Thanks in advance for further tips.