Esp32 install and use as presence detector

hello all, ive tried all week long and watched every possible you tube video on how to install and use esp32 as presence detectors in my rooms, im having trouble with the wifi settings. itll see it but when i look at the logs it ignores it and keeps scanning, says looking for wifi network. i guess i need someone to explain to me how to install, from A to Z, thank you

Are you using ESPHome? Or some other software? You haven’t given us much to go on.

sorry for the late reply, esp home and espresence, dont know if i need to do both or one or the other