Announcement

Collapse
No announcement yet.

ANNOUNCE: Squeezelite-ESP32 (dedicated thread)

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

    Esp23 wrover & i2s pcm2102a

    Hi,

    i am sitting here since days trying to get my Squeezelite-ESP32 working without success.

    For the beginning i have the following parts:



    I connected the parts as described in the Readme: https://github.com/sle118/squeezelit...rover--i2s-dac

    After Flashing the ESP with the linked webinstaller, i can connect to the Webinterface and configure the WLAN credentials.
    Rebooting the device - again it starts in recovery mode.
    I configured the devicename successfully
    I editedt in NVS Editor "dac_config" to bck=26,ws=25,do=33
    Again rebooted - again it starts in recovery mode.

    The Log states that it is also connected to my LMS, but i can't see it there.
    I attached the console output for a boot process to this post.

    In case a select "Exit Recovery" on the ESP WebUI it ends in a reboot loop. Only way to get back is flash again :-(

    Anybody to support here, please?
    Attached Files

    Comment


      Originally posted by [email protected] View Post
      Hi,

      i am sitting here since days trying to get my Squeezelite-ESP32 working without success.

      For the beginning i have the following parts:



      I connected the parts as described in the Readme: https://github.com/sle118/squeezelit...rover--i2s-dac

      After Flashing the ESP with the linked webinstaller, i can connect to the Webinterface and configure the WLAN credentials.
      Rebooting the device - again it starts in recovery mode.
      I configured the devicename successfully
      I editedt in NVS Editor "dac_config" to bck=26,ws=25,do=33
      Again rebooted - again it starts in recovery mode.

      The Log states that it is also connected to my LMS, but i can't see it there.
      I attached the console output for a boot process to this post.

      In case a select "Exit Recovery" on the ESP WebUI it ends in a reboot loop. Only way to get back is flash again :-(

      Anybody to support here, please?
      Please capture the logs from the boot loop. Recovery doesn't connect as a player; it merely connects to the server to support proxy update downloads.

      Out of curiosity, did you install the squeezelite-esp32 plugin?
      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 View Post
        Please capture the logs from the boot loop. Recovery doesn't connect as a player; it merely connects to the server to support proxy update downloads.

        Out of curiosity, did you install the squeezelite-esp32 plugin?
        Thanks for fast reply.
        Attached you find one Log booting in recovery mode and one for disabling recovery mode and the firts reboots.

        You mean the ESP32 Plugin for LMS? Yes it's installed, but as i understand it's optional?
        Attached Files

        Comment


          Originally posted by [email protected] View Post
          Thanks for fast reply.
          Attached you find one Log booting in recovery mode and one for disabling recovery mode and the firts reboots.

          You mean the ESP32 Plugin for LMS? Yes it's installed, but as i understand it's optional?
          Do you have 192.168.2.203 coded at the end of your autoexec1? I'm going to guess it's not a valid command. Try removing it and see what happens.

          Comment


            Originally posted by [email protected] View Post
            Thanks for fast reply.
            Attached you find one Log booting in recovery mode and one for disabling recovery mode and the firts reboots.

            You mean the ESP32 Plugin for LMS? Yes it's installed, but as i understand it's optional?
            As mboxler wrote, the command line is invalid. Navigate to your audio tab on the web UI and either remove it, or loom at the logs for some hints

            Spoiler: to specify the server to connect to, use this
            Code:
            -s <server>[:<port>]	Connect to specified server, otherwise uses autodiscovery to find server
            The extra parameters configuration field works just like the regular squeezelite.
            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


              Thanks a lot

              Thank you.
              Indeed it seems that the autoexec command was the causing issue.
              I flashed the device again and only configured the WLAN credential and DAC_config, now it's working. (see attachment)
              Was i wrong to configure the LMS Server under Audio > Output > optional setting: Click image for larger version

Name:	LMS-entry.PNG
Views:	1
Size:	11.1 KB
ID:	1576345

              Now i only need to manage the volume of the speackers, right now it's quite low.
              Attached Files

              Comment


                Originally posted by [email protected] View Post
                Thank you.
                Indeed it seems that the autoexec command was the causing issue.
                I flashed the device again and only configured the WLAN credential and DAC_config, now it's working. (see attachment)
                Was i wrong to configure the LMS Server under Audio > Output > optional setting: [ATTACH]39527[/ATTACH]

                Now i only need to manage the volume of the speackers, right now it's quite low.
                In the vast majority of cases, it is not needed to specify the server address, as the system will use automated discovery to find it. In rare cases where you have to enter it, then you have to use the same command line syntax that squeezelite exposes, which is to use '-s up[ort]' as stated in my previous comment
                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 [email protected] View Post
                  Now i only need to manage the volume of the speakers, right now it's quite low.
                  Did you check the volume level in LMS?

                  Also, check the levels of the Parametric equalizer in LMS under Settings/Player/ESP32 settings. One time I flashed a device and they defaulted to a bunch of random levels. Zeroed them out and all was good.

                  Mike

                  Comment


                    Now it's working :-)
                    Already including a small SPI Display.

                    As i need to have the LMS authentication active and would like to have a "stop" button on each player, i set "lms_ctrls_raw" to "y". But how can i configured if button on GPIO_X is pressed, player should be stopped / turned off?

                    Comment


                      Originally posted by [email protected] View Post
                      Now it's working :-)
                      Already including a small SPI Display.

                      As i need to have the LMS authentication active and would like to have a "stop" button on each player, i set "lms_ctrls_raw" to "y". But how can i configured if button on GPIO_X is pressed, player should be stopped / turned off?
                      Ok i think i found by myself:

                      required config in NVS Tab:
                      actrls_config: buttons

                      at the buttom add new "buttons":
                      buttons: [{"gpio":4,"normal":{"pressed":"ACTRLS_POWER"}}]

                      Comment


                        Power cycle issue

                        I have flashed the firmware to a wrover esp32 device and all seems to function OK with one exception. When I first power up or power cycle the device it is non functioning until I press the reset button on the board. After that, it works fine. I would rather not have to press the button every time on boot. Is this expected behavior? If not, any suggestions on a fix?

                        Comment


                          Originally posted by [email protected] View Post
                          I have flashed the firmware to a wrover esp32 device and all seems to function OK with one exception. When I first power up or power cycle the device it is non functioning until I press the reset button on the board. After that, it works fine. I would rather not have to press the button every time on boot. Is this expected behavior? If not, any suggestions on a fix?
                          Definitely not the expected behavior. But to get some help, you will need to provide more details about your hardware setup and what/how you have flashed on it.

                          One thing that comes to mind is that this could be a power supply issue, so having the hardware details is a must.
                          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


                            Mn Cast for Squeezelite

                            Hello I'm proud to annouce that the Mn cast is available on Amazon now. It comes with Squeezelite pre-loaded.


                            Click image for larger version

Name:	6c4cbbeebd4e4afb27d8e698aadb0c0bbcca4885_2_1380x842.jpeg
Views:	2
Size:	121.1 KB
ID:	1576363



                            The Mn Cast device is intended to be plugged into your old stereo system to add modern connectivity such as Bluetooth, Airplay, Local Streaming, Home Assistant support, and much more. Don’t throw away your old Hifi system; upcycle it!

                            installation guide is here
                            Last edited by RoscoP13; 2022-12-25, 19:50.

                            Comment


                              Hi,
                              i followed this interesting Project, but could not find any further information about the topic synchronization. what about the topic sync?, is a good synchonisation in multiroom-audio with other squeezeboxes, with other squeezelite-linux-clients, picoreplayer or even other squeezelite-esp32-clients achievable, which works without problems? actually i'm thinking about whether buying 3 clients on a raspberry pi or better esp32-clients...? Is the project stable running on this little ESP32-Devices?
                              thank you ...
                              Last edited by knorst; 2022-12-28, 16:41.

                              Comment


                                Originally posted by knorst View Post
                                Hi,
                                i followed this interesting Project, but could not find any further information about the topic synchronization. what about the topic sync?, is a good synchonisation in multiroom-audio with other squeezeboxes, with other squeezelite-linux-clients, picoreplayer or even other squeezelite-esp32-clients achievable, which works without problems? actually i'm thinking about whether buying 3 clients on a raspberry pi or better esp32-clients...? Is the project stable running on this little ESP32-Devices?
                                thank you ...
                                It does sync with any other Squeezebox device
                                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

                                Working...
                                X