Skip to content

Speaker Snitch flashes a light when your smart speaker is sending data to the cloud.

Notifications You must be signed in to change notification settings

nickbild/speaker_snitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Speaker Snitch

How can you really know when your smart speaker is listening and sending data to the cloud? There have been documented cases in which up to a minute of speech has been transferred to the cloud without a wake-word having been spoken.

Speaker Snitch can give an absolute answer to this question by sniffing local network traffic and flashing a light sitting next to the speaker any time there is traffic between the speaker and the vendor's cloud service.

Snitch

How It Works

A Raspberry Pi computer promiscuously sniffs packets on the local network. A Python script parses these packets, looking for any communication between the smart speaker and the vendor's cloud service. When detected, an API endpoint on an Arduino Nano 33 IoT microcontroller development board is accessed. This causes an LED attached to the Arduino to flash, thus alerting you to a speaker sending data to the vendor.

A single Raspberry Pi can trigger alerts on a number of Speaker Snitch devices all throughout your home.

Use

Packet parsing and control of the Speaker Snitch devices is handled by a simple Python script. From the Raspberry Pi, the script is launched with:

sudo tcpdump -U -i wlan0 host [SPEAKER IP ADDRESS] | stdbuf -o0 python3 -u snitch.py

For example:

sudo tcpdump -U -i wlan0 host 192.168.1.196 | stdbuf -o0 python3 -u snitch.py

The Arduino devices are controlled by this sketch.

Media

YouTube: https://www.youtube.com/watch?v=8SCS7iIHqxg

Speaker Snitch, top: Snitch

Speaker Snitch, angle: Snitch Angle

Raspberry Pi 3 B+: Pi

Bill of Materials

  • 1 x Raspberry Pi 3 B+ (or similar)
  • 1 x Arduino Nano 33 IoT
  • 1 x NeoPixel RGB LED
  • 1 x Battery pack (for Arduino)
  • Miscellaneous wires

About the Author

Nick A. Bild, MS

About

Speaker Snitch flashes a light when your smart speaker is sending data to the cloud.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published