As an alternative to using PHP & MySQL, you can use Node.js with Deployd and MongoDB to store data retrieved from a connected home device. JavaScript normally runs on the client machine. With Node.js, you to run JavaScript code directly on your server allowing you to write directly to the database (DB) without PHP.
Control an IR Device with a Spark Core
Reading from sensors is great but there are times when you need to interact with surrounding hardware. Window air conditioners, televisions, stereos and many other household electronics communicate with infra-red (IR). Adding an IR LED to your spark core will allow you to control these electronics remotely. For example, I’m currently using a temperature sensor […]
Spark Core with a Humidity / Temp Sensor (HTU21D)
Monitor the humidity and temperature of your home or apartment from anywhere. The Spark Core connects to your home WIFI and allows you to monitor or control devices remotely. In this post we’ll start with a basic sensor. The HTU21D sensor was the least expensive sensor I could find that monitored both humidity and temperature. […]