WeatherSnoop capture script  (Script)

Contributed by: bobeast

Overview

This script will initiate a telnet session to WeatherSnoop, capture its output, and parse it into Indigo variables.

It will create the variables as needed, each of which will be prefixed by "ws_".

Installation

Install WeatherSnoop and configure it to work with your weather station, and make sure the "Serve my weather data..." checkbox is selected under the Sharing tab. Edit the script properties to reflect the port number and ip of your WeatherSnoop server. (the defaults of 8080 and "localhost", respectively, are probably fine)

Then, just embed the script in a time/date action and call it periodically.

Usage

You can set triggers on the ws_ variables to do things like turn off sprinklers when its raining, retract an awning if its windy, etc.