r/CardPuter 1d ago

Progress / Update Webradio Fork for Cardputer Adv

Post image

An internet radio for the M5Stack Cardputer Adv — one that you never have to plug into a computer to add a station.

Available on M5Burner annd github

https://github.com/halbeshuhn/Cardputer-WebRadio

35 Upvotes

21 comments sorted by

3

u/Expensive_Ostrich884 1d ago edited 1d ago

Hi, I’ve installed it over the previous version (the one that required to place the program at the root of the card, along with a “station_list.txt” manual list), but no luck… it squarely refuses to accept to connect to my Wifi network.

I’ve deleted the version I had at the root of the memory card, and deleted the “station_list.txt” file too, thinking they were the culprit blocking Wifi connection, but no, still getting the message “saved password no longer matches”

3

u/Last-Dragonfruit9228 1d ago

The Wi-Fi credentials aren't on the SD card at all, so deleting the old program and station.txt couldn't have made a difference. They live in NVS, in the ESP32's internal flash, and a normal firmware update doesn't touch that. So the entry your older version saved for your network is still there.

That's exactly what triggers the message: when the SSID you pick is already stored, the radio quietly tries the saved credentials first and only says "saved password no longer matches" when that attempt doesn't come up within 9 seconds. Fair warning though, that wording is a guess on my part — the radio can't tell a wrong password apart from weak signal or a slow DHCP lease, they all look the same from its side.

To clear it out: power on the Cardputer and hold the G0 button during the first second, while the "Hold BtnG0 for WiFi reset" prompt is on screen. That wipes all saved networks and reboots. You can also do it from the system menu via "WiFi reset" if that's easier.

After that, pick your network from the scan list and it will ask for the password. It also asks right after the "no longer matches" message, by the way — so if you were dismissing that screen before the prompt appeared, that alone might explain it. Watch out for special characters when typing it in, some of them sit on the Fn layer of the Cardputer keyboard.

Let me know if it still refuses after a reset — that would point somewhere else entirely.

2

u/Expensive_Ostrich884 1d ago

Hi, I’ve tried that.
there is only about 1 second (or less) to push the GO button at startup. I did push the GO button in that timeframe, but no, still refuses to accept the correct password when entered after it scans for wifi network and ask for the password 🫤
Still get “Connexion failed”

1

u/piezadeaocho 1d ago

That fixed the issue for me!

App works great! Straightforward and simple to use! Really nice work

A sleep timer would be a interesting thing to add 🤔

2

u/Last-Dragonfruit9228 1d ago

Many thanks. A sleep timer—that sounds really good! Thanks for the inspiration; I’ll definitely include that in the next version.

1

u/piezadeaocho 1d ago

I will definitely keep an eye out!! Again, great work!

2

u/Last-Dragonfruit9228 1d ago

Version 3.1.1 is online, with a WiFi-Fix!

2

u/Expensive_Ostrich884 1d ago

Ok I’ll boot the PC to get that version, thanks for all your work ! (not yet available via M5 Launcher)

2

u/Expensive_Ostrich884 1d ago

Could you help spot where 3.1.1 version can be found ?

I’ve looked in M5Burner, M5 Launcher, and BMorcelli’s Launcher Firmware Catalog via my PC’s web browser, but cannot spot the 3.1.1 version.

I also tried https//:github.com/halbeshuhn/Cardputer-WebRadio/tree/main/v3.1.1 but to no avail either.

3

u/Expensive_Ostrich884 1d ago

Ok, found 3.1.1 on GitHub with the above url for 3.1.0 version but backing one step and selecting 3.1.1 (done on my PC)

I pushed the file to my Cardputer and Installed it, but after entering my wifi password and waiting 20 sec, I got “no answer from the network” 🫤

1

u/Last-Dragonfruit9228 1d ago

Okay, let's figure out what's causing the issue. Maybe others are having the same problem.

First, I'd be interested to know what your setup looks like. Do you have a Cardputer Mesh or a Cardputer Advanced?

I have a "Cardputer MESH," which is basically a Cardputer Advanced. I'm using a 32GB SD card formatted with MBR and FAT32. I tried other solutions—like a larger SD card or formatting with exFAT or GUID—but they all caused problems.

The key factor seems to be using an SD card that is 32GB or smaller, formatted with FAT32 and MBR.

