I have 4 of these devices: https://templates.blakadder.com/treatlife_SS01S.html. I was originally going to flash them with tasmota but after reading up on ESPHome, I think I want to go that route instead. If they are compatible with tasmota firmware via a template, does that mean its compatible with ESPHome? I cracked open the case to see if I could research anything on the chip but this area of tech is new to me and I’m getting a bit lost. How can I tell what Platform and board type to use in my configs? Appreciate someone pointing me in the right direction!
I did a search for “esphome TYWE3S” and came up with:
platform: ESP8266 board: esp01_1m
In this issue:
Then that is what I will try! thanks for the help. For future purchases, is there a way to self identify easily/easier?
Other than Google? Not that I know of.
There’s a board reference here but it does not list Tuya modules like the one you have:
This is working with my tuya switch (2 way) with this config:
esphome: name: switch_tuya2_1 platform: ESP8266 board: esp01_1m wifi: ssid: "xxx" password: "xxx" # Enable logging logger: level: VERBOSE # Enable Home Assistant API api: ota:
Figure it out? I have the same switch and trying to figure out the proper esphome ‘switch:’ values.
In the past I used this info to work out the GPIO used in the Tasmota template and put that into ESPhome
I temporarily gave up. I was having issues getting the devices to flash (if my memory is correct on the issue). Its still on my list, but I’m tackling other more important HA tasks.
Still perfecting it, but here is my esphome template for the treatlife switch: https://gist.github.com/MACscr/3472d7b3bdad9676f6ef4faf1dd775ee
Works great so far. Don’t really have the LED fully figured out, but i can turn the switch on and off and i even have a home assistant automation to turn the switch (a bathroom fan in my case) off after 60 minutes if its on.
Any tips on how you were able to flash ESPhome onto the switch in the first place?
I followed used the tuya convert method. Definitely need to have all the right parts and some patience, but once you get it all setup, it only takes a few minutes per device.