A proof of concept was created, without a wireless sensor network. All components (nodes) of the proposed sensor network were integrated on a single perforated circuit board.
Local network (WiFi)
A local hotspot is created when the device boots, which hosts a device config portal at 192.168.1.1.
Can connect to other internet-enabled wifi networks. The authentication of the WiFi network is set using the device config portal using the captive Access point discussed above.
Other devices connected to the same network can connect to SmartSwitch using the mDNS hosted local address smartswitch.local
A simple client-side web app was built on Firebase Hosting and a free MQTT provider.