Anyone has flashed/exploited this usb relay adapter with success? I’ve found 2 links about this, but it doesn’t go into deep details on how to flash it and what exact software used.
i have installed esphome a few of these i use esphome commandline and a usb serial adapter, just make sure the io level on tx/rx are 3.3v
connect tx to rx and rx to tx and gnd to gnd when it tells you too briefly ground cen pin, for power i just connect the plug to a usb powerbank.
2 of 3 i bought was this:https://devices.esphome.io/devices/Generic-USB-Wifi-Switch
and one was the one you have liked too, on that one i had to use tx2 and rx2, i remember i found the pinout on google so cant be too hard to find.
Best of luck
Hey. Thanks for your feedback. I’ve placed the order, but not yet received. This is serial adapter I will be using and was planning to use the 3.3 pin for power while the serial adapter is plugged into my pc for flashing. It should be fine no???
Can you elaborate on this? What is the firmware you use to flash with and how do I access this esphome commandline? My esphome integration is an add-on installed on HA. Don’t think I have access to the cmd line.
i use esphome commandline and a usb serial adapter
I was thinking of going off this guide and hope the board will be the same when I receive it.
i cant see the other side of that board but i think that is a board without a 3.3v regulator and uses 2 diodes instead?? if so it can have trouble delivering stable and enough 3.3v power. i would go for something like this
if the above board is all you have i would power the usb relay by plugging in, i use a small power bank for this. remember if you power the board this way you still need to connect serial gnd to board gnd
with a desktop computer it should be OK to power the board you are programming from the usb port, on a laptop maybe not a good idea.
i have never used ESP Web but should work
i have installed ESPHome Manually on my main computer and use that to program the boards and then my home assistant computer can just discover the board and i add it that way.
ok. My current serial adapter does not have the voltage selector as pictured above. I have since ordered similar to yours. As for as the file needed to upload, I just need to convert this code to a bin file and use esp web to upload to the usb device?
I would like to go with the Tasmota route and not have to deal with esphome, but not sure what flash tool and firmware used he used.
My usb devices arrived. Before I start to crack open and solder, I’d view the list of known patched version. This usb device falls under version 1.3.10. I’ve connected my device to the Smart Life mobile app and checked the current version. It says V1.4.0. The list does not mentioned V1.4. Do you think I can flash it with Tuya cloudcutter???
Thinking about the version and had a hell of a time prying the cover open, I think I need to flash it with uart method. This is the inside of the board. You said for this board, you had to use the rx2, tx2 pins??
I had all these running through my brain as I was praying it open.
I can only imagine, yours will look like mine. As you can see, there are 2 tabs on the long ends. I used a x-acto knife slowly and carefully run through all 4 side a few times. After which, I use a small flat screwdriver and run it a few more times. When I think the sides are breaking loose, I use the screwdriver and shove it down the long side of the device (that is where the tabs are) and pray it apart. It will start to lift up a bit. Pray both sides slowly and eventually it will pop open.
Success!! Thank you @ swedude for the push.
I didn’t have to solder since I got these tiny grabbers. You definitely need to use an external power source. I went with Itchiptool method. Used this ESP-IDF config after changing a few lines to my environment and compiling it to .uf2, uploading it with itchiptool while following this video guide. Now to tackle the second usb relay.