logo elektroda
logo elektroda
X
logo elektroda

S1 Kontakt funktioniert nicht nach Flashen des Switches – Parameter und Konfiguration prüfen

flakerazor 225 3
ADVERTISEMENT
  • #1 21790212
    flakerazor
    Level 2  
    Hallo, ich hab wie in diesem Thread den Switch geflasht

    es funktioniert leider der S1 Kontakt nicht.

    https://www.elektroda.com/rtvforum/topic4099102.html#21393164

    {
       "rl1_lv":"1",
       "on_off_cnt":"10",
       "onoff_rst_m":"1",
       "onoff_clear_t":"10",
       "rand_dpid":"42",
       "net_trig":"4",
       "onoff_n":"5",
       "netled1_lv":"1",
       "jv":"102",
       "onoff_rst_type":"2",
       "total_bt_pin":"24",
       "nety_led":"0",
       "over_cur":"20000",
       "total_stat":"2",
       "reset_t":"3",
       "netled1_pin":"9",
       "chip_type":"3",
       "lose_vol":"40",
       "remote_add_dp":"49",
       "remote_list_dp":"50",
       "net_type":"0",
       "over_vol":"300",
       "inch_dp":"44",
       "module":"CBU",
       "ch_cddpid1":"9",
       "onoff1":"26",
       "clean_t":"6",
       "init_conf":"38",
       "zero_select":"0",
       "onoff_type":"0",
       "series_ctrl":"2",
       "total_bt_lv":"0",
       "cyc_dpid":"43",
       "remote_select":"0",
       "ch_num":"1",
       "rl1_pin":"20",
       "ele_rx":"10",
       "netn_led":"0",
       "vol_def":"0",
       "ch_dpid1":"1",
       "ele_tx":"11",
       "crc":"118"
    }
    


    Grüße
    AI: Um welchen Switch (Hersteller und genaue Modellbezeichnung) handelt es sich genau?
    Girier 1 Gang mit CBU Chip
    AI: Welche Firmware (inkl. Versionsnummer) hast du genau geflasht?
    OpenBeken 1.18.226
  • ADVERTISEMENT
  • #2 21790272
    p.kaczmarek2
    Moderator Smart Home
    Hi! According to your Tuya JSON data, the device configuration is as follows:
    
    Device seems to be using CBU module, which is BK7231N chip.
    - Relay (channel 1) on P20
    - WiFi LED on P9
    - TglChannelToggle (channel 1) on P26
    - Pair/Toggle All Pin on P24
    - BL0942 (?) RX on P10
    - BL0942 (?) TX on P11
    

    Do you have set TglChannelToggle role with channel 1 on P26?

    If not sure, you can use GPIO Doctor and set this pin to digital input there, and observe if it changes when you close the switch.

    How did you flash your device? Is it possible that you have a cold solder joint? Did you desolder board with CBU? Can you show photos?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 21791082
    flakerazor
    Level 2  
    Ich habe 3 von diesen switchen und bei keinem geht es.
    Ich habe es so konfiguriert, wie du es aufgeschrieben hast.

    GPIO Doktor weiß ich nicht, ob ich ihn richtig bediene.
    Habe alle Pins auf Set input P-up gestellt und geschaut, ob was passiert.

    CBU wurde nicht ausgebaut, Kabel direkt an CBU angelötet.

    Grüße
  • #4 21793422
    p.kaczmarek2
    Moderator Smart Home
    I think we may need to debug more. Disconnect device from mains. Operate only on safe voltage. Power it from USB 5V (connect to LDO input, so wiFi module gets 3.3V). Then try connecting P26 to GND or 3.3V to see if it reacts in firmware.

    I think it may be a hardware issue, but first we need to know that firmware works ok for you.

    Can you show a photo of your device, which model is that? How did you try to wire it?
    Helpful post? Buy me a coffee.
ADVERTISEMENT