logo elektroda
logo elektroda
X
logo elektroda

Info on flashing and configuring Treatlife DP20 Plug-In Dimmer

pabloelektrodacom 342 4
ADVERTISEMENT
  • #1 21479980
    pabloelektrodacom
    Level 2  
    I bought a Treatlife DP20 plug in lamp dimmer from Amazon  (https://a.co/d/9zlAsTq).

    Treatlife smart switch module and its packaging.

    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
    
  • ADVERTISEMENT
  • #2 21479993
    p.kaczmarek2
    Moderator Smart Home
    That's an interesting device, can you provide some more information on which Beken type is inside and how to flash it? How to open case?

    I'm attaching few more photos showcasing this product.
    Treatlife smart plug connected to a wall outlet.
    Desk lamp and Treatlife smart dimmer plug against a wall.
    Treatlife smart plug in a white casing connected to a wall socket.
    "Treatlife Smart Plug-in Lamp Dimmer,300W with Dual Outlets "
    Also a manual...
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 21481572
    pabloelektrodacom
    Level 2  
    The case has four screws in each corner in the back.
    They can be accessed by lifting the decal.
    The shell has some clips that can be opened with a plastic wedge.
    The chip is a BK7231N on a CB3S board.
    Close-up of a circuit board with various electronic components and a chip labeled CB04-SBL-B.
  • ADVERTISEMENT
  • #4 21481614
    divadiow
    Level 34  
    added https://github.com/OpenBekenIOT/webapp/commit/6cc1631ae810b608ba432498f7b8a874fa7731d3

    There's a firmware backup on github for the DP20 which doesn't boot but we can extract the dpIDs from it still. From it we can see the DP20 has fewer compared to the DP10

    DP10
    Code: Text
    Log in, to see the code


    DP20
    Code: Text
    Log in, to see the code


    If you want confirmation please post or send me your backup, if you took one, and are confident it doesn't contain your wifi credentials - ie you took backup before pairing with Tuya, if you ever did.
ADVERTISEMENT