GithubHelp home page GithubHelp logo

Comments (13)

Solar320 avatar Solar320 commented on July 18, 2024

I can't get an connection to my ASUS Router anymore, first I thought it relies to my ESP32S3 with faulty w-lan but then I tryed it with the good ESP32S3 and there it also do not work anymore. With the old Radio there was no problem.
For some reason It is working when I connect to my MobilePhone AP.
I double checked all settings include the Password and SSID, all is correct.
The Miniradio opens an own AP when I set the password there it also do not work. Only when I use the Mobile....

Since I was not not able to find an usable method to make an flash backup from my ESP32S3 I do not have an working version now.... Also there is now an problem to compile the Backup of the old MiniradioVersion.
There is something going wrong with all the libraries... I will look tomorrow if I find an older release of the radio at github.

from esp32-miniwebradio.

clear-sky avatar clear-sky commented on July 18, 2024

Hi Dear Solar320
it is better to format your sd card to FAT32 - download latest Content_on_SD_Card.zip and extract it in your sd card
set your username and password in common.h
hope this help you!

from esp32-miniwebradio.

Solar320 avatar Solar320 commented on July 18, 2024

This doesn't change anything. I format the sdcard, copy all files on it in original. Then the Radio open up an AP and also find my router.
When I put in my password it restarts and can not connect. I also try to put my password directly into the networs.csv, no difference.

I flashed an Antenna Test tool and it instantly connect to my router and send back the signal level over serial interface.
Like I said, the old Radio version will connect without problems.
18:05:28.353 -> entry 0x403c9880
18:05:29.081 -> ...........
18:05:34.085 -> WiFi connected
18:05:34.085 -> IP address:
18:05:34.085 -> 192.168.50.25
18:05:34.085 ->
18:05:34.085 -> - Signal Level: -61
18:05:36.044 -> - Signal Level: -60
18:05:38.045 -> - Signal Level: -60
18:05:40.081 -> - Signal Level: -61
18:05:42.083 -> - Signal Level: -60
18:05:44.047 -> - Signal Level: -60
18:05:46.092 -> - Signal Level: -59

I will clean the flash and flash again, when this also do not change something I will make an Backup of the source code and clone the whole radio again from Github, and try again with an clean install.
For the first time I try to only setup the SDCARD, not PCM and no Display. I should see the Infos over the serial IF.

Clean Flash and reflashing does nothing:

00:00:00 ***************************
00:00:00 * MiniWebRadio V3 *
00:00:00 ***************************
00:00:00
00:00:00 setup: .... Arduino is pinned to core 1
00:00:00 tft_info: . init ILI9341
00:00:00 setup: .... Init SD card
00:00:00 setup: .... SD card found, 30410.3 MB by 30436.5 MB free
00:00:00 setup: .... seek for stations.csv
00:00:00 setup: .... stations.csv found
00:00:00 setup: .... seek for WiFi networks
[ 1551][I][WiFiMulti.cpp:84] addAP(): [WIFI][APlistAdd] add SSID: mySSID <--- what is this?
[ 1560][I][WiFiMulti.cpp:84] addAP(): [WIFI][APlistAdd] add SSID: ZTE BLADE V8 <---Phone network
00:00:06 setup: .... 2 WiFi networks found
00:00:06 setup: .... MyNetwork (-53) <-----------My ASUS Router (Renamed)
00:00:06 setup: .... A1-4a9861 (-76)
[ 8774][I][WiFiMulti.cpp:114] run(): [WIFI] scan done
[ 8775][I][WiFiMulti.cpp:119] run(): [WIFI] 1 networks found
[ 8776][E][WiFiMulti.cpp:191] run(): [WIFI] no matching wifi found!
00:00:07 WiFI_info: WiFi credentials are not correct <-------I input the PW 100 times, it do not work. But into test Program it
is working!
00:00:07 RECONNECTION try 1
[ 8793][I][WiFiMulti.cpp:84] addAP(): [WIFI][APlistAdd] add SSID: mySSID <---what is this?
[ 8802][I][WiFiMulti.cpp:84] addAP(): [WIFI][APlistAdd] add SSID: ZTE BLADE V8

The I open up my Hotspot and connect by put in my Hotspot password:

