@heizelmann said in amazing-dash-button causes pimatic to hang:
Until now no hang and no specific error messages.
Thanks for the feedback and your effort in testing this.
It has a very long reaction time and is very unreliable.
Regarding the long reaction times (2-5 seconds in my case) I agree and users in other communities also complained about this. The newer dash button no longer send ARP requests, but they send DHCP broadcasts. For the latter it is possible to create a lightweight detection device which basically is a simple DHCP Listener (using a raw socket). I have implemented a prototype a few weeks ago and the results are very promising (detection times was always below 2 seconds!). So, detection is a lot faster than the package capturing and filtering machinery. I planning to provide this either as an option for amazing-dash-button or a new light-weight plugin with zero dependencies.
Regarding unreliable behavior I cannot confirm this. My dash-buttons are 100% reliable. Possibly it is a range problem in your case. Or you have one of the older makes performing ARP probes.
I won’t use this device anymore
No worries. I guess Amazon will shutdown the Dash-button service anyway sooner or later. When this happens the buttons are still usable for pimatic but it will be very difficult to re-configure the buttons, e.g. if the Wifi-Network configuration changes.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law