Irrighino has been one of my most appreciated projects: it’s a automatic irrigation system – based on Arduino Yun – with a web-based interface, optimized for smartphones.
After having published the project on this blog, it was reviewed by Open Electronics and a dedicated shield was also produced. The shield is still sold on Futurashop:
When it was launched the new Arduino Yun (named Rev.2) and the Yun Shield, the Linux distribution running on the board, OpenWrt, was updated as well. In particular, a key component for Irrighino has been replaced with its newer version, the php engine.
The commands you have to issue on your Yun to install all the required components for Irrighino now are:
install php with cgi and cli
opkg install php7 php7-cgi php7-cli
install curl, json and sqlite modules
opkg install php7-mod-curl php7-mod-json php7-mod-pdo php7-mod-pdo-sqlite
install zoneinfo
opkg install zoneinfo-core zoneinfo-europe
(replace zoneinfo-europe with the one related to your continent)
Final step is to configure the uhttpd webserver to run the php engine.
Edit the /etc/config/uhttpd file adding the following line (pay attention to its position!):
then restart the webserver with:
Now the Yun is ready to run Irrighino!
Ciao Luca,
complimenti per il progetto!
Premetto che sono nuovo nel mondo di Arduino, ma sarebbe possibile aumentare il numero di elettrovalvole comandate da 4 a 8?
Grazie
Ciao Andrea, si mettendo mano al codice è fattibile… so che altri utenti lo hanno personalizzato per aggiungere anche più elettrovalvole (diventa forse un po’ scomoda la pagina per schedulare i tempi con tante colonne ma si può fare)
Hello Luca! sorry to interrupt your day with an old topic but after few years of using it in my garden i now get this error: Unable to change output status: Unable to call Arduino to manually turn ON output 0, error code: KO_MANUAL
Also have you noticed that there seam to be a bug in your updated github sketch ? This bug makes it impossible to compile the sketch unless quoting out the related error lines: ‘switch4Position’ was not declared in this scope.
Hi! Regarding the “KO_MANUAL” error, it means that the physical switch is turned off… Thanks for the comment about the error in the sketch, I’m fixing it.
hi Luca, my fun rev2 concert but in the web slider when pulse on / off the warning is Unable to call irrighino? where is the problem? thaksssss
Hi Alberto: is the sketch running on Yun? Did you change the default password?
hi Luca, thank for your work, a question please, where is the file for Add the following 3 lines to the crontab (“crontab -e” or through the web interface):
* * * * * /usr/bin/php-cli /www/sd/irrighino/php/irrighinoTask.php
05 00 * * * /usr/bin/php-cli /www/sd/irrighino/php/purgeOldEvents.php
10 00 * * * /usr/bin/php-cli /www/sd/irrighino/php/purgeOldLogs.php
thanks
sorry, now i locate the file, but now the error is Warning unable to connect irrihino, i change the default password but too in the file include.php
thanksss
Hi Luca I still have the problem of warning unable to connect irrighino, I want to use irrighuino only via the web without the physical buttons or the rain sensor, to override the switches in the config.h file “#define USE_SWITCHES false” is correct? and to disable the rain sensor ??? Thank you so much for everything
sorry the warning is unable to call irrighino, thanks
Ciao Luca,
Ho irrighino da tre anni in giardino e quest’anno ha tirato le cuoia (probabilmente non era perfettamente impermeabilizzato). Volevo ricomprare Yun ma ormai è introvabile.. hai pensato ad una alternativa con altre schede? Grazie ancora per il tuo lavoro
Ciao Giuseppe, I got you covered 😉 https://github.com/lucadentella/irrighino-pi A breve anche un articolo/tutorial