stevemann
(Stephen Mann (YAML-challenged))
February 7, 2023, 4:05pm
21
3.3v from the UART dongle may not be stable enough for flashing.
If the dongle is switchable (5V or 3V3), is it switching the Tx and Rx levels or just the Vcc?
tryingbe
(Tryingbe)
February 21, 2023, 2:08am
22
Used an arduino to supply 3.3v and the beken chip flashed!
michaelk
(Michael K.)
March 19, 2023, 7:36am
23
I’ve put together a guide that is specific to this FEIT Electric Smart WiFi Dimmer switch (where as the prior solution is for all Beken chips):
feit-electric-dimmer-openbk7231t-conversion.md
# Converting FEIT Electric Smart Wifi Dimmer to OpenBK7231T
The following steps shuld be taken to convert the [FEIT Electic Smart WiFi Dimmer switch](https://amzn.to/3ZLwa53) to be cloud-free using the OpenBK7231T software.
**WARNING** - Modifying electrical equipment that operates at mains power can be dangerous, even deadly, if you you make a mistake. Seek professional help with this conversion if you have any doubts (or should have doubts) in your ability to do it.
## Reflashing Switch with OpenBK7231T Software
Note that this process requires you to have a UART capable of operating at 3.3 volts, some wires to connect the UART to the switch's circuit board, and a computer the UART can conncet to that has Python 3 installed.
Disassemble the switch, removing the circuit board form the switch unit. Be sure not to lose any of the screws or the platstic PCB cover you had to remove. Then, attach 4 wires tyoe the `RX1`, `TX1`, `3V3`, and `GND` points on the circuit board. Also, connected a jumper from the `NRST` pad to `GND`. Then connect the wires to a UART capable of operating at 3V3 voltage as follows:
* `RX1` --> UART `TX`
This file has been truncated. show original
1 Like
Thanks. Great write up. I missed the part about connecting NRST to GND and that killed an hour, but otherwise, it worked well.
Based on what I read, the circle indicator on the switch can be disabled using the OEM app. Know how to do it using HA/OpenBK?
Curious too if it’s possible to get the light indicator available in HA.
I used the auto discovery to get my dimmers into HA and it found the Switch (Toggle) and the Dimmer.
Is it maybe just a matter of changing the entry of channel 4 from OffDimBright to a toggle? (Wasn’t sure how to handle the ‘linkTuya…’ line
Excerpt from device autoexec.bat
setChannelType 4 OffDimBright
linkTuyaMCUOutputToChannel 101 enum 4