Announcement

Collapse
No announcement yet.

ANNOUNCE: Squeezelite-ESP32 (dedicated thread)

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Originally posted by philippe_44
    I still do not recommend to use more than 12V for casual use. The TAS produces much more heat while idle at that voltage. This is the reason why I did the boost version so that 12v is the voltage whether you use battery or wall adapter.
    I know sle118 was talking about 20v, but it sounds like I should at least get a heatsink for the 16v psu i have on the way then.

    It's gonna be on while i'm working from home during the day so quite a few hours, but not super loud or anything. Went 16v as I just want it to sound the best it can.
    Last edited by Prime Heretic; 2020-09-09, 20:25.

    Comment


    • Originally posted by Prime Heretic
      I know sle118 was talking about 20v, but it sounds like I should at least get a heatsink for the 16v psu i have on the way then.

      It's gonna be on while i'm working from home during the day so quite a few hours, but not super loud or anything. Went 16v as I just want it to sound the best it can.
      You can put a heatsink on the TAS and on the exposed copper pad I have added a while ago. I don’t think it’s absolutely necessary though as I don’t think 16V is needed for usual listening level.
      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


      • I was able to complete more progress on the user interface today. They are dedicated mainly to configuration and status.

        Configuration tab
        Click image for larger version

Name:	image_2020_09_11T19_50_38_811Z-1.png
Views:	1
Size:	105.6 KB
ID:	1569812


        --------------
        Status tab, with gpio assignment list
        Click image for larger version

