From 3e34f05b4e3a1ce9701b0fe7ca88a0e780d534e8 Mon Sep 17 00:00:00 2001 From: lejubila Date: Sat, 9 Sep 2017 23:22:00 +0200 Subject: [PATCH] corretto bug che non faceva aggirnare i dati meteo in caso di pioggia --- CHANGELOG.md | 46 +++++++++++++++++++++-------------------- include/rain.include.sh | 2 +- 2 files changed, 25 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 495a0ba..41e3538 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,25 +1,27 @@ ## 0.4.5 - xx/08/2017 - Implemented driver subsystem for interfacing with other board - Added driver spb16ch for interfacing with "Smart Power Board 16 channel with RTC" +- Fix bug of possible overlapping of solenoid valves (es: "Zone_1" and "Zone_10" +- Fix bug: in case of rain the weather data were not updated ## 0.4.4 - 17/06/2017 -Remove lock/unlock from init function for resove bug +- Remove lock/unlock from init function for resove bug ## 0.4.3 - 17/06/2017 -Fix path of sed in lock function +- Fix path of sed in lock function ## 0.4.2 - 16/06/2017 -Fix another problem on generate installation identifier to sendo for statistic +- Fix another problem on generate installation identifier to sendo for statistic ## 0.4.1 - 14/06/2017 -Fix problem on send identifier installation for statistic +- Fix problem on send identifier installation for statistic ## 0.4.0 - 14/06/2017 -Add credentials support to socket server (define TCPSERVER_USER and TCPSERVER_PWD in your config file) -Add management lock/unlock for prevent concurrente call to open/close solenoid -Added the ability to enter an open / close schedule in disabled mode -Add send statistic information to remote server -During the initialization function, information on the last rain is no longer removed +- Add credentials support to socket server (define TCPSERVER_USER and TCPSERVER_PWD in your config file) +- Add management lock/unlock for prevent concurrente call to open/close solenoid +- Added the ability to enter an open / close schedule in disabled mode +- Add send statistic information to remote server +- During the initialization function, information on the last rain is no longer removed ## 0.3.1 - 13/05/2017 Add experimental support for monostable solenoid valve: @@ -27,27 +29,27 @@ Add experimental support for monostable solenoid valve: - if the solenoid valves close instead of opening and vice versa, reverse the values of the RELE_GPIO_CLOSE and RELE_GPIO_OPEN variables in your configuration file ## 0.3.0 - 07/05/2017 -Add command "open_in" for scheduling on the fly the opens/close a solenoid -Add command "del_cron_open_in" for delete scheduling the fly the opens/close a solenoid -Add api in socket server for command open_in and delete_cron_open_in -Fix minor bug on command "open" -Changed the path of some temporary files to prevent sd card faults +- Add command "open_in" for scheduling on the fly the opens/close a solenoid +- Add command "del_cron_open_in" for delete scheduling the fly the opens/close a solenoid +- Add api in socket server for command open_in and delete_cron_open_in +- Fix minor bug on command "open" +- Changed the path of some temporary files to prevent sd card faults ## 0.2.2 - 25/04/2017 -Fix bug: if it's reining, the solenoid valves were also closed even if they were pushed open in "force" mode +- Fix bug: if it's reining, the solenoid valves were also closed even if they were pushed open in "force" mode ## 0.2.1 - 22/04/2017 -Add installation instructions in README.md file +- Add installation instructions in README.md file ## 0.2 (Easter egg) - 17/04/2017 -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 +- 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 -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 +- First release to piGarden diff --git a/include/rain.include.sh b/include/rain.include.sh index fecf234..946f88e 100644 --- a/include/rain.include.sh +++ b/include/rain.include.sh @@ -24,7 +24,7 @@ function check_rain_online { then #echo "ECCOMI!!!!!" echo $local_epoch > "$STATUS_DIR/last_rain_online" - return $local_epoch + #return $local_epoch fi echo "$current_observation" > "$STATUS_DIR/last_weather_online" fi