Node Module to test Kakopappa Sinric.ino for ESP8266 as a Belkin Wemo Switch
Requirement:
- NodeJS installed
- NPM installed
Do this Step
-
Open terminal using Ctrl+Alt+T
-
Create ssdp directory using
$ mkdir ssdp
$ cd ssdp
-
Install node -upnp-utils from https://www.npmjs.com/package/node-upnp-utils from Futomi
$ npm install xml2js
$ npm install node-upnp-utils
-
Still in ssdp directory clone my github :
$ git clone https://github.com/Kecubunk/NodeSinric.git
-
go to Node Sinric Folder
$ cd NodeSinric
-
Upload Sinric.ino by Kakopappa into ESP8266
-
Run s.js to do M-search
$ node s.js