logo elektroda
logo elektroda
X
logo elektroda

Discovery: Tuya PCI-Express PC Switch/Reset Card -TuyaMCU [CBU] [STC8H1K08]

divadiow 978 3
ADVERTISEMENT
  • #1 21277049
    divadiow
    Level 35  
    Bought this little thing from Ali Express. It's tiny. It's a PCI-Express x1 slot smart remote IoT power on/off/reset device for your PC. This is the cheaper one with no header bracket or external aerials. Some appear to come with what looks like a WB3S/CB3S but this one is with CBU module and an STC8H1K08 TuyaMCU. It arrived in an anti-static bag without box or instructions. It comes with 2 sets of 4 header pins for connecting to your motherboard.

    Smart remote IoT device on a PCI-Express x1 card with CBU module and TuyaMCU chip. Smart IoT device for PC control from AliExpress.

    Boot from CBU TX2

    Code: Text
    Log in, to see the code


    Quite a recent dated SDK used

    < TuyaOS V:3.8.18 BS:40.00_PT:2.3_LAN:3.5_CAD:1.0.5_CD:1.0.0 >< BUILD AT:2024_07_09_13_40_54 BY ci_manage FOR tuyaos-iot AT bk7231n >

    Tuya appear to have changed their way of pairing, no uuid/authkey/pskkey in the firmware.
    Screenshot of the BK7231 Easy UART Flasher program with an error message.

    Code: JSON
    Log in, to see the code


    Small IoT module for remotely switching a computer on/off via PCI-Express x1, in an anti-static bag. Small IoT device in an anti-static bag on a beige background. A set of cables for RESET SW and POWER SW switches on a beige carpet, next to an antistatic bag. Small IoT device for remotely turning on/off/resetting a computer, connected to PCI-Express x1 slot. IoT module in PCI-Express x1 slot on an anti-static bag

    IoT device update screen showing no updates available. App displays computer status as off. App screen for adding remote devices, showing device icons.

    This is what I have traced so far.

    Diagrams and photos of a smart IoT remote device from AliExpress for managing a PC via PCI-Express x1.

    and I can see the communications between the CBU and MCU are being deciphered successfully by TuyaMCU Analyser at 9600 baud.

    I'll update the post with more info as I find it. I'm not sure what I will/can use this device for. Posting what I have for now as I have a habit of losing posts!
  • ADVERTISEMENT
  • #2 21277131
    divadiow
    Level 35  
    Regarding the physical setup, the device only caters for 1 reset switch and 1 power switch. The card headers are intended to be connected to logically sit in between the PC motherboard headers and the chassis reset and power buttons. Translations of the text on the PCB make this clearer.

    Close-up of the Remote Boot Card V2 with labels for network, button, and motherboard headers.

    Added after 1 [hours] 3 [minutes]:

    Paired with the Tuya app and from power-up, TuyaMCU Analyser displays the following. No commands sent to device from the app at this stage. It should be noted that no switch or motherboard connections are in place so the Tuya app reports the PC to be OFF through these actions.

    Code: Text
    Log in, to see the code


    Screenshot of TuyaMCU Explorer interface with WiFi packet data.



    Pressing the "PC Status" power button in the app gives
    Code: Text
    Log in, to see the code

    View of an app showing the status of a computer with buttons.


    Pressing "Reset" -> "RESET"
    Code: Text
    Log in, to see the code

    Android menu with reset options and Force Reset.


    Pressing "Reset" -> "Force Reset" gives
    Code: Text
    Log in, to see the code


    so this appears to be the extent of dpIDs and values
    Screenshot showing a table with dpID identifiers and values.

    But I should probably next look to simulate PC status by jumpering headers or something. I'll need a way to test effect of commands on header pins on the device and the comms from MCU to CBU if the PC state is powered-on.

    Added after 2 [hours] 11 [minutes]:

    just noticed this similar device's MCU also sends "na90jncjlvw5t0ba" to the wifi module
  • ADVERTISEMENT
  • #3 21372396
    styb113
    Level 4  
    Hello, I have the same device and was wondering if you have figured out the settings for the TuyaMCU to work with OpenBeken.
  • #4 21372512
    divadiow
    Level 35  
    Hi no, I never completed it in the end after I shorted something on the TuyaMCU and it all died.
ADVERTISEMENT