Skip to content

The spark web application

jypma edited this page Apr 1, 2013 · 6 revisions

This Java webapp is intended to run on a computer connected to a spark-node, an Arduino-compatible USB adapter. The combination of these two gives the following feature set:

  • Zone-based modular house configuration
  • Java DSL to write rules for day/night dependencies, time calculations, playing alert sounds
  • Phone-friendly AJAX web interface built in angular
  • Integration with the Visonic wireless motion and door sensors (which are used by Falck's burglar alarms in Denmark)
  • Full integration into the (relatively cheap) FS20 radio control system's buttons and switches / dimmers
  • Integration with XBMC, to adjust lighting when you watch a movie
  • Integration with Cosm for temperature & humidity logging
  • Integration with Growl for notifications
  • Integration with [Zoneminder] (http://www.zoneminder.com/) for automatic triggering of alarms
  • Receives battery, temperature and humidity data from the [spark-roomsensor], spark-hub and [spark-doorbell] projects
  • Receives battery and doorbell information from [spark-doorbell]
  • Integrates with spark-hub to increase the range of the RFM12B wireless module, and to receive electricity meter information and temperature.
  • Remote control of the spark-rgb RGB-LED based lamp

All of this combines into the following example use cases, which are easily expressed in the Java DSL:

  • Lights go on when someone enters the room, but only when it is dark outside, and they turn off after half an hour of no movement.
  • Main lights dim, decorative lights are lit when a movie is started. If the movie is paused, main lights are brightened a bit until the movie is resumed.
  • A lamp for plants is turned on from 7am until 1 hour after sunrise, and from sunset to 22pm. But on weekends only from 9am :-).
Clone this wiki locally