Skip to main content

Free Raspberry Pi touch controller

  • December 6, 2018
  • 11 replies
  • 15458 views

Forum|alt.badge.img
Hi all,

I recently created a free touchscreen controller for the Raspberry Pi that you can use with your own setup as a sort of dedicated, always ready, controller. Check it out if you like and let me know what you think. Enjoy!

https://github.com/Villarrealized/sonos-pi-controller

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.

11 replies

Stanley_4
  • Lead Maestro
  • December 7, 2018
Saw the requirement for a touch screen, too bad it won't run on a Pi's desktop with a mouse which is what we need.

Forum|alt.badge.img
  • Author
  • Trending Lyricist I
  • December 8, 2018
Yeah, it is designed specifically to be used with the touchscreen without a desktop. However, under the hood it is using mouse events for input, so you wouldn't have to change much there at all. You would have to modify some of the environment and setup to work on a pi desktop although I don't think it would be too difficult since pygame works even easier out of the box in the desktop environment.

  • Lyricist II
  • December 10, 2018
Nice app. I am new to Docker and must be doing something wrong. After installing Docker and Docker-compose I built the base Dockerfile without a problem. Then I tried to build the main Docker file image with docker-compose build and got an error: "Couldn't find .env file". Which .env file is requested and where can I find it?

Forum|alt.badge.img
  • Author
  • Trending Lyricist I
  • December 10, 2018
Hi gvanoost,

I may have messed up the order of instructions in the readme. In the README it says:

Copy sample.env to .env and adjust BACKLIGHT_TIMEOUT to your preference. Default is 30 seconds.

Do this and then try it again.

  • Lyricist II
  • December 12, 2018
Thanks. 'Docker-compose build' worked now, but 'docker-compose up -d' gave two errors. Any ideas?


Forum|alt.badge.img
  • Author
  • Trending Lyricist I
  • December 15, 2018
It’s trying to mount /etc/ts.conf on your raspberry pi to the docker container, but it’s saying that it doesn’t exist.

Did you install the touchscreen and run the installer from Adafruit?

  • Lyricist II
  • December 16, 2018
I’ve installed a 3.5” touchscreen and its working fine, but it is not an Adafruit. It’s a cheap one from China and uses LCD-show as driver.

Forum|alt.badge.img
  • Author
  • Trending Lyricist I
  • December 25, 2018
I’ve installed a 3.5” touchscreen and its working fine, but it is not an Adafruit. It’s a cheap one from China and uses LCD-show as driver.

Hmm. I’m not sure I can help you there. You will probably have to modify the code and setup to get it to work. Sorry!

Forum|alt.badge.img
  • Author
  • Trending Lyricist I
  • December 25, 2018
Saw the requirement for a touch screen, too bad it won't run on a Pi's desktop with a mouse which is what we need.

I have just released a controller for the web browser, that has been tested on Linux. Not raspberry pi yet, although I’m sure it would work great.

https://en.community.sonos.com/controllers-software-228995/web-browser-controller-for-sonos-6818025

Forum|alt.badge.img
  • Author
  • Trending Lyricist I
  • January 4, 2019
I’ve installed a 3.5” touchscreen and its working fine, but it is not an Adafruit. It’s a cheap one from China and uses LCD-show as driver.

There was a similar issue opened recently, that may give you some direction in getting your setup to work.

https://github.com/Villarrealized/sonos-pi-controller/issues/1

  • Lyricist I
  • January 21, 2019
Hi, I've been attempting to get this to work but when I enter the docker build command I get the following error: unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/pi/Dockerfile.base: no such file or directory