Skip to main content

Sonos Touchscreen Controller


Did you find what you were looking for?
Show first post
This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.

27 replies

pwt
Forum|alt.badge.img+20
  • Virtuoso
  • 1884 replies
  • July 24, 2021
chicks wrote:

Quick test at Python cmd prompt:

>>> from soco.discovery import by_name
>>> zone = by_name("Office")
>>> zone
SoCo("192.168.68.128")
>>> 

So, looks good.

Note that there are corner cases where this form of discovery can fail -- for example, if you have multiple Sonos systems on the same network (e.g., split S1/S2) you’ll probably get failures some of the time.

If you do hit problems, use the following instead:

zone = by_name(“Office”, allow_network_scan=True, scan_timeout=1.0)

(Alternatively, one can lift it up a level of abstraction and use SoCo-CLI instead:

>>> from soco_cli.api import get_soco_object
>>> zone, err = get_soco_object("Office")
>>> zone

SoCo("192.168.68.128")

The SoCo-CLI call will use all possible discovery mechanisms. See https://github.com/avantrec/soco-cli#using-soco-cli-as-a-python-library for more details.)


chicks
  • Author
  • 3275 replies
  • August 12, 2021

A custom 3D printed case for the Hyperpixel display makes it a polished product.  Rubber bumper feet added to bottom to keep it stable when touching screen controls.

3D model here.  Ordered through Shapeways.

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings