corretto bug che non faceva aggirnare i dati meteo in caso di pioggia

This commit is contained in:
lejubila
2017-09-09 23:22:00 +02:00
parent 2f7b286424
commit 3e34f05b4e
2 changed files with 25 additions and 23 deletions

View File

@@ -1,25 +1,27 @@
## 0.4.5 - xx/08/2017 ## 0.4.5 - xx/08/2017
- Implemented driver subsystem for interfacing with other board - Implemented driver subsystem for interfacing with other board
- Added driver spb16ch for interfacing with "Smart Power Board 16 channel with RTC" - 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 ## 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 ## 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 ## 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 ## 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 ## 0.4.0 - 14/06/2017
Add credentials support to socket server (define TCPSERVER_USER and TCPSERVER_PWD in your config file) - 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 - Add management lock/unlock for prevent concurrente call to open/close solenoid
Added the ability to enter an open / close schedule in disabled mode - Added the ability to enter an open / close schedule in disabled mode
Add send statistic information to remote server - Add send statistic information to remote server
During the initialization function, information on the last rain is no longer removed - During the initialization function, information on the last rain is no longer removed
## 0.3.1 - 13/05/2017 ## 0.3.1 - 13/05/2017
Add experimental support for monostable solenoid valve: 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 - 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 ## 0.3.0 - 07/05/2017
Add command "open_in" for scheduling on the fly the opens/close a solenoid - 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 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 - Add api in socket server for command open_in and delete_cron_open_in
Fix minor bug on command "open" - Fix minor bug on command "open"
Changed the path of some temporary files to prevent sd card faults - Changed the path of some temporary files to prevent sd card faults
## 0.2.2 - 25/04/2017 ## 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 ## 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 ## 0.2 (Easter egg) - 17/04/2017
Implementation of socket server for communicate with piGardenWeb - Implementation of socket server for communicate with piGardenWeb
Implementation of messages (error, warning, success) passed to piGardenWeb - Implementation of messages (error, warning, success) passed to piGardenWeb
Added many information in json status to be 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 - 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 ## 0.1 - 18/12/2015 - First release
First release to piGarden - First release to piGarden

View File

@@ -24,7 +24,7 @@ function check_rain_online {
then then
#echo "ECCOMI!!!!!" #echo "ECCOMI!!!!!"
echo $local_epoch > "$STATUS_DIR/last_rain_online" echo $local_epoch > "$STATUS_DIR/last_rain_online"
return $local_epoch #return $local_epoch
fi fi
echo "$current_observation" > "$STATUS_DIR/last_weather_online" echo "$current_observation" > "$STATUS_DIR/last_weather_online"
fi fi