Control your [Raspberry Pi] (http://www.raspberrypi.org) with SmartThings
This is a node.js server for your Raspberry Pi that allows SmartThings to discover it over your local network using SSDP and communicate with it using RESTful commands.
This is a work in progress and the author does not guarantee this to work.
- Install node.js
$ wget http://node-arm.herokuapp.com/node_latest_armhf.deb
$ sudo dpkg -i node_latest_armhf.deb
- Checkout this repository
$ git clone https://github.com/nicholaswilde/rpi-smartthings.git
- Change directory
$ cd rpi-smartthings/
- Install the node modules
$ npm install --save
- Run node
$ npm start
- Ensure that the SSDP server is running on the Raspberry Pi. On a
separate computer, run
gupnp-tools
.
$ gssdp-discover -i eth0 --timeout=3 --target=urn:schemas-upnp-org:device:RaspberryPiDevice:1