logo elektroda
logo elektroda
X
logo elektroda

Comparing [BK7231T] [WB2S] Calex UK Smart Plug (Tesco) with Article No 5202000300

divadiow 1275 5
ADVERTISEMENT
  • #1 20849915
    divadiow
    Level 34  

    Almost identical to https://www.elektroda.com/rtvforum/topic3925190.html but with Article No, 5202000300
    Came with v1.1.8 firmware and was successful with Tuya-Cloudcutter "1.1.8 - BK7231T / oem_bk7231s_rnd_switch" profile.

    WE-08(10)V1.1 2020.4.13 PCB

    I did open the unit to check on similarities (it was a pig to unglue). I did not want to be too destructive so didn't dump firmware.
    Apart from some silk screening on WB2S, it looked to be the same.

    Update screen message indicating no updates available, with main module and MCU version V1.1.8.

    Notification of successful addition of BK-calex device. Close-up of the interior of an electronic device with a visible printed circuit board and components.
    Close-up of a PCB marked WE-08(10)V1.1 dated 2020.4.13, with electronic components.

    Close-up of PCB labeled WE-08(10)V1.1 with date 2020.4.13.

    Close-up of a PCB with a WB2S module.

    Close-up of the inside of an electronic device, showing markings on the PCB.
    Calex product packaging with article number 5202000300.
    Box of Calex Smart Power Plug, type G, supporting integration with voice assistants.

    I've used @btsimonh bin file to check OBK config
    - Button (channel 1) on P6
    - LED (channel 1) on P8
    - WiFi LED on P7
    - Relay (channel 1) on P24

    All works, apart from when the plug is on the blue AND red LED is lit, red only when off. Unless that's how it's supposed to be, I didn't try it before cloudcutter. This looks to the same gpio config as the two LSC UK plugs and the other two Calex plugs already in the supported device list.

    Anyway, it's an easy OpenBeken convert for anyone in the UK wondering about these Calex devices at Tesco. I used some Clubcard vouchers so got it for £3 in the end.

    startup commands: backlog PowerSave 1; startDriver SSDP
  • ADVERTISEMENT
  • Helpful post
    #2 20854328
    p.kaczmarek2
    Moderator Smart Home
    Well, if you want to invert the LED behaviour, you can just change the LED role to LED_n, and it will be inverted. Or you can set it to AlwaysHigh or AlwaysLow to keep LED always either on or off. The same logic applies to WiFI LED, there is a negated, WiFILED_n role.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • Helpful post
    #3 20887913
    divadiow
    Level 34  
    Code: JSON
    Log in, to see the code
  • ADVERTISEMENT
  • Helpful post
    #4 20888120
    p.kaczmarek2
    Moderator Smart Home
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #5 20952501
    divadiow
    Level 34  
    p.kaczmarek2 wrote:
    Well, if you want to invert the LED behaviour, you can just change the LED role to LED_n, and it will be inverted. Or you can set it to AlwaysHigh or AlwaysLow to keep LED always either on or off. The same logic applies to WiFI LED, there is a negated, WiFILED_n role.


    fixed it. autoexec now corrects behaviour with
    alias mode_wifi setPinRole 8 WifiLED_n
    alias mode_relay setPinRole 8 LED
    
    // at reboot, set WiFiLEd
    mode_wifi
    // then, setup handlers
    addChangeHandler WiFiState == 4 mode_relay 
    addChangeHandler WiFiState != 4 mode_wifi 


    -red flashing LED on power-up/ wifi connecting
    -solid red LED when relay open
    -solid blue LED when relay closed
  • #6 20954018
    divadiow
    Level 34  
    hmm, thank you for adding temps for BK devices. not sure BK7231T is OK tho.

    This T plug is physically next to this N

    Screenshot of a device interface showing high internal temperature of 114.4°C and other system information.

    Screenshot displaying the status of a device with BK7231N chipset.

    all other N devices are within expected similar temps around the house
ADVERTISEMENT