Git Product home page Git Product logo

sonos-pi-controller's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

sonos-pi-controller's Issues

docker build: step 8 error

Step 8/8 : RUN apt-get -y --allow-downgrades install libsdl1.2debian/wheezy
---> Running in e5e44dccd723
Reading package lists...
E: The value 'stable' is invalid for APT::Default-Release as such a release is not available in the sources
The command '/bin/sh -c apt-get -y --allow-downgrades install libsdl1.2debian/wheezy' returned a non-zero code: 100

Run app through a web page

Hi - I've only got (very!) limited skills so please excuse any naive questions.

I tried to get this working but had problems as I only had a cheap 3.5" display from Amazon and as I see from other comments the set up is not so straight forward (or at least it wasn't for me, but not overly surprising there).

I did, however, have a lot of joy with your sonos-web project. I have that running and I think it is great - but as I am sure you can imagine not so easy to control on a cheap 3.5" screen.

Do you think the sonos-pi-controller could be displayed as a web page? Will buy you a virtual beer :)

Thanks,

Michael.

Using the controller with the official RPi touchscreen

Hi @Villarrealized

I'm trying to get the controller to work with my RPi and the official RPi 7" touchscreen.

I have performed all steps in the README, but get an error when running docker-compose up -d due to /etc/ts.conf that doesn't exist. I have created it with the following content:

# Uncomment if you wish to use the linux input layer event interface
module_raw input

# Uncomment if you're using a Sharp Zaurus SL-5500/SL-5000d
# module_raw collie

# Uncomment if you're using a Sharp Zaurus SL-C700/C750/C760/C860
# module_raw corgi

# Uncomment if you're using a device with a UCB1200/1300/1400 TS interface
# module_raw ucb1x00

# Uncomment if you're using an HP iPaq h3600 or similar
# module_raw h3600

# Uncomment if you're using a Hitachi Webpad
# module_raw mk712

# Uncomment if you're using an IBM Arctic II
# module_raw arctic2

module pthres pmin=1
module variance delta=30
module dejitter delta=100
module linear

This is what I have in /boot/config.txt:

dtparam=spi=on
dtparam=i2c1=on
dtparam=i2c_arm=on
dtoverlay=rpi-ft5406,rotate=0,speed=32000000,fps=60

I have also changed the backlight-value from 1 to 255 in docker-compose.yml and .env.

Now, running docker-compose up -d runs without problems, but nothing happens. However, running docker-compose up (without -d) gives me

Starting sonos-pi-controller ... done
Attaching to sonos-pi-controller
sonos-pi-controller | Fatal Python error: (pygame parachute) Segmentation Fault

Do you know what is causing this?

Error after running "docker-compose up -d"

I am very new to using docker / programming at all. I managed to do the installation until "docker-compose up -d".
Any idea, would be glad to have you support! Thank you.

Building with native build. Learn about native build in Compose here: https://docs.docker.com/go/compose-native-build/
Recreating sonos-pi-controller ... error

ERROR: for sonos-pi-controller Cannot start service app: error while creating mount source path '/sys/class/backlight': mkdir /sys/class/backlight: operation not permitted

ERROR: for app Cannot start service app: error while creating mount source path '/sys/class/backlight': mkdir /sys/class/backlight: operation not permitted
ERROR: Encountered errors while bringing up the project.

docker-compose up -d Error

I get this error when running docker-compose up -d

`pi@raspberrypi:~ $ docker-compose up -d
Starting sonos-pi-controller ... error

ERROR: for sonos-pi-controller Cannot start service app: OCI runtime create fai led: container_linux.go:348: starting container process caused "process_linux.go :402: container init caused "rootfs_linux.go:58: mounting \"/etc/ts.conf\" to rootfs \"/var/lib/docker/overlay2/1c6b8b948ca2300c9d575e17588ffa968b668911b 7d4a0f1d5ab5ece5dafb1b1/merged\" at \"/var/lib/docker/overlay2/1c6b8b948ca23 00c9d575e17588ffa968b668911b7d4a0f1d5ab5ece5dafb1b1/merged/etc/ts.conf\" cause d \"not a directory\""": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expec ted type

ERROR: for app Cannot start service app: OCI runtime create failed: container_l inux.go:348: starting container process caused "process_linux.go:402: container init caused "rootfs_linux.go:58: mounting \"/etc/ts.conf\" to rootfs \"/v ar/lib/docker/overlay2/1c6b8b948ca2300c9d575e17588ffa968b668911b7d4a0f1d5ab5ece5 dafb1b1/merged\" at \"/var/lib/docker/overlay2/1c6b8b948ca2300c9d575e17588ff a968b668911b7d4a0f1d5ab5ece5dafb1b1/merged/etc/ts.conf\" caused \"not a dire ctory\""": unknown: Are you trying to mount a directory onto a file (or vice- versa)? Check if the specified host path exists and is the expected type
ERROR: Encountered errors while bringing up the project.`

Cannot exit running docker container

After running the docker-compose up -d command, the touchscreen does pop up, but my touch response isnt working. However, i cannot exit the running docker process and go back to my terminal to further troubleshoot the issue. Ctrl + C, Ctrl P + Ctrl Q, Ctrl Z - nothing works to kill/undetach the docker app to bring me back to the bash shell. Unplugging the raspberry pi to force shutdown also doesnt work since the touchscreen just pops back up upon restart of the pi.

docker-compose build error

I get this error when running docker-compose build

Building app
Step 1/7 : FROM villarrealized/debian-pygame-base
ERROR: Service 'app' failed to build: pull access denied for villarrealized/debian-pygame-base, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.