So I have several ESP devices, Shelly, etc.. connected via WiFi to a hidden SSID and integrated with Home Assistant. When trying to connect the athom mini relay switch to my WiFi (with hidden SSID) it does not connect. Is there a way to do this or am I missing something?
Success! Athom Smart Plug V2 on Hidden SSID Download latest YAML for your device and insert your WiFi details:
* ssid: !secret wifi_ssid
* password: !secret wifi_password
* static_ip: 192.168.XXX.XXX
* gateway: 192.168.XXX.XXX
* subnet: 255.255.255.0
* dns1: 192.168.XXX.XXX
* dns2: 192.168.XXX.XXX
* domain: ".your.internal.domain"
* fast_connect: on
You can also add the OTA and AP authentication
* api: * encryption: * key: !secret encryption_key * ota: * password: !secret ota_password
Build the BIN offline: In Home Assistant ESPHome, Add a New Device of any Type. Edit the Config File and paste your modified device YAML with your WiFi settings Install > Manual Download > Legacy Format Transfer your custom BIN file and the prerequisite ESP8266_MINI.BIN file (If you try to OTA your custom BIN it will fail > Not Enough Space) First, OTA the ESP8266_MINI.BIN via the device dashboard. Then, reconnect to the device and browse to http://192.168.4.1/update OTA your custom BIN. Done.
I have also found Hidden SSID's to be a problem. If I unmask the SSID the device will join, but once the SSID is hidden again the Athom Plug will Factrory Reset. Are we able to push a complete config with WiFi settings to the Athom, (as per other ESP32 devices that connect to my Hidden SSID), while retaining all of the devices current features?