Skip to content

A python script to remotely control a Sonos music player with NFC tags. Part of the Song Blocks project that allows a toddler to control a Sonos with wood blocks.

Notifications You must be signed in to change notification settings

shawnrk/songblocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

songblocks

A python script to remotely control a Sonos music player with NFC tags. For an overview of the full Song Blocks project, see here.

The main source file is songblocks.py.

I'm a mediocre developer at best and this is my first Python project. I was more interested in getting it working than doing it right, so I absolutely cut some corners. For instance, part of the nfcpy library is in this repo because I didn't have the patience to figure out how Python's module path stuff worked, so I just put the module I needed in my working directory. Also, _common.py is sourced from the example files in the TweetPony library and used to set up the connection to Twitter.

Thanks to the developers of the SoCo (Sonos interface), nfcpy (NFC interface), and TweetPony (Twitter interface), libraries. All were pretty easy to use for a novice.

About

A python script to remotely control a Sonos music player with NFC tags. Part of the Song Blocks project that allows a toddler to control a Sonos with wood blocks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages