logo elektroda
logo elektroda
X
logo elektroda

Translating GPIO Configuration of Calex Smart Plug 429198 from Tasmota to OpenBKApp

gmarcos87 750 2
ADVERTISEMENT
  • Helpful post
    #1 20734238
    gmarcos87
    Level 2  
    Hi, I found this plug in a thrift store and am using it to learn. After opening it and extracting the WB2S module I was able to program it with OpenBaken easily using UART.

    Translating GPIO Configuration of Calex Smart Plug 429198 from Tasmota to OpenBKApp

    Now I need help with the pin configuration. Tasmota already has support for this same model https://templates.blakadder.com/calex-429198.html but I don't know how to translate that GPIO configuration to the OpenBKApp one.
    I would appreciate if you help me to understand how to do it.

    Thanks!

    EDIT:
    
    {
      "vendor": "Calex",
      "bDetailed": "0",
      "name": "Calex Powerplug EU Plug (429198)",
      "chip": "BK7231T",
      "board": "WB2S",
      "pins": {
        "6": "Btn;1",
        "7": "LED_n;1",
        "8": "WifiLED_n;1",
        "24": "Rel;1"
      },
      "command": "",
      "keywords": [
        "Calex",
        "429198",
        "EU"
      ],
      "image": "https://obrazki.elektroda.pl/6645277400_1694771451_thumb.jpg",
      "wiki": "https://www.elektroda.com/rtvforum/topic4002300.html"
    }
  • ADVERTISEMENT
  • Helpful post
    #2 20734335
    gmarcos87
    Level 2  
    I was able to get it set up and running with Home Assistant.

    PWM0 - Button
    PWM1 - Led
    PWM2 - Led
    PWM4 - Relay
  • #3 20736816
    p.kaczmarek2
    Moderator Smart Home
    Good job on translating it. Keep in mind that even CB3S footprint is slightly different from WB3S footprint so you have to double check when porting a template between platforms. The most important GPIOs like power, ground, UART and ADC are matching but some of the other digital IOs may be swapped.
    Helpful post? Buy me a coffee.
ADVERTISEMENT