logo elektroda
logo elektroda
X
logo elektroda

Martin Jerry S01 SPST Lightswitch with CB3S Module Compatibility

R0O 315 2
ADVERTISEMENT
  • #1 21212855
    R0O
    Level 2  
    Martin Jerry S01 SPST lightswitch - CB3S

    My blog post on flashing the MJ-S01 switch with OpenBK https://lowtek.ca/roo/2024/pown-your-iot-openbeken/

    No big surprises here. The CB3S uses the BK7231N chip, the Windows-based GUI flashing tool worked great once I'd worked through all the details on figuring out which pins to wire up.
  • ADVERTISEMENT
  • #2 21212988
    p.kaczmarek2
    Moderator Smart Home
    Thanks for sharing. I can add it to our devices list here:
    https://openbekeniot.github.io/webapp/devicesList.html
    but first I need you to post full JSON (Obk template) in this topic.

    By the way, your blog seems very detailed and useful. Are you going to describe more OBK devices? Maybe TuyaMCU-based one next?
    Helpful post? Buy me a coffee.
  • #3 21213057
    R0O
    Level 2  
    Here is the JSON that was decoded from the stock firmware

    
    {
       "rl1_lv":"1",
       "netled_lv":"0",
       "bt_type":"0",
       "bt1_pin":"6",
       "led1_pin":"7",
       "rand_dpid":"18",
       "net_trig":"2",
       "led_dp":"15",
       "jv":"1.1.0",
       "backlit_select":"0",
       "nety_led":"0",
       "netled_pin":"8",
       "total_stat":"2",
       "bt1_lv":"0",
       "reset_t":"3",
       "ch_flag1":"1",
       "inch_dp":"19",
       "module":"CB3S",
       "dctrl_select":"0",
       "ch_cddpid1":"7",
       "init_conf":"14",
       "led1_lv":"0",
       "light_status_select":"0",
       "zero_select":"0",
       "backlit_dp":"16",
       "cyc_dpid":"17",
       "ch_num":"1",
       "rl1_pin":"24",
       "netn_led":"1",
       "ch_dpid1":"1",
       "crc":"38"
    }


    I don't currently have plans to work on other IoT devices, but you never know :)

    If you need to pull images from my blog post, that's fine - but I would appreciate a pointer back to my original article as acknowledgment.
ADVERTISEMENT