Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wifi setting #23

Open
vipelz opened this issue Sep 17, 2022 · 3 comments
Open

wifi setting #23

vipelz opened this issue Sep 17, 2022 · 3 comments

Comments

@vipelz
Copy link

vipelz commented Sep 17, 2022

hello first of all thank you for this amazing project !!
after a few hours I recorded some videos !!
and I'm a real newbie ...

I would like to take a long time lapse video (about 6 months) and replace the battery every few days (7 or more is better).
but i don't know how to connect with wifi ..
I'm trying with version 60:
with my windows pc I can see the wifi "desklens_c4" appears but i can't connect to it (Windows say wrong password.. I thought it was mrpeanut)

  • if I change in config.txt the ssid name should change the wifi name?

  • maybe i should use this config with version 60?
    https://github.com/jameszah/ESP32-CAM-Video-Recorder-junior/blob/master/v58/config.txt

  • also how can I have the wifi always on? Sorry but I do not understand among this option which one is good for me:
    "3 // 0 no internet, 1 get time then shutoff, 2 streaming, using wifiman, 3 for use names below default off, 4 names below default on"

sorry for all this question but I'm a really newbie guy.
again thank you very much sir for this great project !!

  • When you want could you please do a little tutorial about the wifi? thank you
@jameszah
Copy link
Owner

You can read more about version 60 over at

https://github.com/jameszah/ESP32-CAM-VideoCam

There you can install the pre-compiled version and not worry about the code. There are "lengthy install and operations instructions"

You can start it with an empty sd card, then it will write a config.txt, and then you can edit it -- i think it is the same as 58.

That "desklens_c4" name is in AP mode (no router involved - the esp32 doesn't connect to the internet - just your phone/computer) - the password is a hash of the mac address and shows on your serial monitor -- should look something like this:

https://github.com/jameszah/ESP32-CAM-RocketCam/blob/main/appass.png

Edit in you actual ssid and password, and then it will work through your router -- no more desklens_c4.

That "3//0 no internet" is old code to do a more general version, rather than the specialized version for that application. Just use the config.txt file to set an ssid/password for station mode, or an automatic ssid (desklens_c4) and hash password (2-gcf.....) for ap mode.

Regarding the 6 months thing - you should close the video - which writes the index - every 8 or 24 hours or so, and paste the little videos together at the end. If you lose power, the video will be there on the sd, but there will be no index and it will be hard to deal with in your video editor. And then when the esp32 reboots it will start a new video.

Many versions ... little documentation.

@vipelz
Copy link
Author

vipelz commented Sep 17, 2022

I just reset all and reinstall the pre-compiled so I was able to start wifiman and connect it to internet.
Now I'd like to put it in access point mode.
how can I put it in access point mode?

you are really very kind.
Thank you

@vipelz
Copy link
Author

vipelz commented Sep 17, 2022

Ok I found it here is my Config.txt :

ap // ssid wifi name

desklens  // camera name
11  // framesize  11=hd
3600  // ogni ora fa un video length of video in seconds
60000  // ogni minuto fa un frame interval - ms between recording frames 
1  // speedup - multiply framerate 
0  // streamdelay - ms between streaming frames
GMT // timezone
ap  // ssid wifi name
mrpeanut  // ssid password

thanks a lot man!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants