Sonos-HDMI by Retired Guy isn't outputting graphics...

  • 11 January 2022
  • 31 replies
  • 446 views

@Chicks, thank you for the port of your touchscreen controller to a view only HDMI code.  

I’ve got your code installed on my Pi Zero W, auto login to shell, the Sonos.py script auto-running and edited to my named speaker group, and it connected to the HDMI on the big-screen.  Unfortunately, the Pi isn’t showing the artwork/music on screen, just the bash prompt after the linux boot menu.

Can you direct me to what I am missing from the auto-run or the python or the output variable for the screen? Is there one more utility to be the front end?  Maybe my systmctrl of the Sonos app isn’t running?

I needed to chmod your utility to executable, so that should be OK now…. Thoughts?


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.

31 replies

I haven’t migrated to bullseye yet, still on buster. Looks like there are issues with the Hyperpixel on bullseye. Haven’t read the entire thread on GitHub, perhaps they’ve resolved it by now?

 

https://github.com/pimoroni/hyperpixel4/issues/155

 

Badge

Screen is now working! I shouldn’t have updated the kernel. Thank you so much for helping me through it!

 

Badge

I haven’t migrated to bullseye yet, still on buster. Looks like there are issues with the Hyperpixel on bullseye. Haven’t read the entire thread on GitHub, perhaps they’ve resolved it by now?

 

https://github.com/pimoroni/hyperpixel4/issues/155

 

I started from scratch without updating and all is well now. Thank you!

Good show!  
 

BTW, I’ve moved to the Oswald font for the Squeezelite version of this, as it provides a whole lot more text in the given space. 
 

https://github.com/retired-guy/Squeezebox-3.5/blob/main/sb.py

 

Badge

For anyone that wants to get Sonos-Remote working, a few extra commands in addition to changing code in the files mentioned above:

curl -sSL https://get.pimoroni.com/hyperpixel4 | bash

Sudo apt-get install python3-pigpio

Pip3 install evdev

 

And for the sonos.service file to make it work at startup:

 

[Unit]
Description=Sonos
After=multi-user.target

[Service]
Type=idle
ExecStart=/usr/bin/python3 /home/pi/sonos/sonos.py
WorkingDirectory=/home/pi/sonos/
StandardOutput=inherit
StandardError=inherit
Restart=always
User=pi

[Install]
WantedBy=multi-user.target
 
 

Best to wait for the network to be online, particularly since we’re using WiFi.  Here’s an example I use for one of my squeezelite renderers:

 

[Unit]
Description=Squeezelite
Wants=network-online.target
After=network-online.target

StartLimitIntervalSec=33
StartLimitBurst=5

[Service]
ExecStart=/usr/bin/squeezelite -o hw:CARD=sndrpijustboomd,DEV=0 -n "RME Coax" -a 80:4 -C 3

Restart=always
RestartSec=5
User=pi

[Install]
WantedBy=multi-user.target