00:01:30 setup: .... connected to ZTE BLADE V8, IP address is 192.168.43.206
[ 17346][I][ArduinoOTA.cpp:141] begin(): OTA server at: MiniWebRadio.local:3232
00:01:30 ftpServer: Buffers allocated: 4622 bytes
00:01:30 rtime_info: Initializing SNTP
01:01:30 rtime_info: Waiting for system time to be set... (1/10)
01:01:32 rtime_info: Waiting for system time to be set... (2/10)
18:25:50 rtime_info: 18:25:50
18:25:50 audiotask: is pinned to core 0
18:25:50 audiotask: priority is 2
18:25:50 AUDIO_info: commFMT = Philips
18:25:50 setup: .... Number of saved stations: 14
18:25:50 setup: .... current station number: 5
18:25:50 setup: .... current volume: 8
18:25:50 setup: .... last connected host: http://server4.streamserver24.com:26237/stream
18:25:50 setup: .... connection timeout: 1000 ms
18:25:50 setup: .... connection timeout SSL: 2500 ms
18:25:50 action: ... switch to station 5
18:25:50 AUDIO_info: Connect to new host: "http://server4.streamserver24.com:2199/tunein/hitradio.asx"
18:25:50 AUDIO_info: PSRAM found, inputBufferSize: 638965 bytes
18:25:50 AUDIO_info: buffers freed, free Heap: 150136 bytes
18:25:51 AUDIO_info: Connection has been established in 433 ms, free Heap: 149080 bytes
18:25:51 AUDIO_info: Filename is playlist.asx
18:25:51 StationName: radioSKW - Einfach gute Musik
18:25:51 AUDIO_info: StationName: "radioSKW - Einfach gute Musik"
18:25:51 StationName: radioSKW - Einfach gute Musik
18:25:51 AUDIO_info: StationName: "radioSKW - Einfach gute Musik"
18:25:51 AUDIO_info: Connect to new host: "http://server4.streamserver24.com:26237/stream"
18:25:51 AUDIO_info: buffers freed, free Heap: 149384 bytes
18:25:51 AUDIO_info: Connection has been established in 151 ms, free Heap: 149276 bytes
18:25:52 bitRate: 192Kbit/s
18:25:52 bitRate: 192Kbit/s
18:25:52 icy-descr: Livestream
18:25:52 StationName: radioSKW
18:25:52 icy-url: .. http://144.76.84.153/stream/radio.pls?mp=/stream
18:25:52 AUDIO_info: MP3Decoder has been initialized, free Heap: 147132 bytes , free stack 4936 DWORDs
18:25:52 lastURL: .. http://server4.streamserver24.com:26237/stream
18:25:52 AUDIO_info: stream ready
18:25:52 AUDIO_info: syncword found at pos 0
18:25:52 AUDIO_info: Channels: 2
18:25:52 AUDIO_info: SampleRate: 44100
18:25:52 AUDIO_info: BitsPerSample: 16
18:25:52 AUDIO_info: BitRate: 192000
18:25:52 StreamTitle: Silbermond - Für dich schlägt mein Herz
18:25:52 WiFI_info: RSSI is -44 dB
18:25:52 Audiocodec: MP3
18:25:52 ftpServer: Ftp server waiting for connection on port 21
18:25:53 BT-Emitter: KCX_BT_Emitter not found
18:25:58 DLNA_server: 0 media server found
18:26:30 WiFI_info: RSSI is -52 dB
18:26:31 WiFI_info: RSSI is -46 dB
18:26:41 WiFI_info: RSSI is -51 dB

Now I do the Backup and use an clean copy of the SourceFiles: in work......

I flashed the actual code without to setup the display. I only setup the SDcard speed to 20Mhz, it is not able to work at higher speed! (May has to do with the wild wiring)

I restart connect the AP and choose the SSID and put in my password to the radios website.
Ok, it looks like that the Radio has an problem with my SSID.

00:01:37 setup: .... 2 WiFi networks found
00:01:37 setup: .... AndBwerC123 (-53) I changed the Name but it has the same structure
00:01:37 setup: .... A1-4a9861 (-72)
[ 8801][I][WiFiMulti.cpp:114] run(): [WIFI] scan done
[ 8801][I][WiFiMulti.cpp:119] run(): [WIFI] 1 networks found
[ 8802][E][WiFiMulti.cpp:191] run(): [WIFI] no matching wifi found!
00:01:38 WiFI_info: WiFi credentials are not correct
00:01:38 RECONNECTION try 1
[ 8820][I][WiFiMulti.cpp:84] addAP(): [WIFI][APlistAdd] add SSID: mySSID
[ 8829][I][WiFiMulti.cpp:84] addAP(): [WIFI][APlistAdd] add SSID: AndBwerC123 <<<-------------how can this be too long
[ 8840][E][WiFiMulti.cpp:55] addAP(): [WIFI][APlistAdd] no ssid or ssid too long <<<----?????
[ 8842][E][WiFiMulti.cpp:55] addAP(): [WIFI][APlistAdd] no ssid or ssid too long
[ 8854][E][WiFiMulti.cpp:55] addAP(): [WIFI][APlistAdd] no ssid or ssid too long

