Skip to content

Commit

Permalink
Aggiunto changelog per nuova versione, e file di configurazione di es…
Browse files Browse the repository at this point in the history
…empio per il nuovo driver rainsensorqty
  • Loading branch information
lejubila committed Aug 12, 2019
1 parent 51e4391 commit 6d4f522
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 0.5.13 - 12/08/2019
- Added driver rainsensorqty for menage rainfall detection based on quantity

# 0.5.12.1 - 23/06/2019
- Added zip log drver file when exceeding the size limit

Expand Down
11 changes: 7 additions & 4 deletions conf/piGarden.conf.rainsensorqty.example
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,18 @@ RELE_GPIO_CLOSE=0
RELE_GPIO_OPEN=1

# Id del gpio usato per collegare il sensore di rilevamento pioggia
RAIN_GPIO="drv:rainsensorqty:25" # Physical 22 - wPi 6
# attraverso il driver rainsensorqty
RAIN_GPIO="drv:rainsensorqty:25" # Physical 22 - wPi 6

# Valore in ingresso sul gpio definito in RAIN_GPIO che indica lo stato di pioggia
# variabile usata anche da drv:rainsensorqty, se e' a 1, significa che il reed contact e' collegato ad un circuito pull-down, vuol dire che attende l'impulso a 1 per contare le vaschette, normalmente e' a 0.
# se e' a 0, significa che il reed contact e' collegato ad un circuito pull-up, vuol dire che attende l'impulso a 0 per contare le vaschette, normalmente e' a 0.
RAIN_GPIO_STATE=0

RAINSENSORQTY_LOOPSFORSETRAINING=16 # dopo 16 impulsi, 16 vaschette riempite si considera pioggia
RAINSENSORQTY_SECSBETWEENRAINEVENT=10800 # =3h, significa che dopo 3 ore si resetta il numero di vaschette riempire e solo dopo un nuovo ciclo di riempimento si considera una nuova pioggia

RAINSENSORQTY_LOOPSFORSETRAINING=10 # dopo 10 impulsi, 10 vaschette riempite si considera pioggia
RAINSENSORQTY_SECSBETWEENRAINEVENT=10800 # =3h, significa che dopo 3 si resetta il numero di vaschette da riempire e solo dopo il riempimento del numero di vaschette si considera una nuova pioggia

RAINSENSORQTY_MMEACH=0.33 # see RAINSENSORQTY driver readme for details



Expand Down
4 changes: 4 additions & 0 deletions drv/rainsensorqty/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Ignore everything in this directory
.set_var
# Except this file
!.gitignore
2 changes: 1 addition & 1 deletion piGarden.sh
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ function debug2 {

VERSION=0
SUB_VERSION=5
RELEASE_VERSION=12
RELEASE_VERSION=13

DIR_SCRIPT=`dirname $0`
NAME_SCRIPT=${0##*/}
Expand Down

0 comments on commit 6d4f522

Please sign in to comment.