I bought a Treatlife DP20 plug in lamp dimmer from Amazon (https://a.co/d/9zlAsTq).
I was able to use the info from https://www.elektroda.com/rtvforum/topic4034434.html to flash the device.
I was able to get a working autoexec.bat:

I was able to use the info from https://www.elektroda.com/rtvforum/topic4034434.html to flash the device.
I was able to get a working autoexec.bat:
startDriver TuyaMCU
tuyaMcu_setBaudRate 115200
setChannelType 1 toggle
setChannelType 2 dimmer
tuyaMcu_setDimmerRange 0 1000
linkTuyaMCUOutputToChannel 1 1 1
linkTuyaMCUOutputToChannel 2 2 2