AndBwerC123 11 digits
ZTE BLADE V8 12 digits inclusive free spaces.

Strange:

I wait for the AP, connect to it enter my mobil phones Hotspot data and the webradio instantly connecting and playing music....
The W-lan Channel is "1" at my ASUS Router I tryed 12 and channel 13. Next I try channel 1, may be there is something wrong with the WIFI country version?!?! Or some Bug with the SSID...

I also can use the IP or minwebradio to connect from mobile Phone to the radio, I can change anything over the website.

8794][I][WiFiMulti.cpp:114] run(): [WIFI] scan done
[ 8794][I][WiFiMulti.cpp:119] run(): [WIFI] 2 networks found
[ 8795][I][WiFiMulti.cpp:160] run(): [WIFI] Connecting BSSID: B0:C1:9E:9E:8F:F0 SSID: ZTE BLADE V8 Channel: 1 (-44)
[ 9786][I][WiFiMulti.cpp:174] run(): [WIFI] Connecting done.
00:02:29 WiFI_info: Connecting WiFi...
00:02:29 WiFI_info: mDNS name: MiniWebRadio
00:02:29 setup: .... connected to ZTE BLADE V8, IP address is 192.168.43.206
[ 9820][I][ArduinoOTA.cpp:141] begin(): OTA server at: MiniWebRadio.local:3232
00:02:29 ftpServer: Buffers allocated: 4622 bytes
00:02:29 rtime_info: Initializing SNTP
01:02:29 rtime_info: Waiting for system time to be set... (1/10)
19:37:21 rtime_info: 19:37:21
19:37:21 audiotask: is pinned to core 0
19:37:21 audiotask: priority is 2
19:37:21 AUDIO_info: commFMT = Philips
19:37:21 setup: .... Number of saved stations: 14
19:37:21 setup: .... current station number: 1
19:37:21 setup: .... current volume: 21
19:37:21 setup: .... last connected host: http://0n-80s.radionetz.de:8000/0n-70s.mp3
19:37:21 setup: .... connection timeout: 1000 ms
19:37:21 setup: .... connection timeout SSL: 2500 ms
19:37:21 action: ... switch to station 1
19:37:21 AUDIO_info: Connect to new host: "http://0n-80s.radionetz.de:8000/0n-70s.mp3"
19:37:21 AUDIO_info: PSRAM found, inputBufferSize: 638965 bytes
19:37:21 AUDIO_info: buffers freed, free Heap: 149564 bytes
19:37:22 AUDIO_info: Connection has been established in 349 ms, free Heap: 148300 bytes
19:37:22 icy-logo: https://www.0nradio.com/logos/0n-70s_600x600.jpg
19:37:22 bitRate: 128Kbit/s
19:37:22 bitRate: 128Kbit/s
19:37:22 icy-descr: Von Disco über Reggae und Schlager bis hin zum Rock. Das sind die Hits der 70er.
19:37:22 StationName: - 0 N - 70s on Radio
19:37:22 icy-url: .. http://www.0nradio.com
19:37:22 AUDIO_info: MP3Decoder has been initialized, free Heap: 147348 bytes , free stack 5076 DWORDs
19:37:22 lastURL: .. http://0n-80s.radionetz.de:8000/0n-70s.mp3
19:37:22 WiFI_info: RSSI is -45 dB
19:37:23 Audiocodec: MP3
19:37:23 ftpServer: Ftp server waiting for connection on port 21
19:37:23 BT-Emitter: KCX_BT_Emitter not found
19:37:24 AUDIO_info: stream ready
19:37:24 AUDIO_info: syncword found at pos 0
19:37:24 AUDIO_info: Channels: 2
19:37:24 AUDIO_info: SampleRate: 44100
19:37:24 AUDIO_info: BitsPerSample: 16
19:37:24 AUDIO_info: BitRate: 128000
19:37:24 StreamTitle: Tina Charles - I Love To Love
19:37:29 DLNA_server: 0 media server found

from esp32-miniwebradio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.