/paradise-castle

Eventually this code will be used to control various aspects of the Paradise Castle family household in San Fransisco. For now it controls a 4x4 pixel thermal imaging sensor that can be used to detect the presence of a human. This allows people in our household to determine if there is an open bathroom without ever getting up from the couch!

Primary LanguageHTMLBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Paradise Castle

Getting Started

To run the example Omron D6T thermal imaging example, follow the steps outlined below:

  1. Clone, setup and run the app:
$ git clone https://github.com/jmromeo/paradise-castle
$ cd paradise-castle
$ npm install
$ cd bathroom
$ node app.js
  1. Once the app is running, there are 2 options for connecting to the app (replace chromium-browser with your favorite browswer):
# if running "node app.js" command from same device as connecting to browser
$ chromium-browser http://127.0.0.1:3000 &

# if running "node app.js" command from device and connecting using a browswer from a different device
$ chromium-browser http://<ip_of_device>:3000

Here is a screenshot when I'm far away from the sensor. ScreenShot

Here is a screenshot when I'm standing near the sensor. ScreenShot