devices.esphome.io
Feit BPDIM/WIFI/2
Feit BPDIM/WIFI/2
Device Type: dimmerElectrical Standard: usBoard: esp8266
Another Costco/Feit device. This template should work with DIM/WIFI, DIM/WIFI/2, and DIM/WIFI/3, if you can flash it.
Please take note that you will likely have to figure out how to reach the pins and do a serial firmware flash if the device is newer than March 2020. The tuya-convert method is non-functional with the most recent Tuya firmware. I have followed the method described here to perform a serial flash. It works as expected.
I split these files myself, but the salient points are re-joined here. You will need to include your own WiFi, etc.
Also of note, adjust the min_brightness! In circuits with many bulbs (particularly with LEDs), dimming all the way
can result in complete blackness. By setting min_brightness to a higher value, you can determine what the lowest
setting will actually be, and still have some light showing. For example, in some of my circuits, I set this to 143
or 150. Leave max_brightness at 1000.
Disabling serial logging should not be a big deal as this device is unlikely to ever be tethered, except when attempting a manual, serial flash. Once accomplished, OTA is the way to go.
substitutions: comment: "...any comment here, like the device hostname..." devicename: my_bpdim_1 propername: "My BPDIM 1" min_brightness: '10' max_brightness: '1000'
esphome: name: $devicename comment: "${comment}"
esp8266: board: esp01_1m
# OTA flashingota: - platform: esphome
wifi: # Your Wifi network details # Enable fallback hotspot in case wifi connection fails ap:
# Enabling the logging componentlogger: baud_rate: 0 # Enable Home Assistant APIapi:
# Enable the captive portalcaptive_portal:
uart: rx_pin: GPIO3 tx_pin: GPIO1 baud_rate: 9600
tuya:
light: - platform: "tuya" name: "${propername}" dimmer_datapoint: 2 switch_datapoint: 1 min_value: $min_brightness max_value: $max_brightness