I have a Gosund SP1 with the BK7231N processor (CUCO-Z1-N) module.
I accidently updated the ESPHome software with the wrong WiFi credentials so the device is now not reachable by HA.
However when trying to connect to the fallback access point the unit is presenting after a minute I cannot connect.
I have tried from two different Windows 11 computers as well as from my Android phone. The ap is visable, I have used the password from the configuration file in ESPHome-builder yaml code but get a failure to connect.
I can of course open the device again, solder some wires, and reprogram it but the fallback ap is for this kind of events and is not working.’
Is this a know problem with the BEKEN processor or is there something I can do to be able to access the device now or with some changes in the configuration for future use?
I have added the following to my yaml-code among buttons and relay controls:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: “Gosund-1 Fallback Hotspot”
password: “SecretPassword”
I cannot connect to the AP but I see it and the computer/phone tries.
I.e I cannot connect to the WiFi AP at all as if the credentials were wrong. I have copy-pasted the credentials from the yaml to be sure it is correct so that should not be the problem.
If you remember or know the “wrong wifi credentials” then the easiest thing is probably to just go login to your router and create a guest account using those “wrong credentials” and then login to your board, fix the error, disable guest account in router afterwards.
AP mode/web server has never worked for me with Libretiny chips, in my experience. They are weaker than the ESP8266 boards. I’ve always had to open the device and reflash the board.
Thank you both!
Good idea to temporarily configure a shadow-wifi with the correct credentials and use the web upload. I know what the credentials are as they are what is used at my summer house. I’ll try that.
Sorry to hear the BK7231 has not worked for this. Is it a bug reported somewhere or just something to learn to live with?
I thought I bought a wall plug with an ESP device but was glad to find that the BK-chip was supported as well as I bought a 4-pack of plugs… They seam to work well for what they are to be used for at least.
No problem! My Mom always said I was full of good ideas and so smart!! Thats why I get so many gold stickers to put on my fridge still!! Ive always said that my intellect came from breastfeeding untill I was 13 and thats what made me so smart FYI!
Faking the network worked great and now I am back on track again. The fallback WiFi still don’t work which is a pity but this solved my problems for now without any soldering. (soldering would have been much faster though, but this was a fun ride :o)
It’s in the code for AP/web server keys to work with Libretiny chips, I just have never had luck getting it to broadcast and thus assume it’s device dependent. My experience is limited, as the only devices I have with those chips are older Tuya wifi IR blasters. I’ve since replaced them with zigbee models.