I was preparing to flash ESPHome on another Kuled WiFi Switch, Model KS-602S, and discovered the programming pins are different than prior switches of the same model:
Can you provide a clear picture of the chip on the pcb. Google search shows that they’ve replaced with beken, you might still have esp if it’s from old stock
The chip is a Bekin BK7231N. I bought six of the switches at the same time. The first four were ESP82xx and I flashed ESPHome binaries to them just fine. So today I opened the last box (they come in pairs) an found something different.
I found a program: BK7231 Easy UART Flasher at Elektroda.com that is, as I understand it, supposed to flash Tasmota on the device.
Can anyone shed some light on this chip? All of the tutorials I can find deal with a module based on this chip, but this switch has the bare chip on it. I am wondering if I can flash it with Tasmota using the bk7231 flasher, then upload the ESPHome binary using the Tasmota OTA?
Thanks. Assuming that my network credentials were wrong, I reflashed it using “Do firmware write”. But now when I reboot the device, the AP doesn’t show in my “Available networks”.
The author sent me a binary to try, and I was able to get the switch flashed and connected to my WiFi. I can publish on or off messages and the light turns on or off. However, I can’t get it to show in devices. Here is the yaml code in my mqtt.yaml file:
Thanks, that answers my question. I haven’t worked with MQTT entities for over a year. I’ve been moving my MQTT devices to ESPHome using API and have forgotten most of what I struggled with in MQTT. This switch does not use an ESP device, but it has a Bekin BK7231N chip. I managed to flash it with OpenBK7231 and, from MQTT explorer I can turn the switch on or off by sending 1 or 0 to topic: util_room_light/1/set. But not from Home Assistant (config, developer tools, states).
When I put a button card on Lovelace, I can control the switch. (Which is all I really need).