@mwittig My plugin already does this, too. I’m filtering just for addresses registered for Amazon Technologies Inc. These addresses can be found here: https://regauth.standards.ieee.org/standards-ra-web/pub/view.html#registries
-
Amazon dash button plugin available
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
@michbeck100 said in Amazon dash button plugin available:
My plugin already does this, too.
Yes, I know, but I was referring to letting libpcap do the (pre-)filtering for you so that the “pcap session” will only retrun ARP requests from Amazon devices. ,As libpacap filtering is performed in kernel mode the advantage would be, that lesser context switches are required as lesser ARP packages will be passed to the application (pimatic) running in the user space.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
@michbeck100 Wow, good to have someone who’s experienced with libpcap . I’ll have a look into this.
EDIT: reminder to myself created: https://github.com/michbeck100/pimatic-dash-button/issues/4pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
@mwittig Do you have any clue how the filter string should look like?
I guess it should be something likearp ether[6:2] == 0x0011 and ether[8:1] == 0x22
for addresses starting with 00:11:22. I got this filter value from http://stackoverflow.com/questions/13086766/how-to-filter-mac-addresses-using-tcpdump
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
@michbeck100 said in Amazon dash button plugin available:
Wow, good to have someone who’s experienced with libpcap
Great. I have posted an example to the issue ticket you’ve created.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Just released version 0.1.0 of pimatic-dash-button. This version fixes all the issues reported since now (see README.md for a change log).
Additionally i’ve changed the dash button device to act like a ButtonsDevice with one fixed button, that can be pressed. This way you can also “press” the dash button from the UI.pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
Looks like they’re on sale today!!
Look here! -
@Stokstaart that’s just in the US right? I think they don’t deliver to Europe
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
@michbeck100 unfortunately looks like it, too bad i live in Europe (altough i hear living in America isn’t what is was… )
-
I try to install the dash button and get following error:
Error installing plugin pimatic-amazing-dash-button: Error running “./node_modules/pimatic/ppm.js install pimatic-amazing-dash-button@0.9.13 --unsafe-perm”
What can i do?
-
@swen said in Amazon dash button plugin available:
What can i do?
Make sure you have libpcap-dev installed . Please see https://github.com/mwittig/pimatic-amazing-dash-button#installation
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
🙄 OK… Sometimes start thinking… I think that was to much yesterday…