logo elektroda
logo elektroda
X
logo elektroda

Flashing OpenBK on CB2S/BK7231N WI-FI Curtain Module ZH-Z17 Rev. A/B

vincenzoernst1 1251 8
ADVERTISEMENT
  • Helpful post
    #1 21127284
    vincenzoernst1
    Level 6  
    Since there is absolutely no Model name: The board is marked ZH-Z17 Rev. B (on the bottom). On the side it's marked: ZH-Z17 Rev. A 🤷

    This Curtain Module is similar to 2CH WiFi Switch Module (clone) or QS-WIFI-S10-C04 which also uses the BK7231N


    PIN CB2S Board
    P6LED
    P7Relais L2
    P8internal switch button
    P23Relais L1
    P24Switch relais L1
    P26Switch relais L2
    GNDGND
    VCC3.3V
    TXnc
    RXnc


    I used the Itchiptool for communication, since its WAY better (than hiddownloader tool) when using Linux. The bus was not detected at 1st but as soon as I disconnected the board from 3.3V, put CEN to ground, started to flash and reconnected the board to 3.3V, the bus was detected and the flashing/backup started.

    Yellow Wi-Fi curtain module with voltage and max load markings. Yellow case with an open curtain module board ZH-Z17 Rev. B, showing chip and electronic components. Curtain module with exposed PCB and detached yellow cover. FANHAR W18-1AST relay module with visible electronic components and connectors. Person holding an electronic module with pin labels. CB2S module on a black surface.


    Here in comparison the with the similar QS-WIFI-S10-C04

    Two Wi-Fi curtain modules and their enclosures on a black background.

    I find this modul better than the QS-WIFI-S10-C04 cause the Tuya modul can easily replaced by a ESP-02s which can run Tasmota alternativly (Which I find has better shutter support. This is important for not destroying your shutter motors. This i my top concern.).


    {
      "vendor": "OEM",
      "bDetailed": "0",
      "name": "2 CH WI-FI Curtain Module",
      "model": "ZH-Z17",
      "chip": "BK7231N",
      "board": "ZH-Z17",
      "flags": "1024",
      "keywords": [
        "CB2S",
    "Shutter",
    "Curtain",
    "yellow",
    "roller",
    "blinds"
      ],
      "pins": {
        "6": "WifiLED;0",
        "7": "Rel;2",
        "8": "Btn_Tgl_All;0",
        "23": "Rel;1",
        "24": "TglChanOnTgl;1",
        "26": "TglChanOnTgl;2"
      },
      "command": "PowerSave 1",
      "image": "https://obrazki.elektroda.pl/7826432900_1718979671.jpg",
      "wiki": "https://www.elektroda.com/rtvforum/topic4061116.html"
    }



    The whole modul will get quiet warm so i think it wont last for ever (e.g. the condensators/elkos are non ESR ones).
  • ADVERTISEMENT
  • Helpful post
    #2 21127576
    p.kaczmarek2
    Moderator Smart Home
    Thanks for sharing, but I think you've forgot "PowerSave 1" command. This can indeed help. See what happens without power save:
    https://www.elektroda.com/rtvforum/topic3898805.html
    Helpful post? Buy me a coffee.
  • #3 21127597
    vincenzoernst1
    Level 6  
    you mean in regard of the heating problem? will test....


    ... I must admit its much better now. 💪
  • ADVERTISEMENT
  • #4 21128694
    p.kaczmarek2
    Moderator Smart Home
    Yes, PowerSave is very helpful on many platforms:


    Helpful post? Buy me a coffee.
  • #5 21128723
    vincenzoernst1
    Level 6  
    do you know why these modules dump so much energy unnecessarily?
  • ADVERTISEMENT
  • Helpful post
    #6 21129091
    p.kaczmarek2
    Moderator Smart Home
    Dynamic power saves reduces the energy usage by sleeping the MCU for a very short intervals when there is nothing to do, it sleeps for like 25ms or so many times per second. PowerSave could be enabled in OBK by default, but I had some reports saying that there are issues so I haven't yet decided to enable it. For now, I am certain that PowerSave does not work well with IR (due to the precise interrupts needed) and with BL0937 (for the very same reason).
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #8 21131581
    vincenzoernst1
    Level 6  
    nice finding. but its really the binary that i have extracted from this device! maybe a cheap clone (it can to only 3A) with a wrong fw.....so it would be DOA anyway. I admit I never tested the orig fw. :-)
  • #9 21140993
    vincenzoernst1
    Level 6  
    i swaped the CB2s to a ESP-02s for testing. The ESP pins connect like so;

    PIN CB2S BoardESP-02s
    P6LEDIO5
    P7Relais L2IO4
    P8internal switch buttonIO13
    P23Relais L1ADC
    P24Switch relais L1IO12
    P26Switch relais L2IO14
    GNDGNDGND
    VCC3.3VVCC
    TXncTX
    RXncRX

Topic summary

The discussion revolves around flashing OpenBK firmware on the CB2S/BK7231N Wi-Fi Curtain Module, specifically the ZH-Z17 Rev. A/B models. The user initially faced issues with bus detection during flashing, which were resolved by manipulating the power connections. Participants highlighted the importance of the "PowerSave 1" command to reduce energy consumption, particularly addressing heating problems. The conversation also touched on the energy inefficiency of these modules and the potential for dynamic power saving features. Additionally, there was a mention of extracting firmware binaries and testing with an ESP-02s module, indicating compatibility and pin connections.
Summary generated by the language model.
ADVERTISEMENT