Code that queries a database and based on info in the database controls LEDS on remote sunspots