Hey Ted, I got this working on my RasPi without all the scapy overhead (thanks to…
Bob Steinbeiser

When I use this, I get this error when pressing the button:

Traceback (most recent call last):

File “/usr/local/bin/dashsonos.py”, line 31, in <module>

arp_detailed = struct.unpack(“2s2s1s1s2s6s4s6s4s”, arp_header)

struct.error: unpack requires a string argument of length 28

I don’t really know what to do about that. It seems that I can get other ARP requests:

Other arp request, IP = and mac = 60030890436e

Other arp request, IP = and mac = 7475483fc7eb

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.