Closed hoevenvd closed 11 years ago
Enabled. There's a switch in jweatherstation.properties to enable (true)/disable (false) the periodically release of the socket. If enabled (true), the socket will be released every minute, so that the Weatherlink IP datalogger is able to send the data to the Davis Weatherlink network.
The switch is:
wlip = [false|true]
Will push the code into the repo java_for_weather. Issue (enhancement) can be closed.
As owner of a WeatherlinkIP, the logger wants to send current data to the WeatherLink-network every minute, and archive data every hour. Currently, that is not possible, as the Java poller always claims the interface. And with a claimed interface, the WeatherlinkIP-logger is not able to send current data every minute, and archive data every hour.
See http://www.weatherlink.com/user/welsum/index.php?view=summary&headers=1
Enhancement in the code is to enable (by a switch) the poller to release the interface every #minutes and for a duration of #seconds. Enabling by a thirds switch #releaseport:Y/N. So:
releaseport: [Y/N], default no
releaseevery: # minutes, default 1
releasefor: # seconds, default 10