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.