rzeldent / esp32cam-rtsp

Simple RTSP (streaming image) server for the ESP32CAM. Easy configuration and monitoring through the web interface.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do I set WIFI SSID and Password before Firmware is uploaded?

AntDX316 opened this issue · comments

00:48:31.285 > AP password was not set.
00:48:31.285 > WiFi SSID was not set.
00:48:31.288 > Will stay in AP mode.

If I can configure it myself, I wouldn't have any issues as it should work??
How is the RTSP URL generated?

commented

Apparently you managed to get to the setup page. You have to set/change the password for the SSID otherwise it is not saved.
More information about setting the configuration can be found at: https://github.com/prampec/IotWebConf.

You can of course modify the code to hard code an access point. See https://docs.arduino.cc/tutorials/uno-wifi-rev2/uno-wifi-r2-web-server-ap-mode/

Apparently you managed to get to the setup page. You have to set/change the password for the SSID otherwise it is not saved. More information about setting the configuration can be found at: https://github.com/prampec/IotWebConf.

You can of course modify the code to hard code an access point. See https://docs.arduino.cc/tutorials/uno-wifi-rev2/uno-wifi-r2-web-server-ap-mode/

How do I do that through PlatformIO?

What file do I edit?

edit, nvm I just had to connect to that WIFI SSID instead

commented

Hi ant,

You can remove all the wifi configuration code and just use:

WiFi.begin("ap", "pw") to connect to your accesspoint.