Now also for him OSPi available: The “Analog Sensor Api”. And with that OSPi Version 1.6 with 2xADS1115 even with 8 analog inputs (software >= 2.3.1 (160))!
Anyone who has an (older) OSPi If you have a PCF8591T chip, you're in luck: This means that the analog connections can be used to also record analog measurement data.
e.g. you can connect the SMT50 directly.
VCC = +5V
GND = Ground
A0..A3 = 4 analog inputs
OUT = analogue output (unused)
But you can also use the software WITHOUT the PCF8591T chip and, for example, access sensors via the network.
You can find the software in GitHub: https://github.com/opensprinklershop/OpenSprinkler-Firmware
Important: Activate Raspberry Pi I2C interface, e.g. like this 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. Back up the configuration via app beforehand!
Then proceed as described here:
Important: To control the new functions, install the app “OpenSprinklerASB” from the APPSTORE / PLAYSTORE!
In the meantime, is there a solution for an analog board I2C to work with the OSPI V1.5.2 can be used or are there other open source projects known that allow such an extension? Would (balcony) like to use the data from 18+ moisture sensors along with the weather data to have the correct amount of moisture for each plant.
Thanks in advance for further tips.
This is not possible due to different interfaces.
However, you can use analog interface cards with ADS1115 chip for the Raspberry PI and thus activate up to 16 analog interfaces (4 inputs per card, max 4). The interface cards must be able to use 0x48 / 0x49 / 0x4A / 0x4B as an address so that they can be used by the OSPi software can be read.
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
Hello, I see the soil moisture value. But how can I control irrigation using this value?
Very simple: Under “Analog Sensor Configuration” there is “Program Adjustment”
Everything else here under point 4
It now shows me 150% soil moisture on the start page, but the program preview shows no change.
The program preview always starts from 100%. Soil moisture values are a momentary value that can look completely different tomorrow. The adjustment value of 150% would extend the watering time by half, e.g. 4 minutes would become 6 minutes.
The log shows the actual watering time and the adjustment factor used. If you have a water meter installed, it will even show how many liters of water you have saved or used more of.
Yes, the irrigation really does run longer. The preview only shows the weather adjustment (also dynamic), but not the soil moisture.