esp32-dali-clock icon indicating copy to clipboard operation
esp32-dali-clock copied to clipboard

About WIFI can not connect

Open 38293312 opened this issue 2 years ago • 11 comments

I like this project very much. I also bought the ESP32 WROOM-32 development board. The source code is compiled and uploaded to the development board. The TV also shows the time, but when I connect to the "ESP32 DALI CLOCK" WIFI through the mobile phone, it prompts "The network access is denied ". I used the laptop to connect to the WIFI again, but there was no prompt, but it was always in a state of being unable to connect. Please help me, thanks! cheers!

38293312 avatar Dec 29 '22 02:12 38293312

Please look at the serial monitor while connected via USB to see if there are any error messages that might help.

marciot avatar Dec 31 '22 19:12 marciot

请在通过 USB 连接时查看串行监视器,看看是否有任何可能有帮助的错误消息。

ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0030,len:1344 load:0x40078000,len:13864 load:0x40080400,len:3608 entry 0x400805f0 no config file

Brownout detector was triggered

ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0030,len:1344 load:0x40078000,len:13864 load:0x40080400,len:3608 entry 0x400805f0 no config file Running AP atESP32 Clock with IP address 192.168.4.1

38293312 avatar Jan 01 '23 04:01 38293312

@38293312: Try connecting to the AP "ESP32 Clock" and then head over to http://192.168.4.1

marciot avatar Jan 03 '23 03:01 marciot

@38293312: Try connecting to the AP "ESP32 Clock" and then head over to http://192.168.4.1

Mobile phone and computer cannot connect to the AP "ESP32 Clock"

38293312 avatar Jan 03 '23 10:01 38293312

Same here,, phone or PC fails to connect wifi.

No error messages in terminal.

PD5DJ avatar Mar 13 '23 21:03 PD5DJ

Same problem here. Using ESP32 QT Py. Latest Arduino IDE, latest board defs, all libraries updated. Generates the video fine. Generates the AP, which I can connect to. When I try to go to 192.168.4.1, nothing is returned. Tried different original architecture ESP32 boards with same results. Tried with both Chrome and Firefox browsers.

Warnings were generated during compiling regarding the use of constexpr char **. Examples:

D:\Documents\Arduino\esp32-dali-clock\esp32-dali-clock.ino:142:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] constexpr char ap_ssid = "ESP32 Dali Clock"; ^~~~~~~~~~~~~~~~~~ D:\Documents\Arduino\esp32-dali-clock\esp32-dali-clock.ino:144:28: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] constexpr char * webpage = R"rawliteral(

Is it possible that the second warning might keep the config webpage content from being generated? Thanks in advance for any suggestions.

Serial Ouput:

19:01:53.789 -> 19:01:54.178 -> �aش)Q�~Rq�)[S�8�)Ey�!Z�@�aets Jul 29 2019 12:21:46 19:02:23.379 -> 19:02:23.379 -> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) 19:02:23.379 -> configsip: 271414342, SPIWP:0xee 19:02:23.379 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 19:02:23.379 -> mode:DIO, clock div:1 19:02:23.379 -> load:0x3fff0030,len:1184 19:02:23.379 -> load:0x40078000,len:13220 19:02:23.379 -> ho 0 tail 12 room 4 19:02:23.379 -> load:0x40080400,len:3028 19:02:23.379 -> entry 0x400805e4 19:02:31.910 -> no config file 19:02:32.256 -> Running AP atESP32 Dali Clock with IP address 192.168.4.1

rubergd avatar May 07 '23 22:05 rubergd

I had a similar kind of error in that I could kinda connect to the AP but nothing loaded on 192.168.4.1 so I switched to the ESP32 Board Version 1.0.6 in the Arduino IDE and it suddenly worked just fine. I found this bug fix here https://github.com/bitluni/DawnOfAV/issues/9 and as this project and the one I linked to does use parts of @bitluni ESP32CompositeVideo I guess the bug comes from that project.

I am not sure if @bitluni or @marciot are willing to fix this but judging from their recent activity I am leaning more on us just needing to use the older board version.

Edit: I know the issue here is the WiFi and not the general video output so maybe it is just a coincidence and indeed a different error that @marciot or anyone else can fix on their own. Though I might add that I indeed had some instability in the video output using the most current board version which was also fixed by going back.

nikilase avatar Jul 25 '23 22:07 nikilase

‘Sounds good! Thanks for sharing! I’ll give it a try.

From: nikilase @.> Sent: Tuesday, July 25, 2023 6:30 PM To: marciot/esp32-dali-clock @.> Cc: rubergd @.>; Comment @.> Subject: Re: [marciot/esp32-dali-clock] About WIFI can not connect (Issue #7)

I had a similar kind of error in that I could kinda connect to the AP but nothing loaded on 192.168.4.1 so I switched to the ESP32 Board Version 1.0.6 in the Arduino IDE and it suddenly worked just fine. I found this bug fix here bitluni/DawnOfAV#9 https://github.com/bitluni/DawnOfAV/issues/9 and as this project and the one I linked to does use parts of bitluni's ESP32CompositeVideo I guess the bug comes from that project.

I am not sure if bitluni or marciot are willing to fix this but judging from their recent activity I am leaning more on us just needing to use the older board version.

— Reply to this email directly, view it on GitHub https://github.com/marciot/esp32-dali-clock/issues/7#issuecomment-1650649668 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKGOH5LXDOS7JFVJHYTPOLXSBCHJANCNFSM6AAAAAATLWVZDM . You are receiving this because you commented. https://github.com/notifications/beacon/AAKGOH62N4TJ3XS2XAVVMQ3XSBCHJA5CNFSM6AAAAAATLWVZDOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTCMLVEI.gif Message ID: @.*** @.***> >

rubergd avatar Jul 25 '23 22:07 rubergd

I just tested this project on an Adafruit HUZZAH32 Feather today using Arduino IDE 2.2.1 and I had no difficulties at all.

marciot avatar Dec 06 '23 23:12 marciot

Thanks, I'll check my updates and give it another try

rubergd avatar Dec 07 '23 02:12 rubergd

I just tested this project on an Adafruit HUZZAH32 Feather today using Arduino IDE 2.2.1 and I had no difficulties at all.

Yea, but you need to ensure the esp32 tool chain version is correct. This works for me on v1.0.6 but not 2.0.0 or higher.

M0NWY avatar Jan 09 '24 20:01 M0NWY