Weather Watcher driver is a generic driver for accessing weather data from different sources. Data can be collected from a local weather station or a remote weather provider. The Weather Watcher driver just needs a file or an URL with the data listed in lines like:
where 'temp' is the key, '18.1' the value and '=' the pair separator.
temp=18.100000
In this example, 'temp' is the name of the parameter, '=' is the seperator, and '18.1' is the value. Lines not matching this format are ignored by the driver.
Please first find out the file name or URL to use. This information should be found in the product manual.
E.g. /home/weather/data.txt, or http://192.168.1.1:10800/cgi-bin/cgiLastData
Below, we use the SOLO device as an example. However, if you do own a SOLO, please use the indi_solo driver instead. If you have a cloudwatcher without SOLO, please use the aagcloudwatcher driver.
Not all of these parameters need to be present and only a few are of interest. All data are treated as numeric, that is WeatherWatcher driver doesn't make assumption on unit of measurement. So your wind data can be in Kph or Mph, only the threshold has to be updated.
The driver can read several of these parameters and clients (i.e. kstars/ekos), will display the data. The driver has min/max values for deciding, if the value is in a good, warn, or alert state. In addition, the driver can classify some parameters as 'critical'. When any such critical parameter is outside the min/max range, the driver will report 'unsafe' condition and the client can abort and shutdown the observatory. The scheduler in Kstars/ekos in particular, will only warn you when parameters are in warn state, without changing its behaviour, but abort imaging and shutdown observatory when any critical parameter is in 'alert' state.
First, open the indi device panel and go to options tab. Here you can specfy the URL or file to monitor in 'Source / File'.
Next, you can specify the parameters (keywords) you want to be found in the url/file. Just specify the ones you are interested in.
Press 'save', to store your changes.
Next, go to the 'main control' tab and connect the driver.
Then, go to the 'Parameters' tab and select the parameters you consider 'critical'. You should also specify the min and max range of OK values. Values outside this range are considered dangerous (alert). Please note, that order is importent. Min value must be smaller than max value! You can also specify a warn percentage. The purpose of the warn percentage is to get you a warning when the value gets to close to the boundary of the ok range. The following graphic visualizes the range for the temperature parameter:
[ insert graphic with temperature range ]
Note: if the minimum of the parameters is set to zero, a lower warning is not issued because the driver assumes that the parameter is positive only (e.g. Wind).
Next, go back to 'options' panel and save your configuration again. Then go to 'main control' and disconnect and then reconnect the driver. The panel should now display the status of all the critical parameters (green/yellow/red light) as well as the overall status.
Please note, whenever you want to change a parameter to be a critical parameter or not, you have to save settings, then reconnect the driver. Other changes become active immediately.
Please test the configuration in your setup before allowing the observatory to operate automatically.




Parameters tab is used to read all weather data (not just critical parameters) and to set weather alerts triggered by critical parameter ranges:



