Replies: 32 comments 2 replies
|
could be wifi, be certain no power cords are covering the little antenna, and you can try to remove the output_power in wifi settings and see what that changes wifi: maybe it's not needed with waveshare's modules 🤷🏼♂️ |
|
Quick update. I changed Before closing the issue I'd like to experiment with setting the |
|
you should check that cables inside the box isn't around the antenna, that would cause bad connection |
|
Alright. When you say "around" the antenna, do you mean covering the antenna? Because it neatly loops around the antenna I thought it could create a tiny magnetic field or whatever and folded the wires over to the DAC. |
|
yeah that looks like it's nicely avoiding covering the antenna, one of mine i used tape to hold thee cables together but that there looks neat enough |
|
I also experienced some occasional dropouts and figured out WiFi signal was really weak. |
|
which version of the device?, some of them uses high performance wifi settings, if they do you can spot this in the yaml: rem out the last line and test (or add and test if you didn't have that line) |
|
Was about to order the same components (in the US though). So is the issue weak wifi or is this just not a capable device overall? I'm looking to retrofit in-ceiling speakers with SendSpin for Music Assistant abilities. |
|
I've got multiple Waveshare ESP32-S3 running: amazon link |
|
Quick update: With an ESP32-S3 ETH working much better, regarding ethernet connection but still not usable for relaiable music playing. |
|
I got ESP32-S3-Zero with a W5500 module up and running. But I am getting the same drop outs as you I assume. So you think it has to do with the bandwidth (e.g. better if you drop the quality of music)? Is wifi working for you just fine? I am going to switch to wifi right now to see if I no longer have these issues. |
|
Just tried over wifi and yeah, perfect audio. No cut outs like observed over ethernet. Is there a way to debug this? Would love to fix it for everyone to enjoy smooth wired audio. Where would I log an issue? Music Assistant? ESPHome? SendSpin? Here...? |
|
Could you guys check the signal strength you're getting over wifi? My offenders are at around -70dBm to -74dBm. My HA Voice (which is furthest from the router) gets -61dBm so coveraged for all other devices is fine. You can add this to the config. Thanks in advance :) sensor:
- platform: wifi_signal
name: "WiFi Signal dB"
id: wifi_signal_db
update_interval: 60s
entity_category: "diagnostic" |
|
sendspinzero-button in bathroom-70 dBm, sendspinzero-display in this room -48 dBm, both plays perfect 👌 |
|
Have you had it playing for an extended period of time? like 10-20 minutes? Also, I just noticed that
What it defaults to for the s3-zero I don't know. I still have it at 20dB across all devices. Do you have your router (and potentially additional access points) set to 100% wifi output power? I did order some mesh repeater for my fritz!box which arrive tomorrow. Hope this improves things for me. |
Did you solder the W5500 pins directly to the ESP32? I used jumper cables and a breadboard, which might be part of the issue (but I wanted to test before soldering 😅). Yes WiFi worked for me just fine, except the dropouts. I'm not an expert in this, but I think with ethernet connection there might be a bandwidth problem in the ESP32's SPI bus. Got a WiFi repeater now, but I was not able to fully test playing music for a couple of hours yet. |
|
from https://esphome.io/components/ethernet/: If your Ethernet board is not designed with the microcontroller built in, it's common to attempt to use flying leads, dupont wires, etc. to connect the Ethernet controller. This approach is likely to fail, however, as the Ethernet interface uses a high frequency clock signal that will not travel reliably over these types of connections. |
|
over a hour since i started playing and not a single drop, even tried syncing with 5 other players in that time and still playing.. if using same hardware and same yaml the main things that could cause issues is of course how it's put together and the build quality of the esp32-s3 zero which im sure can vary as quality control isn't a big thing over there. tweaking all sorts of setting is a bandaid, some might help but the original issue is still there and you end up spending hours tweaking someting that should even need tweaking 🤷🏼♂️ |
|
Based on my Picture above, I moved all cables over to the DAC yesterday (i really bunched them together so none are in the left side of the casing) and closed the the box. I really don't want to re-solder anything but would love to test a "naked" esp at the exact same spot to see if there's really that much of a difference (don't have one spare). That said, it's somewhat well known that the wifi antenna/module isn't the best and I am also considering this mod Tomorrow I'll see if the additional Access Points make a noticable difference. |
|
-55dB for my wifi test speaker. I first had everything on dupont connections to verify it powered on, connected, etc. Once I heard it playing some music I soldered all the wiring. I see the warning ESPHome has for such connections, but confused because even soldered I am still having issues. I am wondering if it's clock speed related. The default is Btw |
|
Switching the SPI from the default |
I'm very new to micro-controller stuff and I have no idea what this even means. If so, would you be so kind and share what you have configured now? :) Edit: |
Change the clock_speed to |
|
Oh. You where still talking about the the W5500. No I understand :) As a side-note. This has way less extreme interrupts and only short cuts every 30-60 sec. Before, playback would literally stall for 30 seconds and longer and give me 0.5 sec audio chunks every now and again. The 10dB output-power results in the same measured dBm (maybe +1 or +2). Still waiting for my repeaters to arrive (: |
|
Ah my apologies, yes, I am trying to get ethernet working so I don't have to worry about wifi signal strength. Btw I don't want to start a new thread but @RealDeco have you seen that ESPHome has an audio DAC section? It seems to list a few options in the GUI like 32bit for the sound. Curious if that will help since I know your SendSpinZero configs all do the highest FLAC quality. Any way to migrate your config to this? It requires an i2c component, but that conflicts with what we already have setup. Just curious if you saw this or tested it. Sorry, I'm brand new to ESPHome. |
|
Quick update. On the day where everything worked really well, in the evening it all fell apart again without me changing anything. The next day in the morning I've set the channel to be fixed at 6. In the evening I've added my new mesh-repeaters (still fixed channel) and reduced signal strength to 50% on the router and repeaters. I'm not really sure what to make of this as -76dBm is really bad (generally speakign) and I had really bad behaviour with -68dBm which is obviously better. |
|
Update on my end too: Seems ethernet still cuts out. It's weird, but definitely feels like a software/firmware issue. The hardware is more than capable of doing it. I think it's some handshake anomalies. I may go back to wifi for the time being... Are you not observing better dB levels with your repeaters? Make sure you wire those new repeaters for the best outcome. Don't let them just connect via wifi to the main AP. |
Sadly can't do that but yes, dB levels are better. Right now I'm pretty happy with it all though :)
While I'm not part of the hype-train in regards to AI, sometimes usefull stuff comes out of it. |
|
I went back to stock yaml config from RealDeco. What ended up fixing (for ethernet anyway) was: Worth a try for you as well! Check your logs to see if you had the same issues as the thread I found that suggested in: https://community.home-assistant.io/t/my-esp32s3-pcm5102a-dac-media-player-doent-work/999827/26 Just had a two hour 16-bit FLAC playing with zero drop out/stutter. 🤞 |
I just tried the setting with my ESP32-S3-ETH: I only experience a few seconds of stuttering when starting the playback initially or after Pause/Play. Just checked the logs I saved earlier, the issue in the thread you linked, seems to be the same I had: |

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
First of, thanks for the project. Really appreciate it :)
I built 3 Sendspin_Zero-NO_Display-Analog.
Sadly I have constant dropouts. Best "streak" was 2-3 min. of uninterrupted playback across a few days of trying.
Right now they play for about 20-30 seconds before the start chugging and eventually completely dropping out for like 30 seconds.
It's really rough.
A few noteworthy things:
Here the zero was essentially right next to my router again (but connected via low power usb)
esp-web-tools-logs.txt
Not sure if here is even the right place to open the issue but I gotta start somewhere :)
Edit:
What I bought to build the three.
https://www.amazon.de/dp/B0CR2RH7PS
https://www.amazon.de/dp/B0GCK53SKK
All reactions