Name:	image_2020_09_11T19_49_36_603Z-1.png
Views:	1
Size:	63.0 KB
ID:	1569813
        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
          I was able to complete more progress on the user interface today. They are dedicated mainly to configuration and status.

          Configuration tab

          --------------
          Status tab, with gpio assignment list
          Looks good!
          I just made the jump from make to this cmake version.
          Did it via OTA update from a make recovery fw - hope that is ok and they (-> 'old' make recovery and 'new' cmake squeezelite) do not interfere with each other, right?

          One thing I noticed:
          Where do I setup the Bluetooth and Airplay settings in cmake Version?
          I do not find anything related in 'Configuration', 'Advanced' or 'NVS editor' Tab (NVS is empty except 1 line to add new entries)

          Is that due to work in progress, or am I missing something?
          LMS 8.x on RasPi4 (running along with OMV and AdGuard)
          Player: 5 x Squeezebox Classic, Slimp3, SqueezeAmp
          2nd System: PiCorePlayer (and LMS) on Pi Zero

          Comment


          • Originally posted by slimhase
            Looks good!
            I just made the jump from make to this cmake version.
            Did it via OTA update from a make recovery fw - hope that is ok and they (-> 'old' make recovery and 'new' cmake squeezelite) do not interfere with each other, right?

            One thing I noticed:
            Where do I setup the Bluetooth and Airplay settings in cmake Version?
            I do not find anything related in 'Configuration', 'Advanced' or 'NVS editor' Tab (NVS is empty except 1 line to add new entries)

            Is that due to work in progress, or am I missing something?
            If there's any way you can flash with a USB dongle, I'd recommend CMake for recovery; OTA operations have been very stable for me on that release.

            There shouldn't be any interference. Just remember to refresh your browser page when switching from recovery to squeezelite and vice-versa.

            There are two Bluetooth settings (sink and source). Which one are you referring to?

            Bluetooth sink refers to the Bluetooth being exposed, and the only setting (besides enabling it or not) is the name that's broadcasted. This now lives under "Device name", which consolidates almost all the names settings in one place. Change the name there, and Bluetooth source, network name, etc are all automatically updated at one. The only name that isn't implemented so far is the one that can be set in the Audio page (squeezelite name).

            I think I should add a "service" section to centralize activating telnet, Bluetooth sink, airplay, etc.

            If there's anything you'd like to see, let me know!
            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
              ...

              There are two Bluetooth settings (sink and source). Which one are you referring to?

              Bluetooth sink refers to the Bluetooth being exposed, and the only setting (besides enabling it or not) is the name that's broadcasted. This now lives under "Device name", which consolidates almost all the names settings in one place. Change the name there, and Bluetooth source, network name, etc are all automatically updated at one. The only name that isn't implemented so far is the one that can be set in the Audio page (squeezelite name).

              I think I should add a "service" section to centralize activating telnet, Bluetooth sink, airplay, etc.

              If there's anything you'd like to see, let me know!
              Thanks for the feedback, sle118!

              @philippe44:
              The cmake UI in the 'Status' tab showed one occurence of my earlier reported random WiFi disconnecting:
              Code:
               
              12.9.2020, 13:37:28	WiFi Connection lost
              12.9.2020, 13:37:35	Wifi disconnected
              12.9.2020, 13:37:43	Wifi connected
              (in this case, SqueezeAmp was on, but play was paused)
              LMS 8.x on RasPi4 (running along with OMV and AdGuard)
              Player: 5 x Squeezebox Classic, Slimp3, SqueezeAmp
              2nd System: PiCorePlayer (and LMS) on Pi Zero

              Comment


              • Originally posted by slimhase
                Thanks for the feedback, sle118!

                @philippe44:
                The cmake UI in the 'Status' tab showed one occurence of my earlier reported random WiFi disconnecting:
                Code:
                 
                12.9.2020, 13:37:28	WiFi Connection lost
                12.9.2020, 13:37:35	Wifi disconnected
                12.9.2020, 13:37:43	Wifi connected
                (in this case, SqueezeAmp was on, but play was paused)
                If you are able to flash the development recovery (aka CMake), and remind me the device in which you are running squeezelite, I'll build you a custom version with full WiFi log verbosity to try and catch more details. Of course, a serial dongle will be needed to capture these, or at least a telnet connection which might be enough, given that WiFi reconnects. I built a telnet buffer large enough to hold lines until a connection is re-established. WiFi low level logs would give us a better understanding on what is happening to the connection.

                If you can't flash CMake recovery, we can find another way to install that custom build (I would create a new Jenkins target)
                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
                  If you are able to flash the development recovery (aka CMake), and remind me the device in which you are running squeezelite, I'll build you a custom version with full WiFi log verbosity to try and catch more details. Of course, a serial dongle will be needed to capture these, or at least a telnet connection which might be enough, given that WiFi reconnects. I built a telnet buffer large enough to hold lines until a connection is re-established. WiFi low level logs would give us a better understanding on what is happening to the connection.

                  If you can't flash CMake recovery, we can find another way to install that custom build (I would create a new Jenkins target)
                  Hi sle118;
                  that is very kind.
                  I will be able to flash the new recovery, but I can do that earliest in a week.
                  (I need to hold a training starting monday and I am procrastinating the preparation for too long already.....)

                  Thanks again; I will let you know.
                  LMS 8.x on RasPi4 (running along with OMV and AdGuard)
                  Player: 5 x Squeezebox Classic, Slimp3, SqueezeAmp
                  2nd System: PiCorePlayer (and LMS) on Pi Zero

                  Comment


                  • Originally posted by slimhase
                    Hi sle118;
                    that is very kind.
                    I will be able to flash the new recovery, but I can do that earliest in a week.
                    (I need to hold a training starting monday and I am procrastinating the preparation for too long already.....)

                    Thanks again; I will let you know.
                    Following a recommendation on Gitter, I added a nvs parameter to disable the ESP32's wifi power save mode.

                    disable_ps=n to let the esp32 put the wifi radio in reduced power mode (default mode)
                    disable_ps=y to prevent the esp32 from using the power save mode (may help with stability)

                    Please try and report (no need to flash a different recovery).

                    There was an issue with my commit. I need to push a new one (soon). Ignore build #136 for now
                    Last edited by sle118; 2020-09-12, 21:42.
                    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
                      Following a recommendation on Gitter, I added a nvs parameter to disable the ESP32's wifi power save mode.

                      disable_ps=n to let the esp32 put the wifi radio in reduced power mode (default mode)
                      disable_ps=y to prevent the esp32 from using the power save mode (may help with stability)

                      Please try and report (no need to flash a different recovery).

                      There was an issue with my commit. I need to push a new one (soon). Ignore build #136 for now
                      I will do that.

                      Meanwhile, I had my system idle (power on, but stream on pause)
                      and teh following were the status messages:
                      Code:
                      Timestamp	Message
                      12.9.2020, 16:17:16	WiFi Connection lost
                      12.9.2020, 16:17:23	Wifi disconnected
                      12.9.2020, 16:17:32	Wifi connected
                      12.9.2020, 16:27:48	WiFi Connection lost
                      12.9.2020, 16:27:55	Wifi disconnected
                      12.9.2020, 16:28:04	Wifi connected
                      12.9.2020, 16:38:11	WiFi Connection lost
                      12.9.2020, 16:38:18	Wifi disconnected
                      12.9.2020, 16:38:26	Wifi connected
                      12.9.2020, 16:48:25	WiFi Connection lost
                      12.9.2020, 16:48:32	Wifi disconnected
                      12.9.2020, 16:48:40	Wifi connected
                      12.9.2020, 16:58:42	WiFi Connection lost
                      12.9.2020, 16:58:49	Wifi disconnected
                      12.9.2020, 16:58:57	Wifi connected
                      12.9.2020, 19:19:16	WiFi Connection lost
                      12.9.2020, 19:19:24	Wifi disconnected
                      12.9.2020, 19:19:32	Wifi connected
                      12.9.2020, 19:39:25	WiFi Connection lost
                      12.9.2020, 19:39:32	Wifi disconnected
                      12.9.2020, 19:39:40	Wifi connected
                      12.9.2020, 21:39:58	WiFi Connection lost
                      12.9.2020, 21:40:05	Wifi disconnected
                      12.9.2020, 21:40:14	Wifi connected
                      12.9.2020, 22:00:20	WiFi Connection lost
                      12.9.2020, 22:00:28	Wifi disconnected
                      12.9.2020, 22:00:39	Wifi connected
                      12.9.2020, 22:10:49	WiFi Connection lost
                      12.9.2020, 22:10:59	Wifi disconnected
                      12.9.2020, 22:11:11	Wifi connected
                      12.9.2020, 22:31:08	WiFi Connection lost
                      12.9.2020, 22:31:16	Wifi disconnected
                      12.9.2020, 22:31:24	Wifi connected
                      12.9.2020, 22:41:30	WiFi Connection lost
                      12.9.2020, 22:41:37	Wifi disconnected
                      12.9.2020, 22:41:46	Wifi connected
                      Sometimes ~10minutes, sometimes~20, sometimes over an hour - but it seems always be multiples of 10 minutes
                      LMS 8.x on RasPi4 (running along with OMV and AdGuard)
                      Player: 5 x Squeezebox Classic, Slimp3, SqueezeAmp
                      2nd System: PiCorePlayer (and LMS) on Pi Zero

                      Comment


                      • Originally posted by slimhase
                        I will do that.

                        Meanwhile, I had my system idle (power on, but stream on pause)
                        and teh following were the status messages:
                        Code:
                        Timestamp	Message
                        12.9.2020, 16:17:16	WiFi Connection lost
                        12.9.2020, 16:17:23	Wifi disconnected
                        12.9.2020, 16:17:32	Wifi connected
                        12.9.2020, 16:27:48	WiFi Connection lost
                        12.9.2020, 16:27:55	Wifi disconnected
                        12.9.2020, 16:28:04	Wifi connected
                        12.9.2020, 16:38:11	WiFi Connection lost
                        12.9.2020, 16:38:18	Wifi disconnected
                        12.9.2020, 16:38:26	Wifi connected
                        12.9.2020, 16:48:25	WiFi Connection lost
                        12.9.2020, 16:48:32	Wifi disconnected
                        12.9.2020, 16:48:40	Wifi connected
                        12.9.2020, 16:58:42	WiFi Connection lost
                        12.9.2020, 16:58:49	Wifi disconnected
                        12.9.2020, 16:58:57	Wifi connected
                        12.9.2020, 19:19:16	WiFi Connection lost
                        12.9.2020, 19:19:24	Wifi disconnected
                        12.9.2020, 19:19:32	Wifi connected
                        12.9.2020, 19:39:25	WiFi Connection lost
                        12.9.2020, 19:39:32	Wifi disconnected
                        12.9.2020, 19:39:40	Wifi connected
                        12.9.2020, 21:39:58	WiFi Connection lost
                        12.9.2020, 21:40:05	Wifi disconnected
                        12.9.2020, 21:40:14	Wifi connected
                        12.9.2020, 22:00:20	WiFi Connection lost
                        12.9.2020, 22:00:28	Wifi disconnected
                        12.9.2020, 22:00:39	Wifi connected
                        12.9.2020, 22:10:49	WiFi Connection lost
                        12.9.2020, 22:10:59	Wifi disconnected
                        12.9.2020, 22:11:11	Wifi connected
                        12.9.2020, 22:31:08	WiFi Connection lost
                        12.9.2020, 22:31:16	Wifi disconnected
                        12.9.2020, 22:31:24	Wifi connected
                        12.9.2020, 22:41:30	WiFi Connection lost
                        12.9.2020, 22:41:37	Wifi disconnected
                        12.9.2020, 22:41:46	Wifi connected
                        Sometimes ~10minutes, sometimes~20, sometimes over an hour - but it seems always be multiples of 10 minutes
                        I just pushed the new release. Give the new option a try.

                        Meanwhile, I also added a new configuration section, which allows enabling/disabling some services.

                        Click image for larger version

