FEIT dimmers

From Wildsong
Jump to navigationJump to search

My understanding is that many IoT home control products get rebranded that are made by Tuya. In any case however it comes to be, many products are Tuya inside, that is, they work through the cloud-based Tuya management app.

This means when for example when you are sitting on your couch and it's getting dark and you want to switch on your living room light via Home Assistant, the commands have to go up to Tuya's web site and then back down through your gateway to your living room. Since this offends my sense of efficiency and privacy, I want to install ESPhome on all my Tuya devices. I bought them with this in mind.

TWYE2S cpu

Both of these devices (Martin Jerry and Feit) use a Tuya TWYE2S cpu module. I fried one for an S-01 switch so I ordered a kit on Amazon with 5 ESP12F modules and a programmer/breakout board. The programmer should be handy. I could probably yank a module off some other widget but geez, the modules are about $2 each.

The ESP12F has more signals brought out to the edges but they won't interfere with anything when replacing a TWYE2S. An ESP12S is a match and is a tiny bit smaller too, but I like having the extra pins.

Documentation for TYWE2S https://developer.tuya.com/en/docs/iot/wifie2smodule?id=K9605u79tgxug

How did you fry that S-01, Brian?

I hooked up the ESP-PROG while the board was connected to mains. Tsk. It burned out both the TWYE2S and the ESP-PROG. This after successfully reprogramming 3 others. The _actual_ problem I was trying to troubleshoot was that I did a bad job soldering on the header I use for programming these. Tsk again.

The Shelly 1 has the same set up, they are not isolated from A/C.

Martin Jerry S-01 switches

2021-11-18 I have one converted to ESPHome and installed (laundry room). Three more to go.

I soldered a header onto the back of each controller at the pads marked CN-1 and used Dupont wires to connect it to the programmer (which is just a 3V3 UART-USB really.) The Espressif Programmer was not pulling GPIO0 down so I had to unhook that wire and manually ground the input.

Feit Electrics dimmers

These are a good price but I'm disappointed that I will have to remove the CPU from the board to reflash them.

https://community.smartthings.com/t/costco-cheap-feit-smart-dimmer-wifi/208142

https://community.home-assistant.io/t/costco-feit-smart-dimmer-tuya-convert-tasmota/151390/5

Deployed in bathroom, kitchen island, breakfast area, living room, dining room. I just replace one in guest bathroom with a Maestro motion sensor switch, so now it's a spare.

I am going to pull apart the spare to see if I can flash it.

The processor in these is not like an ESP 12*, it has a single row of pins on the lower edge of the card.

Pinout on the front, left to right

RST
A0
I3
D4
D5

on the back, left to right

3V3
GND
TX
RX
12
14

There are some other marked pads not on the edge including

I0
IO2
RST
GND

Tasmota - https://github.com/blakadder/templates/issues/402 says it's unstable.

A set of components, https://github.com/nuttytree/ESPHome-Devices including Feit dimmers https://github.com/nuttytree/ESPHome-Devices/tree/master/components/tuya_light_plus

Power sense information

https://github.com/cbpowell/ESPSense/wiki

Resources

Tuya developer site https://developer.tuya.com/en/