

Then I can unzip on windows the 1.8.3 distribution-addons.zip - move the lightwaverf jar across to usr/share/openhab2/addonsĪt this point, my lightwaverf hub asked immediately to authorise the app - I did nothing else - no config yet! Sudo chmod g+rws usr/share/openhab2/addons Sudo usermod -a -G openhab myusername # give the openhab group permissins to the addons folder #add my username to the openhab group (replace myusername as needed) I did this via filezilla local sftp to my linux box, having first done: Get openhab1 lightwaverf binding from githubĬopy the openhab binding lightwaverf into /usr/share/openhab2/addons

Now, get the PHP 'find my iphone' library The dash button is a pure Thing with channel trigger - no Item to bind to - no Item State/Command to run in a rule What got me was that the usual approach of Thing Item isn't followed.
TRACCAR CHMOD RASPBERRY PI INSTALL INSTALL
Println( "The Dash button has been pressed" )Ĭhange owner to openhab as per the install guide, Now you can just add a rule in /opt/openhab2/conf/rulesĬhannel "amazondashbutton:dashbutton:ac-63-be-xx-xx-xx:press" triggered Make a note of the CHANNEL that the dashbutton publishes its events to, something likeĪmazondashbutton:dashbutton:ac-63-be-xx-xx-xx:press When happy, press the button and the Dash button appears as a Thing in inbox!Ĭlick the tick in the Inbox to add the dash button as a Thing. On my router, I noted down all current DHCP leases, then followed the dash button setup until the point of choosing button, then stopped, then looked for new DHCP lease and found the MAC address AC-63-BE-XX-XX-XX, gave it a fixed IP assignment then blocked it in the router firewall for WAN access.Įnable amazon dash binding in Paper UI - click install Let it run 15 mins - check GUI ok, then restarted it Sudo su -s /bin/ bash -c '/opt/openhab2/start.sh' openhab

Setcap cap_net_raw,cap_net_admin=eip /usr/lib/jvm/java-8-oracle/jre/bin/java Using Amazon Dash Button and OpenHab2 to find my iphoneįollow install pcap4j, including permissions for running as non-root:
