logo elektroda
logo elektroda
X
logo elektroda

[CB3S] Globo Connor 41386-30sh ceiling light 30W with IR remote

sabe89 3468 16
ADVERTISEMENT
  • About Author
    sabe89
    Level 2  
    Offline 
    sabe89 wrote 2 posts with rating 2. Been with us since 2022 year.
  • ADVERTISEMENT
  • #2 20357002
    p.kaczmarek2
    Moderator Smart Home
    Thank you for submitting pin configuration. That's a very nice lamp.

    I see you have an IR pin set. Does that lamp come with IR receiver? Have you managed to configure IR? You can just forward the IR with publish to Home Assistant, or script it on the device itself to do anything you want (change LED states, etc)

    Here is how a sample IR script looks like:
    
    // P21 role is Btn, a power button that works without scripting
    // set button hold/repeat/etc times
    SetButtonTimes 10 3 3
    // alias to turn off LED after 4 secs (repeating event with 1 repeat)
    alias add_turnoff_event addRepeatingEvent 4 1 led_enableAll 0
    // button events - 23, 22, etc are pin numbers
    addEventHandler OnHold 23 add_dimmer 10
    addEventHandler OnHold 22 add_dimmer -10
    addEventHandler OnDblClick 22 led_dimmer 5
    addEventHandler OnDblClick 23 led_dimmer 100
    addEventHandler OnClick 20 add_turnoff_event
    // IR events
    addEventHandler2 IR_Samsung 0x707 0x62 add_dimmer 10
    addEventHandler2 IR_Samsung 0x707 0x65 add_dimmer -10
    addEventHandler2 IR_Samsung 0x707 0x61 led_enableAll 0
    addEventHandler2 IR_Samsung 0x707 0x60 led_enableAll 1
    

    but you can ignore the "OnHold", "OnDblClick", "OnClick" events, they are just for buttons

    We have a video about that:




    I also looked at the price of this lamp and I am surprised. It's a big one, 175$?
    [CB3S] Globo Connor 41386-30sh ceiling light 30W with IR remote

    I've checked specs and it indeed has IR remote. Nice!
    Bulbs incl.Yes
    bulbs LEDs
    Power consumption 30 watts
    Lumens (source) 1 x 3150 lumens
    Lumens (effective) 1 x 2250 lumens
    memory function Remote control wall switch
    Remote control yes (infrared)
    Battery incl. 2*AAA
    applications Tuya
    Lifespan 20000h
    Tension 230 volts
    Degree of Protection IP20
    Protection class 1
    CCTFrom 3000 to 6500 Kelvin

    Here is how remote looks like:
    [CB3S] Globo Connor 41386-30sh ceiling light 30W with IR remote

    Here is some review of that lamp:




    I am attaching the manuals of the mentioned product.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 20357448
    sabe89
    Level 2  
    Hi p.kaczmarek2,

    you can see the ir receiver at the right bottom corner close to the CB3s chip. I bought the lights last year for about 90$ each.

    Actually I use the ir with mqtt add_dimmer and add_temperature commands.

    cmnd/LightName/add_dimmer
    IrReceived.Data value for increase: 0xF609EF00
    IrReceived.Data value for decrease: 0xEE11EF00

    cmnd/LightName/add_temperature
    IrReceived.Data value for increase: 0xF10EEF00
    IrReceived.Data value for decrease: 0xF30CEF00

    Thanks for the hint and sample code.

    Picture of my ir remote:
    [CB3S] Globo Connor 41386-30sh ceiling light 30W with IR remote
  • #4 20357465
    p.kaczmarek2
    Moderator Smart Home
    Hmmm if you provide a full list of IR codes from that remote, it might be helpful for future users.
    Helpful post? Buy me a coffee.
  • #5 20397436
    roguezet
    Level 4  
    I have the same lamp with wb3s chip.
    Is it possible to flash that as well and use the same template? I think the only dofference is that the light leds are warm and yours are cold.
    Also, how were your flashing steps?

    Best regards,
    Matthias
  • ADVERTISEMENT
  • #6 20397476
    p.kaczmarek2
    Moderator Smart Home
    @roguezet It is hard to tell if the configuration will be the same, but BK7231 has only 6 PWM pins so there are not many options to choose from.
    PWM IO
    PWM0P6
    PWM1P7
    PWM2P8
    PWM3P9
    PWM4P26
    PWM5P24

    Please show photo of your lamp (and of your packaging, and your exact lamp model)

    Here's the topic where you can find BK7231 Programming by UART paragraph:
    https://www.elektroda.com/rtvforum/topic3951016.html
    Maybe watching some of our flashing guides on our channel may help?
    https://www.youtube.com/@elektrodacom
    Helpful post? Buy me a coffee.
  • #7 20397722
    roguezet
    Level 4  
    [CB3S] Globo Connor 41386-30sh ceiling light 30W with IR remote [CB3S] Globo Connor 41386-30sh ceiling light 30W with IR remote [CB3S] Globo Connor 41386-30sh ceiling light 30W with IR remote
    It really looks the same.
  • ADVERTISEMENT
  • #8 20397838
    p.kaczmarek2
    Moderator Smart Home
    Hmm okay so please do fiirst a full 2MB flash read (if you can), for the firmware backup, and then flash OBK and try to configure it. I will help if any issue arises.
    Helpful post? Buy me a coffee.
  • #9 20418906
    alexandrgredasov
    Level 4  
    p.kaczmarek2 wrote:

    Here is how a sample IR script looks like:
    
    // P21 role is Btn, a power button that works without scripting
    // set button hold/repeat/etc times
    SetButtonTimes 10 3 3
    // alias to turn off LED after 4 secs (repeating event with 1 repeat)
    alias add_turnoff_event addRepeatingEvent 4 1 led_enableAll 0
    // button events - 23, 22, etc are pin numbers
    addEventHandler OnHold 23 add_dimmer 10
    addEventHandler OnHold 22 add_dimmer -10
    addEventHandler OnDblClick 22 led_dimmer 5
    addEventHandler OnDblClick 23 led_dimmer 100
    addEventHandler OnClick 20 add_turnoff_event
    // IR events
    addEventHandler2 IR_Samsung 0x707 0x62 add_dimmer 10
    addEventHandler2 IR_Samsung 0x707 0x65 add_dimmer -10
    addEventHandler2 IR_Samsung 0x707 0x61 led_enableAll 0
    addEventHandler2 IR_Samsung 0x707 0x60 led_enableAll 1
    


    Hello. My IR receiver accepts codes of this type:
    IR_NEC 0x80 0x1 0
    IR_NEC 0x80 0x1 1
    IR_NEC 0x80 0x1E 0
    IR_NEC 0x80 0x1E 1
    If I insert my code into this line
    addEventHandler 2 IR_NEC 0x80 0x1 1 led_enable All 0
    then it doesn't work -
    Info:EVENT:EventHandlers_FireEvent2: executing command 0 led_enable All 1

    If I remove the last digit of the code
    addEventHandler 2 IR_NEC 0x80 0x1 led_enable All 0
    then everything works, but then some buttons of the remote control do not differ from each other.
    Tell me how to do it correctly, or where to find training in scripts and OBK commands?
  • #10 20419877
    p.kaczmarek2
    Moderator Smart Home
    OBK is in rapid development so some things are added on the fly. You can look on our youtube channel for more guides, also check our docs and commands list.
    I can add a command for your requirement today, but I have a question.
    alexandrgredasov wrote:

    Hello. My IR receiver accepts codes of this type:
    IR_NEC 0x80 0x1 0
    IR_NEC 0x80 0x1 1
    IR_NEC 0x80 0x1E 0
    IR_NEC 0x80 0x1E 1
    If I insert my code into this line

    Is the "0" or "1" value, the extra one you need, a repeats value from IRLibrary or an extra field from IR Library?
    You took that data from our log, yes? So it's a repeat bit?
    [CB3S] Globo Connor 41386-30sh ceiling light 30W with IR remote

    I will be just adding "addEventHandler3" for you, it's a very easy modification. It will have an extra argument, which is that 'repeats' value.

    Would that solve your issue?
    Helpful post? Buy me a coffee.
  • #11 20419996
    alexandrgredasov
    Level 4  
    p.kaczmarek2 wrote:
    Would that solve your issue?

    Hello, thank you for the answer and for your work in general!
    Upon closer examination, I found out that the last digit is not part of the code. At least it can be 0 and 1 at different times on the same button. And now I don't understand at all how to distinguish codes from buttons that are similar to each other (on my remote it's the ON/OFF button, left/right, top/bottom, and +/-, and Auxilary too)
    [CB3S] Globo Connor 41386-30sh ceiling light 30W with IR remote
    I bought in December from this seller.
    https://aliexpress.ru/item/1005004702068576.h...l.0.0.60c44aa6E5B2wE&sku_id=12000030155268016
    The price was about $15. I have 10 of them (there is something to experiment on). In principle, I am satisfied with the purchase, two lamps for a room of 15m2 are perfectly enough.

    Added after 28 [minutes]:

    I understood. This is a bad remote. That's how he works. Other remotes work fine! Thanks for your attention :)
  • #12 20420086
    p.kaczmarek2
    Moderator Smart Home
    I don't think it's a bad remote. I think it may have a sub codes. Can you help me with testing that?
    Helpful post? Buy me a coffee.
  • #13 20420139
    alexandrgredasov
    Level 4  
    Of course, I will help in any way I can. But I made sure that this remote control works that way, it has these buttons duplicated (I checked on Tuya's native firmware)

    Added after 54 [seconds]:

    But if this is not the case, I will be only glad
  • #14 20420148
    p.kaczmarek2
    Moderator Smart Home
    So Tuya native firmware also sees both buttons as duplicated?
    Helpful post? Buy me a coffee.
  • #15 20420152
    alexandrgredasov
    Level 4  
    on native firmware (tuya), my remote duplicates actions when you press up/right, and down/left. Also, when you press ON, the lamp turns on and off alternately. The same when pressing OFF. Etc
  • #16 20980824
    roguezet
    Level 4  
    p.kaczmarek2 wrote:
    Hmm okay so please do fiirst a full 2MB flash read (if you can), for the firmware backup, and then flash OBK and try to configure it. I will help if any issue arises.


    I got all working. So with 41386-30sh with BK7231T it also works.
    The Pin mapping is a bit different though:
    Code: JSON
    Log in, to see the code

    Now I am trying to implement the lamp into my Loxone Smart Home via MQTT.
    I mainy need the commands Dimmer and Temperature.
    How can I set these via MQTT?
    Also, how can I set up a default "wakeup-state"? I only found a flag for remembering last state.

    Best regards,
    Matthias
  • #17 20983472
    p.kaczmarek2
    Moderator Smart Home
    Wake up state can be easily set with startup command or autoexec.bat in LittleFS. You can put any supported command there, here's the commands list:
    https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/commands.md
    So, you can, for example, put there a led_basecolor_rgb command and it will run at startup. The same for led_enableAll. Use backlog for multiple commands.
    Helpful post? Buy me a coffee.

Topic summary

The discussion revolves around the Globo Connor 41386-30sh ceiling light, which features a Beken CB3S chip (BK7321N). The original poster successfully flashed the device with openBK firmware and shared their experience with configuring the IR remote control. Other participants provided insights on IR code handling, including commands for dimming and temperature adjustments via MQTT. They discussed the IR receiver's location, shared pin configurations, and offered troubleshooting advice for remote control issues. Additionally, there were inquiries about flashing similar models and setting default states for the device.
Summary generated by the language model.
ADVERTISEMENT