I am new to IoT. I want to connect multiple smartphones (simultaneously) to single IoT device (chipset), wirelessly, but without internet.
I want to turn on/off some electric device (for example, a fan). which hardware should I use?
Internet of Things Stack Exchange is a question and answer site for builders and users of networked sensors and control devices in the contexts of smart homes, industry automation, or environmental sensors. It only takes a minute to sign up.Sign up to join this community
This is a pretty broad question, and depends a lot on your use case.
As @jsotola wrote, you could have your device generate a Wi-Fi network to which the phones would connect. No app needed, but may be slightly cumbersome to configure, especially if you have security. A QR code or NFC tag for automated Wi-Fi config may help. Or you could have an app that will help configuration. Of course, it's problem if the phones need to be connected to another Wi-Fi network.
Or you could use BLE. This requires an app to be installed on the phones, but then the app can discover your device and connect to it without the user having to do anything in the phone's config. Be aware that even though most chips that support BLE have the hardware capability to support multiple clients, some BLE stacks do not manage that well.
Note that you mention "lights" initially, then go on writing about switching electric devices on/off. This can raise a lot of security issues (like setting your place on fire), so unless you really know what you are doing, you're better of buying some sort of smart switch off the shelf. There are quite a few supporting either Wi-Fi or BLE.
If you have multiple devices to control, I would probably go for Zigbee, though that will require a gateway, and possibly a separate AP.