About this project

NFC Controller for Sonos is an Android application designed to simplify controlling Sonos audio systems through NFC tag interactions. The primary use case is enabling quick access to saved Sonos favorites, particularly useful for families with children who can now use physical CD cover cards embedded with NFC tags to select and play albums on their Sonos devices. The application requires users to log in with their Sonos credentials, as it communicates with the Sonos cloud infrastructure rather than sending direct UPnP commands to the speakers. This architectural choice was made after early experiments with local control proved too slow and unstable. Users must create favorites within the official Sonos app first, since the Sonos Cloud API does not support direct album playback from services like Spotify. Setup involves printing CD covers, attaching NFC tags to the back, creating Sonos favorites, logging into the NFC Controller app, selecting the target speaker group, and pairing each NFC tag with a specific favorite through the app's pairing interface.