Name:	Screenshot_20200912-232841_Chrome.jpg
Views:	1
Size:	194.7 KB
ID:	1569820
                        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


                        • WiFi dropouts - fixed!

                          Originally posted by sle118
                          I just pushed the new release. Give the new option a try.

                          Meanwhile, I also added a new configuration section, which allows enabling/disabling some services.
                          3 Things:

                          1) I can confirm that using fw development.137 and putting disable_ps to y (in NVS tab) seems to fix my WiFi dropouts. (~1 hrs test)
                          Thanks, sle118!

                          2) Odd side-note - but not important for now: I don't have the new enabling/disabling of Telnet, Bluetooth aso services in the configuration tab (As stated, I am running development.137-SqueezeAmp4MBFl) on a SqueezeAmp

                          3) On Gitter, you have a discussion with problems of ESP radio beeing 'too loud' ('tinfoil hats').
                          I can report a potentially related problem:
                          I have 2 AP w/ the same SSID & PW in the house, so WiFi devices can pick whichever gives better reception.
                          But the SqueezeAmp always connects to the AP which was farther away - even if I erased the SqueezeAmps WiFi config and 'teached' it new.
                          It never connected to the other AP (right next to it!). I could force it by switching the AP further away off - but as soon as I switched that on again, it connected back to that one again (the one further away).

                          -> So, if you could add an option to control radio power - that would be great!


                          Thanks again for all the great work philippe44 & you (and others) are doing here!
                          (SqueezeAmp enclosed in small JBL Control1 Speakers are my daily listening device in my study)
                          Last edited by slimhase; 2020-09-13, 10:10.
                          LMS 8.x on RasPi4 (running along with OMV and AdGuard)
                          Player: 5 x Squeezebox Classic, Slimp3, SqueezeAmp
                          2nd System: PiCorePlayer (and LMS) on Pi Zero

                          Comment


                          • Originally posted by slimhase
                            3 Things:
                            2) Odd side-note - but not important for now: I don't have the new enabling/disabling of Telnet, Bluetooth aso services in the configuration tab (As stated, I am running development.137-SqueezeAmp4MBFl) on a SqueezeAmp
                            Try doing a full page refresh : CTRL+F5 in Chrome for Windows.

                            Originally posted by slimhase
                            3 Things:
                            3) On Gitter, you have a discussion with problems of ESP radio beeing 'too loud' ('tinfoil hats').
                            I think I found an explanation. See gitter for more details. In short, the wifi client will likely connect to the AP that is on the lowest channel since the connect mode is fast scan. I'll try to come up with a Wifi config section to control these parameters and see if using "full scan" rather than "fast scan" will help
                            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
                              Try doing a full page refresh : CTRL+F5 in Chrome for Windows.
                              I tried that. I even cleared my entire Browser cache - still, my Config Tab starts with
                              'Device Name
                              New Name....'
                              and nothing wrt
                              'Services
                              Telnet Server' aso
                              (maybe some residues from many, many reflashs? ->At some point, I should do a full clear & flash throu USB dongle....)


                              Originally posted by sle118
                              I think I found an explanation. See gitter for more details. In short, the wifi client will likely connect to the AP that is on the lowest channel since the connect mode is fast scan. I'll try to come up with a Wifi config section to control these parameters and see if using "full scan" rather than "fast scan" will help
                              That is really great!!
                              (The explanation / hypothesis holds also for my setup: The AP it connects to is using Ch1 and the 'nearer one' is running on Ch4 (which it ignores)
                              -> Can't wait to try out the next revision.
                              Last edited by slimhase; 2020-09-13, 15:40.
                              LMS 8.x on RasPi4 (running along with OMV and AdGuard)
                              Player: 5 x Squeezebox Classic, Slimp3, SqueezeAmp
                              2nd System: PiCorePlayer (and LMS) on Pi Zero

                              Comment


                              • Originally posted by slimhase
                                That is really great!!
                                (The explanation / hypothesis holds also for my setup: The AP it connects to is using Ch1 and the 'nearer one' is running on Ch4 (which it ignores)
                                -> Can't wait to try out the next revision.
                                It's out now. Check build #137 and follow discussion on gitter.
                                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

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