Thanks for this big tutorial. I am admittedly a noob here, in all ways, especially Linux… I am now using
OS: Debian 9.1 (x86-64) (it is a live USB, but that shouldn’t matter I don’t think)
Cinnamin Version: 3.2.7
Linux Kernal: 4.9.0.3-amd64
(CPU) Intel COre i5-2450M
I seemed to have gotten everything setup except I keep getting this error:
user@debian:~/stnp$ sudo node server.js
[2017-09-28T23:37:17.762Z] [stnp] SmartThings Node Proxy listening at http://:::8080
module.js:471
throw err;
^
Error: Cannot find module ‘pcap’
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/home/user/stnp/plugins/dash.js:22:12)
at Module._compile (module.js:570:32)
at Object.Module._extensions…js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
Honestly I have searched far and wide on google and really cannot figure the problem out… some said maybe pcap wasn’t installed (it is as far as I can tell), some said maybe I had duplicate versions, but I have restarted the process repeatedly with a fresh boot (fresh ‘install’ since its a live USB). 5 hours later this is where I have landed.
I got a setup using the buttons on windows that reads IP’s working, but the delay is probably 3-5 seconds on a press. Would be nice to have this go quicker!
Really hope to get it working…
Thanks.