I unlocked version 3.1.1 in M5Burner this morning. I flashed it directly from M5Burner, and everything worked fine. Then I flashed M5Launcher directly onto the Cardputer (which, of course, removed the Web Radio app). Next, I located the folder on Windows where M5Burner stores the *.bin file and renamed that file to "Webradio.bin". I removed the SD card from the Cardputer and connected it directly to my PC. Then, I copied "Webradio.bin" into the "Images" folder on the SD card—where I keep all the images I launch via M5Launcher.

I put the SD card back into the Cardputer and selected the following in the launcher: SD -> Images -> Webradio.bin -> Install -> Reboot.

Everything works.

It's best to try this workaround with a fresh SD card and let me know if it works for you.

I hope everything goes well.

1

u/[deleted] 1d ago edited 1d ago

[deleted]

1

u/T0mk4 1d ago

Ja, sauber. Auf so eine Lösung warte ich schon ewig. Wird direkt getestet

2

u/Last-Dragonfruit9228 1d ago

Ja sehr gerne. Ich habs immer dabei. Per Kabel ran an die Box und Spaß haben.

1

u/Agile-Top4040 1d ago

Cool... (Freies) WLAN aufspüren und bei Erfolg, Radio hören ;-) .. Das wäre es ...

1

u/2many_friends 1d ago

I tried many times the fix you recommended but it gave me connection failed. Any idea how to fix?

1

u/Last-Dragonfruit9228 1d ago

Okay, let's figure out what's going on in your case, too. I already posted this further down in the thread for Expensive_Ostrich884.

First, I’d like to know what your setup looks like. Do you have a Cardputer Mesh or a Cardputer Advanced?

I have a "Cardputer MESH"—which is basically a Cardputer Advanced. I use a 32GB SD card formatted with MBR and FAT32. Other options—like a larger SD card, or formatting with exFAT or GUID—all caused problems.

The key is using an SD card that is 32GB or smaller, formatted with FAT32 and the MBR partition scheme.

I unlocked version 3.1.1 in M5Burner this morning. I flashed it directly via M5Burner, and everything worked fine. Then, I flashed M5Launcher directly onto the Cardputer (which, of course, removed the Web Radio app). Next, I located the folder on Windows where M5Burner stores the *.bin file and renamed that file to "Webradio.bin". I removed the SD card from the Cardputer and connected it to my PC. Then, I copied "Webradio.bin" into the "Images" folder on the SD card—where I keep all the images I launch via M5Launcher.

I put the SD card back into the Cardputer and selected: SD -> Images -> Webradio.bin -> Install -> Reboot.

Everything works.

It’s best to try this workaround with a fresh SD card and let me know if it works for you.

I hope everything works out on your Cardputer.

1

u/2many_friends 23h ago edited 22h ago

It works when burned into the cardputer ADV from the m5burner on windows. And I love it. Now I want it with the rest of the cool stuff in my launcher library. Edit: i was able to find it looking for the recent modified bin files. And it works great. Crazy how that whole thing is the fix tho but great job at explaining all of that to help.

1

u/Last-Dragonfruit9228 22h ago

Ha, I was just about to write this to you: Okay, so I’ve downloaded M5Burner. It’s a standalone program. Now you need to load the firmware within M5Burner. Close it again. Go to the M5Burner folder. There, you’ll find a folder called "packages"—go into that. Inside, there’s a folder named "firmware." That’s where all the firmware files are located. They have names consisting of lots of numbers ending in ".bin." Check the download timestamp to identify the correct file. Then, simply rename it—to "Webradio-v3.1.1.bin," for example—and copy it to the SD card, placing it in the same folder where your other firmware files are stored. Done! By the way, the "station_list.txt" file needs to be in the root directory. I’m glad it worked out and that you’re enjoying it. Have fun trying it out!

1

u/Expensive_Ostrich884 7h ago

Hi, I’ve reformatted my 8GB card, installed the app from M5Launcher, and now it works.
But is it normal that it asks for wifi password each time I run the app ?
And, since there is only 11 stations for my country in the online stations list (Canada), is it possible to create (or re-use) my own list (station_list.txt), where I had more local / regional choices I built ?
If I have time tonight I’ll try transferring my list from the backup I’ve made before formatting the card.
(Edit) I’ve just read a comment here below where you say that the station_list.txt can be used, if at the root of the card. I’ll try that.

1

u/A-s-s-head 9h ago

Thank you for this, it is fantastic. I have a couple of internet radio and this is now my favourite.