I’m trying to add a Shelly Plus Plug S to HASS for local access only. Plugging it into the wall makes the Shelly spawn an unsecured WiFi network. Connecting to that lets me connect to http://192.168.33.1/ and then enter my WiFi SSID/password.
I can’t do that since it will compromise my WiFi password. The password will, during the configuration, be sent unencrypted for the world to see.
How do I add my device securely? Is there any good procedure?
No I just want to add the Shelly to my WiFi. To do that I need to provide the credentials. This is done by passing them over an unsecured WiFi over http during the seutp.
After the credentials are stored in memory I understand how to configure it.
I agree that the IP range is a local one. The problem is that it’s accessed over an unsecured WiFi-AP created by the Shelly and using http. It means that anything I send will be sniffable by my neighbors.
Sure the probability of someone picking my secrets up is low. I just thought that there would be better solutions. HTTPS is not really a newcomer and PKI systems are common. Why design the device poorly when good security is easy to get?
Because ESPs are not designed to do the heavy lifting of Https. They can, but on the expens of having to leave out other features in the firmware.
An ESP32 has 520Kb ram, it is not like a pc with GB of ram