Open saveriogzz opened 3 years ago
You can run the downloader as often as you want, but your WeatherLink will only sample data at the rate specified by the SETPER <minutes>
command.
If you look at https://github.com/goeh/weather-collector/blob/master/src/main/java/se/technipelago/weather/vantagepro/AbstractDavisController.java#L218 you will se that the last time I configured my WeatherLink I used 10 minutes. That's what I have currently in my setup.
The configure() call is commented out because SETPER
clears the memory every time you run it.
So we should have a command-line option to run configure / set sample period.
It would be nice to use https://picocli.info/ for parsing command line options
It would be nice to use https://picocli.info/ for parsing command line options
Nice! I think it's the Java sister of Python's click