Announcement

Collapse
No announcement yet.

ANNOUNCE: Squeezelite-ESP32 (dedicated thread)

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Originally posted by StevenEllis
    Here is the correct config with BT enabled that works with my headphones. I can't get the device to detect any of my BT Speakers, even if I override the a2dp_sink_name value
    @sle118 did you have a chance to look at my config. Really puzzled as to why I can only see selected BT devices.

    Comment


    • Originally posted by nenu
      Is double pressing a a button implemented? I see it mentioned for rotary encoder, but not for regular buttons.
      Can that be added in a future update?
      No it's not - it's a bit of a hack in Rotary. It's not implemented at the core of the buttons management, more in the "applicative" layer of the Rotary and thus it's not scalable
      LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

      Comment


      • GPIO to control amplifier power

        I remember I have read something about ist, but could't find it anymore.
        Maybe somebody here just knows it ?

        Is there an option to confgure a GPIO which can be used to control amplifier on/off ?

        Comment


        • From the docs that are linked to from the first post in this thread

          The <amp> parameter can use used to assign a GPIO that will be set to active level (default 1) when playback starts. It will be reset when squeezelite becomes idle. The idle timeout is set on the squeezelite command line through -C <timeout>
          See the docs themselves for how to set it up.
          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


          • Originally posted by prutser
            Is there an option to confgure a GPIO which can be used to control amplifier on/off ?
            The option that is mentioned by Paul above is described here:
            | LMS 8.3.2 on Linux Mint 21.2 | Squeezebox Boom | RPi0W + pCP 8.2.0 + HiFiBerry DAC Zero | ESP Muse Luxe |

            Comment


            • Originally posted by CJS
              The option that is mentioned by Paul above is described here:
              https://github.com/sle118/squeezelit...ME.md#set-gpio
              Thanks, found it. Now the next question.

              I would like to use GPIO0 and I would like to have it compile time.

              Did make menuconfig, added the GPIO, after building I checked 'sdkconfig' which now contains the following entry: CONFIG_SET_GPIO="0=amp:1"

              When measuring GPIO0, it remains high and when checking the log with telnet, the only (more or less) related message I can find is:

              "[00:05:38.189675] output_thread_i2s:452 switching off amp GPIO -1" I would expect this would list GPIO0.

              Did I do something wrong with "CONFIG_SET_GPIO" ?
              Are there any other options to check GPIO allocation ?

              << Update >>
              After some trying I noticed that adding the "active high/active low" level ":1" cause the GPIO not to be recognized.

              So '0=amp' works '0=amp:1' does not work. Is it a misunderstanding from my side, os just a bug ?
              Last edited by prutser; 2021-05-24, 14:21.

              Comment


              • Originally posted by prutser
                Thanks, found it. Now the next question.

                I would like to use GPIO0 and I would like to have it compile time.

                Did make menuconfig, added the GPIO, after building I checked 'sdkconfig' which now contains the following entry: CONFIG_SET_GPIO="0=amp:1"

                When measuring GPIO0, it remains high and when checking the log with telnet, the only (more or less) related message I can find is:

                "[00:05:38.189675] output_thread_i2s:452 switching off amp GPIO -1" I would expect this would list GPIO0.

                Did I do something wrong with "CONFIG_SET_GPIO" ?
                Are there any other options to check GPIO allocation ?

                << Update >>
                After some trying I noticed that adding the "active high/active low" level ":1" cause the GPIO not to be recognized.

                So '0=amp' works '0=amp:1' does not work. Is it a misunderstanding from my side, os just a bug ?
                You're correct, there was an issue with the amp gpio parsing when polarity was set. It's corrected now
                LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

                Comment


                • Originally posted by StevenEllis
                  @sle118 did you have a chance to look at my config. Really puzzled as to why I can only see selected BT devices.
                  Unfortunately, I've been missing in action in the past few weeks with real life (TM) catching on and depriving me of sleep at times
                  LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and...
                  6xSqueezeAmp, several other ESP32-Wrover boards with jumper wires flying around, some with ethernet!

                  Comment


                  • Originally posted by sle118
                    Unfortunately, I've been missing in action in the past few weeks with real life (TM) catching on and depriving me of sleep at times
                    No worries I fully understand. Really appreciate all the hard work.

                    Comment


                    • Hi there,

                      I want to try Squeezelite-ESP32 at my home, so I ordered at first an ESP-A1S which should be good for some testing.
                      At the end I want to connect at least one device via S/PDIF (AV Receiver) to that client.
                      Is it possible with the ESP-A1S? Or do I need a ESP32-WROVER Kit?
                      And what kind of external module should be working without any problems?

                      Thanks :-)

                      Comment


                      • Originally posted by Dominik82
                        Hi there,

                        I want to try Squeezelite-ESP32 at my home, so I ordered at first an ESP-A1S which should be good for some testing.
                        At the end I want to connect at least one device via S/PDIF (AV Receiver) to that client.
                        Is it possible with the ESP-A1S?


                        Originally posted by Dominik82
                        Or do I need a ESP32-WROVER Kit?
                        And what kind of external module should be working without any problems?

                        Comment


                        • OK, so if I understand correctly:
                          I can use any of the GPIOs for the I2S Output and I need to configure only "bck=<gpio>,ws=<gpio>,do=<gpio>"?
                          From this three only DO needs to be connected to the external DAC (+ ground, of course)?

                          Any recommandation for an external DAC module?
                          With fast search I found a "DollaTek HIFI DiGi+" module?

                          Comment


                          • Originally posted by Dominik82
                            OK, so if I understand correctly:
                            I can use any of the GPIOs for the I2S Output and I need to configure only "bck=<gpio>,ws=<gpio>,do=<gpio>"?
                            From this three only DO needs to be connected to the external DAC (+ ground, of course)?

                            Any recommandation for an external DAC module?
                            With fast search I found a "DollaTek HIFI DiGi+" module?
                            The A1S already has a DAC inside, that’s the main reason for this A1S module. Are you talking about i2s or spdif then? If this is spdif you don’t need a DAC on the esp32 side, it is part of the équipement you connect the spdif to. If you still want your own DAC, why connecting it’s with spdif rather that i2s gpio and why not using a plain esp32 then?
                            LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

                            Comment


                            • Originally posted by philippe_44
                              The A1S already has a DAC inside, that’s the main reason for this A1S module. Are you talking about i2s or spdif then? If this is spdif you don’t need a DAC on the esp32 side, it is part of the équipement you connect the spdif to. If you still want your own DAC, why connecting it’s with spdif rather that i2s gpio and why not using a plain esp32 then?
                              I've chosen the ESP32-A1S as this was the first board, which I found. But for one use case it's also ok as I want to connect it via headset output to another device.

                              But for the other use case I want to use a SPDIF connection (optical or coax, doesn't matter) to my AV-Receiver. So if I understand correctly an ESP-WROOM-32 should be enough. Then I need an external module with SPDIF output and the connection between the ESP32 and external module is I2S? Or did I understand wrong? And which module could I take?

                              Comment


                              • The docs say ... "For the sake of clarity, WROOM modules DO NOT work as they don't include PSRAM. Some designs might add it externally, but it's (very) unlikely."
                                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

                                Working...
                                X
                                😀
                                🥰
                                🤢
                                😎
                                😡
                                👍
                                👎