Announcement

Collapse
No announcement yet.

AUDIOPHONICS RASPDAC MINI Kit

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    AUDIOPHONICS RASPDAC MINI Kit

    Hi, any one managed to get the remote control and OLED screen working with Picoreplayer/LMS? Thanks

    #2
    Hi,

    I don't have a Raspdac so I can't help with my own experience... audiophonics don't mention picoreplayer as an option to work with the raspdac. For OLED displays on PicorePlayer there is LMSMonitor. Not sure it is compatible with the Raspdac display though, you would have to double check:
    https://forums.slimdevices.com/showt...S-Monitor-2020
    https://github.com/shunte88/LMSMonitor

    Remote control should be much easier to get to work. Plenty of forum threads.

    Comment


      #3
      Thanks for info. I have just tried Audiophonics Dietpi image, which includes LMS and squeezelite. Display and remote working fine but I don't have a clue how to run squeezelite or to connect to LMS on my other pi. All a bit too much for my old brain.

      Comment


        #4
        In theory ...
        Stop LMS on the DietPi installation (and set it to not restart on next boot).
        Then on your player ... navigate through the menus to look for an option to connect to a different LMS.
        There is a good chance that if you pick "My Music" and it cannot find the LMS that it was last connected to then it will offer you another one that it found.

        If that does not work then they might have configured it to always go to a particular LMS and you might have to ask them how to change it if it is not obvious from their interfaces.
        Paul Webster
        Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
        and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

        Comment


          #5
          Originally posted by kit1cat View Post
          Thanks for info. I have just tried Audiophonics Dietpi image, which includes LMS and squeezelite. Display and remote working fine but I don't have a clue how to run squeezelite or to connect to LMS on my other pi. All a bit too much for my old brain.

          I thought I saw on the MoOde forum you had it working.

          Why not use Squeezelite via MoOde ?

          ronnie

          Comment


            #6
            Originally posted by Man in a van View Post
            I thought I saw on the MoOde forum you had it working.

            Why not use Squeezelite via MoOde ?

            ronnie
            My Raspdac mini runs great under MoOde, but I have been trying out the material skin for LMS and found it very good.

            I have been using Squeezelite via MoOde on pi 3b+ running with LMS on my pi 4 with no problems. It was just that I found picoreplayer more convenient to use, but missed the display and remote functions, plus it has a more up to date version of Squeezelite, not sure if that makes any difference?

            Comment


              #7
              Ask the people at Audiophonics about a pCP install.

              I have a previous incarnation of this set up (just never bothered to install everything in the case ).

              It was a similar situation, but pCp was (partially) supported.

              MoOde runs on Raspbian Lite, I would suggest getting a spare sd card, installing raspbian desktop (basic version) add squeeezelite, check if you can play via the dac, then configure the power switch and then the screen.

              This will, obvs, involve a bit of searching around the Audiophonic / Moode forums and looking for the procedures on how to do each bit

              It involves a lot of trial and error but might help you pass away the time

              ronnie

              Comment


                #8
                Paul/ronnie thanks for suggestions guys, will have a look.

                Comment


                  #9
                  Look through the procedures here

                  http://https://www.audiophonics.fr/e...red-image.html

                  and this seem to show that a pCP install will work in basic form



                  You will need to study the screen install scripts on the other players to see how they work.

                  That is why I suggested the Raspbian Desktop for a proof of concept

                  1) check the dac is recognised, it should play back a radio station from Chromium

                  2) just install Squeezelite via the package manager (don't worry about the version number)

                  3) check the power supply set-up, this might help (I don't know if it includes their board)

                  http://https://github.com/audiophoni...ster/README.md

                  do the same for the screen set up

                  It should be able to run it on the raspbian desktop , then transfer to raspbian lite / pcp

                  Audiophonics should offer better suppport

                  ronnie

                  Comment


                    #10
                    Thanks again ronnie, I going to have another look at the Audiophonics Dietpi image, at least the remote and display work.

                    Comment


                      #11
                      Hi,

                      You need to edit the following files :
                      • /etc/systemd/system/squeezelite.service : line 7, change squeezelite parameters, at least the mac address
                      • /home/dietpi/OLED/lms_oled_1.54_spi_audiophonics.py : line 71 with lms server details and line 75 with the mac address specified for squeezelite
                      • /etc/lirc/lmscli.exp : line 27 and following with lms server details

                      Comment


                        #12
                        Originally posted by eristoff View Post
                        Hi,

                        You need to edit the following files :
                        • /etc/systemd/system/squeezelite.service : line 7, change squeezelite parameters, at least the mac address
                        • /home/dietpi/OLED/lms_oled_1.54_spi_audiophonics.py : line 71 with lms server details and line 75 with the mac address specified for squeezelite
                        • /etc/lirc/lmscli.exp : line 27 and following with lms server details
                        Thanks for info, will have a look.

                        Comment


                          #13
                          I have managed to get a remote to work. I have a Harmony 650 and read that it supported the squeezebox touch remote. Installed picoreplayer's default LIRC files, set GPIO pin to 4 and it's all up and running with the Harmony.

                          Comment


                            #14
                            I got the Audiophonics python OLED script working with on pCP 6.1 with python3.6
                            (A quick and dirty port of an old Audiophonics python script is attached.)

                            Increase your filesystem size (500 MB is more than enough)

                            Install the following extensions: compiletc.tcz, freetype-dev.tcz, python3.6-dev.tcz, squashfs-tools.tcz (I may have forgotten one or two)

                            Create a file called reqs.pip with the following contents:

                            Code:
                            pillow --global-option="build_ext" --global-option="--disable-jpeg" --global-option="--disable-zlib" --global-option="--enable-freetype"
                            luma.oled
                            luma.core
                            pyftdi
                            smbus2
                            spidev
                            RPI.GPIO
                            pyusb
                            pyserial
                            pylms
                            Then run the following commands

                            Code:
                            sudo python3 -m pip install --upgrade pip setuptools
                            pip install -r reqs.pip --prefix=/tmp/raspdacmini-deps/usr/local --ignore-installed
                            sed -i 's/\t/        /' /tmp/raspdacmini-deps/usr/local/lib/python3.6/site-packages/pylms/player.py
                            mksquashfs /tmp/raspdacmini-deps /tmp/raspdacmini-py36-deps.tcz
                            sudo cp -p /tmp/raspdacmini-py36-deps.tcz /etc/sysconfig/tcedir/optional
                            echo raspdacmini-py36-deps.tcz | sudo tee -a /etc/sysconfig/tcedir/onboot.lst
                            Attached Files
                            Last edited by gregex; 2020-06-26, 20:42. Reason: Reattach python3 script

                            Comment


                              #15
                              Originally posted by gregex View Post
                              I got the Audiophonics python OLED script working with on pCP 6.1 with python3.6
                              (A quick and dirty port of an old Audiophonics python script is attached.)

                              Increase your filesystem size (500 MB is more than enough)

                              Install the following extensions: compiletc.tcz, freetype-dev.tcz, python3.6-dev.tcz, squashfs-tools.tcz (I may have forgotten one or two)

                              Create a file called reqs.pip with the following contents:

                              Code:
                              pillow --global-option="build_ext" --global-option="--disable-jpeg" --global-option="--disable-zlib" --global-option="--enable-freetype"
                              luma.oled
                              luma.core
                              pyftdi
                              smbus2
                              spidev
                              RPI.GPIO
                              pyusb
                              pyserial
                              pylms
                              Then run the following commands

                              Code:
                              sudo python3 -m pip install --upgrade pip setuptools
                              pip install -r reqs.pip --prefix=/tmp/raspdacmini-deps/usr/local --ignore-installed
                              sed -i 's/\t/        /' /tmp/raspdacmini-deps/usr/local/lib/python3.6/site-packages/pylms/player.py
                              mksquashfs /tmp/raspdacmini-deps /tmp/raspdacmini-py36-deps.tcz
                              sudo cp -p /tmp/raspdacmini-py36-deps.tcz /etc/sysconfig/tcedir/optional
                              echo raspdacmini-py36-deps.tcz | sudo tee -a /etc/sysconfig/tcedir/onboot.lst

                              Thanks for info, will give it ago when I have a minute.

                              Comment

                              Working...
                              X