Search found 3 matches

by nikkio
Wed Jun 28, 2023 8:46 am
Forum: ESP32 Arduino
Topic: Phone detection through WiFi
Replies: 2
Views: 3473

Re: Phone detection through WiFi

I have now moved the off-switch in a timer so that AP managing can be done independently
this code will keep the led on for 20 seconds after last connection has been detected
#include <WiFi.h>

const char* ssid = "lightSwitcher"; // Name of the Wi-Fi network
const char* password = "turnOnTheLight ...
by nikkio
Wed Jun 28, 2023 8:21 am
Forum: ESP-IDF
Topic: Esp32S3 : Question concerning Wifi AP connection
Replies: 2
Views: 2212

Re: Esp32S3 : Question concerning Wifi AP connection

If I understand correctly, you start softAP only at setup?
If so, I suggest to check after a while:

Code: Select all

 if (WiFi.softAPgetStationNum() = 0) {
 WiFi.softAPdisconnect();
 }
(?)
I'm not an expert, just starting to play around...
by nikkio
Mon Jun 26, 2023 11:49 am
Forum: ESP32 Arduino
Topic: Phone detection through WiFi
Replies: 2
Views: 3473

Phone detection through WiFi

Good mornig community, I am a beginner with DIY projects and I hope you can help me with the following...

Problem:
At the moment I have a garage light that is driven by an IR sensor, in some places the sensor does not detect me so the light goes out.
My idea:
I want the light to be switched on by ...

Go to advanced search