Super simple
Everyone that uses MQTT bridge has this problem because of the way the MQTT bridge SmartApp is implemented⦠it doesnāt play nicely with others and cobbles all inbound messages⦠the only way to fix this is to run MQTT on another machine (ie. from another IP) or get someone to fix the MQTT bridge SmartApp.
@sgnihttrams @danielzrob @jimimoore Iāve updated the dash.js
plugin to use the windows friendly pcap library⦠go ahead and download the new plugin, run npm run install:dash
and give it a goā¦
Cool, updated the dash.js⦠Any ideas on how I get the libpcap-dev installed on my windows machine?
Windows users⦠go here: https://www.winpcap.org/install/default.htm
Update package.json
too and then re-run npm run install:dash
closer !
*You have done a ton already, we can call it quits if ya want.
*also I went ahead and installed python for windows on there and tossed the EXE into the folder with git.
Yeah⦠it canāt find python to build the cap library⦠try these from the command lineā¦
npm config set python "c:\(REPLACE WITH PYTHON PATH)\python.exe"
set PYTHON=c:\(REPLACE WITH PYTHON PATH)\python.exe
Then do a:
npm run install:dash
Done ! Still canāt find it. I am using the windows installer off python.org.
Curious to see if this helps with ST integration
So did you get this working? If so, if you could give me a recap of your steps Iād be most grateful! Iām trying to run this on my Win10 i7 NUC along side my rock solid homebridge server.
Well yes I got it working. I installed a virtual machine and put Ubuntu server on it
Hi -
Very nice application, I learnt a lot from this app. I am doing an for X10 and this does a lot what I need to do. Plan on reusing a lot of this code. Almost thought of just making a js backend plugin for your system but it would be a lot more work dealing with the real service which is mochad.
However I did go through a couple of frustrating hours trying to set it up due alpha case issue in the MAC address iOS captilizes the first character and it took some debugging to resolve it a couple of suggestions.
- If you add a .toUppercase to that string in updateButtons function and in getDevices function it would make the software much more robust
- Since you already have them MAC addresses in the backend an option could be to show them in the UI and let the user associate a device to it. If there is no device associated with an address it could just be ignored
Again thanks for sharing the excellent work.
Ahh. I was hoping to avoid that. Very well then.
I use this http://www.microcenter.com/product/486575/Zero_W with jessie lite running headless and old unused 4G microsd - runs all day for pennies a year. 5bucks, maybe 10 if you count the microsd
+1 to using the Pi Zero W. Iām using it to run my dash button and also my Google notifications all in one. One thing I have noted with the Zero W though, I have mine set to reboot every night at 2am using crontab. This seems to keep the Pi a lot happier in the long run.
yeah that I have to do too,
Hi, I got the envisalink module up and running on my Windows media server. I used WSL (Windows Subsystem for Linux) and things eventually worked for me. I am now trying to add this Dash button support, and am sooo close. Iām getting this error:
sshanky@DESKTOP-GT2UJ6UI:/mnt/c/Users/Sshanky/smartthings-nodeproxy$ sudo node server.js
[2018-01-29T00:55:57.273Z] [stnp] SmartThings Node Proxy listening at http://:::8080
[2018-01-29T00:55:57.286Z] [dash] Failed to create pcap session: no devices to listen on...
[2018-01-29T00:55:57.287Z] [dash] Error: socket: Invalid argument
[2018-01-29T00:55:57.288Z] [stnp] Loaded plugin: dash
[2018-01-29T00:55:57.297Z] [stnp] Loaded plugin: envisalink
[2018-01-29T00:55:57.300Z] [evl3] Connected to Envisalink at 192.168.11.154:4025
[2018-01-29T00:56:00.683Z] [evl3] {"type":"zone","partition":1,"zone":23,"state":"open"}
[2018-01-29T00:56:00.691Z] [evl3] {"type":"partition","partition":1,"state":"notready","alpha":"FAULT 23 DINING ROOM DOOR"}
even when trying sudo node server.js. Thanks!!!
A few tips on my journey getting this button to work
ASUS Router = go to parental controls and block internet access for that mac address 24/7 and you wont get the messages from amazon app. Super easy to setup.
Also if you cant get it to work check the mac address it has to be all lower case letters. I had copied/pasted what the 192.168.xx button direct connect showed and it uses capital letters. I switched to lower case and it worked immediately
The videos on youtube kind of suck It was easier following the text directions.
The youtube video guy uses Vi ( use nano, vi sucks ).