logo elektroda
logo elektroda
X
logo elektroda

Teardown: OBI DIY Markets Germany: "Wifi-Stecker Schuko Weiß", OBI Art. Nr: 5274899

ElektroTechnikus 750 5
ADVERTISEMENT
  • #1 21047806
    ElektroTechnikus
    Level 8  
    OBI DIY Markets Germany: "Wifi-Stecker Schuko Weiß", OBI Art. Nr: 5274899

    I have to admit: No longer particularly attractive, as they currently cost €9.99 and that without energy measurement and rather clunky (today's perception) - despite high stocks in some markets for over a year (even after a special offer for €4.99 in January 2023).

    Packaging of OBI WiFi smart plug with Energysaver label and feature icons. Packaging of a smart network plug with technical and contact information. White Wifi Schuko plug adapter from OBI on a green measurement mat. White WiFi smart plug with Schuko outlet and identification label.

    But maybe there are still some lying around in private drawers because they couldn't be flashed with Tasmota and a replacement module ESP-02S/TYWE2S makes them unattractive even for 4.99€.

    Hence the teardown here, especially as one might hope that OBI will finally want them off the shelves at some point and will sell them for a reasonable 2.99 :-P (to 3.99 at most :-(). Admittedly, due to their size and construction, they are actually ideal for first attempts with OBK. The only problem is two somewhat specialised Tri-point screws, kind of flat Tri-groove. Ever seen such? I got rid of them with a smaller slotted spanner. Nothing else special...

    Close-up of specialized Tri-point screws on a blue magnetic mat.

    If you leave the screws off, you can always get the top case shell off with your thumbnail (where the locking tabs are located) without ever falling off by itself. On the other hand, I haven't yet managed to brick such a simple OBK thingy, demanding physical re-access. But because of its simplicity, it is certainly good for demonstrating and practising the various flashing procedures. (Contrary to my picture, the board does not have to be unscrewed for flashing.) But if you want to use them in real life, you should secure the case shell with some other screws of that size.

    Plastic device casing on a green grid mat. Printed circuit board of a device with a Wi-Fi Schuko plug, showing a green board with electronic components. Electronic module connected to a breadboard using wires.

    I used a typical breadboard power supply to feed 5V to the outer pins of the AMS1117, as this proved to be safer for clamping than a clip with 3.3 V on its centre pin. In other cases, feeding 3.3 V to the terminals of the corresponding filter capacitor may be more practical. As mentioned elsewhere, these BB power supplies are very handy for flashing as they have their own power switch, which is great for resetting the Beken SoC without accidentally "losing" the USB-to-serial adapter in Windows. Because of the existing cables, I took ground and 5 volts from the posts on the top of the board, not from the rails of the breadboard. Of course, a ground connection must be made between the PS and the USB adapter. Two more (separate) pictures of the BB-PS and CH340 for a more easy understanding of my wiring:
    Prototype board with power supply and USB port. USB to UART converter on a breadboard with visible pins and components.

    Code: JSON
    Log in, to see the code


    Code: Text
    Log in, to see the code


    I've changed to: LED_n (channel 1) on P6 to make the following startup command work for dual use of the one and only blue LED.

    Code: Text
    Log in, to see the code


    There is a space (markings in pic) for a second LED and it's limiting resistor if that's one's preference.

    Added after 1 [hours] 12 [minutes]:

    I forgot to mention:
    Processing startup commands longer than 255 characters requires OBK 1.17.542 or higher. Normally everyone uses autoexec.bat for this - I've been too lazy...
    Thanks again @p.kaczmarek2
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #3 21048000
    p.kaczmarek2
    Moderator Smart Home
    Thank you for sharing.
    I can confirm that you need OBK 1.17.542 or higher for longer startup commands. There was a buffer issue.
    Still, autoexec.bat is a way to go.
    Startup command line is just a single line field, however... maybe we should modify it to display as multi-line on the HTTP page?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #4 21048110
    ElektroTechnikus
    Level 8  

    @p.kaczmarek2 Since I often use Tasmota with "backlog", I write command strings as several lines with a Windows editor and copy-paste them as a block into the command line. This also works with OBK.

    The multi-line display would make me a bit lazier when it comes to documentation ;-)

    Thanks for all your work!

    Added after 15 [minutes]:

    >>21047976
    Seems as if something went wrong, it's a BK7231T. ;-)
    (https://openbekeniot.github.io/webapp/devicesList.html)
  • ADVERTISEMENT
ADVERTISEMENT