Further to the journey of setting up my Home Assistant on a Raspberry Pie and successfully getting it working with everything in my house including the solar panels I ran into the Tuya issues of slowness in automations and synchronisations etc. so I moved all the Tuya devices to Local Tuya which seemed to be sort of great until the Tuya Dev Portal expired (after being extended already) and wanted USD$25k to keep going. I managed to bargain the Dev Portal fees down to $1.5k but that is more than the value of all my devices so I wanted a proper fix being everything local and no cloud at all so ESPHome looked to be the solution - just get some ESPHome chips, flash them, swap them out with the WB3S chips, configure Yaml and good to go…well not quite.
I am in Australia and here we have a very popular white labelled version of Tuya product called DETA wich is stocked by our version of Home Depot called Bunnings. The products are mainly wall switches for lights and come in 1,2,4 switches, they are very well priced and look great. I used the SmartLife app instead of the local GRID Connect app to configure them which is a white label version of the Tuya app. I have around 14 of these wall light switches that I now want to move to ESPHome.
So I have watched the YouTube videos and have managed to flash the ESPHome firmware to the replacement ESP8266 (ESP-12F) chips, got it working over my local wifi and even managed to replace the WB3S chip on a test rig 2 switch wall plate and can see it in Home Assistant.
The next step that I am now stuck at is how to extend the basic Yaml config for the device correctly so that it actually does something? I believe that I need to find a template somewhere that matches the board in my switch with its two relays and paste this into the devices Yaml config and re-flash over the air. I have tried looking in the Yaml files on the Pie as I still have working 2 gang switches that I have not yet butchered. I have tried finding some identification on the boards that were in the switch housing, I have searched for DETA and Tuya etc. and can not seem to get what I need.
So this newbie needs someone how actually knows what they are doing to give him some pointers…pretty please.