12 Commits
v0.1.1 ... v0.2

3 changed files with 922 additions and 23 deletions

View File

@@ -1,6 +1,12 @@
## 0.1 - 18/12/2015 - First release ## 0.2 (Easter egg) - 17/04/2017
First release to piGarden Implementation of socket server for communicate with piGardenWeb
Implementation of messages (error, warning, success) passed to piGardenWeb
Added many information in json status to be passed to piGardenWeb
Added management cron for scheduling open and closed solenoid, for initialize control unit, for rain control
## 0.1.1 - 24/12/2015 - BugFix ## 0.1.1 - 24/12/2015 - BugFix
Fix the problem for 'av_status' parameter Fix the problem for 'av_status' parameter
## 0.1 - 18/12/2015 - First release
First release to piGarden

View File

@@ -14,15 +14,36 @@ JQ="/usr/local/bin/jq"
# Percorso curl # Percorso curl
CURL="/usr/bin/curl" CURL="/usr/bin/curl"
# Percors wc # Percorso wc
WC="/usr/bin/wc" WC="/usr/bin/wc"
# Percorso gzip # Percorso gzip
GZIP="/bin/gzip" GZIP="/bin/gzip"
# Percors mv # Percorso mv
MV="/bin/mv" MV="/bin/mv"
# Percorso di tr
TR="/usr/bin/tr"
# Percorso di cut
CUT="/usr/bin/cut"
# Percorso tcpserver
TCPSERVER="/usr/bin/tcpserver"
# Percorso cron
CRONTAB="/usr/bin/crontab"
# Percorso grep
GREP="/bin/grep"
# Percorsp sed
SED="/bin/sed"
# Percorso readlink
READLINK="/bin/readlink"
# Id gpio usati per simulare il doppio deviatore con cui eseguire l'alimentazione alle elettrovalvole # Id gpio usati per simulare il doppio deviatore con cui eseguire l'alimentazione alle elettrovalvole
SUPPLY_GPIO_1=2 SUPPLY_GPIO_1=2
SUPPLY_GPIO_2=3 SUPPLY_GPIO_2=3
@@ -82,3 +103,7 @@ NOT_IRRIGATE_IF_RAIN_ONLINE=86400
# Il parametro è simile a quello precedente, il controllo però anziché essere fatto attingendo a wunderground, viene eseguito direttamente sul sensore se installato. Inserendo il valore zero non viene eseguito nessun controllo. # Il parametro è simile a quello precedente, il controllo però anziché essere fatto attingendo a wunderground, viene eseguito direttamente sul sensore se installato. Inserendo il valore zero non viene eseguito nessun controllo.
NOT_IRRIGATE_IF_RAIN_SENSOR=86400 NOT_IRRIGATE_IF_RAIN_SENSOR=86400
# Indirizzo ip e porta di ascolto del socket server
TCPSERVER_IP="127.0.0.1"
TCPSERVER_PORT="8084"

File diff suppressed because it is too large Load Diff