Hi, and firstly thanks to the community and creator of SoCo.
I'm trying to expand my knowledge in a few areas and really want to get to grips with Python, and get comfortable with Linux (I come from a Windows, VB and SQL background). I find it easiest to learn when I have an objective, so I've decided to try and make an NFC based interface for Sonos, mainly so that my (young) kids can choose and play music without my input, just like I did when I was their age.
The project might sound familiar, it's been done a few times, but with varying languages and technologies. I have the pi working with NFC, and have set up a MySQL db/table to hold playlist information. Next is SoCo.
I have SoCo installed ok, but I'm struggling with discovery. I have 2x Sonos 1s (currently in a stereo pair) and one Sonos Connect (not Amp). If I run:
import soco
for zone in soco.discover():
print (zone.player_name)
I get nothing at all in return, which I believe indicates nothing's been found.
I checked the issues in github and confirm that the most recent fix for discovery is in place on my installation (only installed today from a git clone, so should be current).
I've tried tcpdump (my first time using this, wow!) and although it looks busy I can't see much that would indicate that SoCo is even looking for devices.
Any ideas would be very welcome.
Thanks in anticipation,
John.