logo elektroda
logo elektroda
X
logo elektroda
ADVERTISEMENT
  • Disassembly and box pictures:

    Aubess WiFi Smart IR Controller Aubess WiFi Smart IR Controller Aubess WiFi Smart IR Controller Aubess WiFi Smart IR Controller Aubess WiFi Smart IR Controller Aubess WiFi Smart IR Controller Aubess WiFi Smart IR Controller

    I bought it on AliExpress

    Datasheet

    Flashing:
    I flashed with the hid_download_py tool (uartprogram, same as described HERE ), using the UART testpoints located on the board. PIN 18 (CEN) needed to be shorted to GND to reset.
    I was then able to use the device with this pin configuration:
    PINPIN Setting
    7IRSend
    8IRRecv
    24LED_n


    I was also able to send and receive IR codes:

     IRSEND NEC 0xE384 0x24 0
    


    And was able to add to Home-Assistant via MQTT with this yaml config:
     
    mqtt:
      switch:
        - unique_id: "OpenBekenLampa"
          name: "Íróasztali lámpa ki-be kapocsoló"
          command_topic: "cmnd/obk1F6F8DD6/IRSend"
          qos: 1
          payload_on: "NEC 0xE384 0x24 0"
          payload_off: "NEC 0xE384 0x24 0"
          retain: true

    Cool? Ranking DIY
    About Author
    t3hl34d3r
    Level 2  
    Offline 
    t3hl34d3r wrote 2 posts with rating 5. Been with us since 2020 year.
  • ADVERTISEMENT
  • #2 20284705
    ferbulous
    Level 18  
    Thanks!
    Just ordered this a few days ago, I was expecting they'd be using WB3S but I guess they've replaced it with CBU now
  • #3 20347978
    rush56
    Level 4  
    Hey there. I have one of these, i flashed it.. But i have no idea how to use.

    Could you give me any short info on how to teach it an ON and OFF button from my AC remote? It does not respond to my old AC remote.. However it does respond to Samsung TV remote.. Also once we figure, if we do, why i get no command from AC remote, which i could teach in tuya app, how do i use that data to make automation in HA based on temperature sensor to turn it ON and OFF.. So far only that, no changing in temperature.

    Thanks :)
  • #4 20348190
    t3hl34d3r
    Level 2  
    Hello!

    I first configured MQTT on the device:
    Aubess WiFi Smart IR Controller

    and mosquitto on HA side.
    After that I opened the webapp on the device and configured the pins like this:

    Aubess WiFi Smart IR Controller

    After that I went to the Logs tab, and enabled IR and MQTT log feature and pointed my xiaomi lightbulb remote to the device and pushed the on-off button. The following messages appeared:

    Info:MQTT:Publishing val IR_NEC 0xE384 0x24 0 to obk1F6F8DD6/ir/get retain=0
    Info:IR:IR MQTT publish IR_NEC 0xE384 0x24 0 took 2ms
    Info:MQTT:Publishing val IR_NEC 0xE384 0x24 1 to obk1F6F8DD6/ir/get retain=0
    Info:IR:IR MQTT publish IR_NEC 0xE384 0x24 1 took 1ms
    Info:MQTT:Publishing val IR_NEC 0xE384 0x24 0 to obk1F6F8DD6/ir/get retain=0
    Info:IR:IR MQTT publish IR_NEC 0xE384 0x24 0 took 2ms
    Info:MQTT:Publishing val IR_NEC 0xE384 0x24 1 to obk1F6F8DD6/ir/get retain=0
    Info:IR:IR MQTT publish IR_NEC 0xE384 0x24 1 took 1ms


    From this I learned that the code to turn the lightbulb on/off I need to send the "NEC 0xE384 0x24 0" payload via MQTT. The topic to send to is: "cmnd/<Client ID>/IRSend" where the <Client ID> is the client ID of the device from the MQTT configuration tab. For me it is obk1F6F8DD6 so the MQTT topic is: "cmnd/obk1F6F8DD6/IRSend"

    With this information I added the following to HA's configuration.yaml:

    mqtt:
      switch:
        - unique_id: "OpenBekenLampa"
          name: "Íróasztali lámpa ki-be kapocsoló"
          command_topic: "cmnd/obk1F6F8DD6/IRSend"
          qos: 1
          payload_on: "NEC 0xE384 0x24 0 NEC 0xE384 0x24 0"
          payload_off: "NEC 0xE384 0x24 0"
          retain: true


    And with this I was able to control the lightbulb from HA. You should be able to do something similar with your AC, your IR codes will be different ofc.
  • #5 20348309
    rush56
    Level 4  
    Thanks for explaining.

    Do you maybe know what to do if no code is displayed in log for AC remote?

    It is like it is not supported here. Nothing shows up

    Another remote (for Samsung TV) works and shows up in logs.. Maybe we would need to ask p.kaczmarek2 about it..

    Considering it was recognized in Smartlife, it should work with some modification..

    Added after 20 [minutes]:

    Info:IR:IR IR_Samsung 0x707 0xE6 0
    Info:IR:IR IR_Samsung 0x707 0xE6 1
    Info:IR:IR IR_Samsung 0x707 0x2 1
    Info:IR:IR IR_Samsung 0x707 0xE6 1
    Info:IR:IR IR_Samsung 0x707 0x2 1

    I get this with Samsung TV, but nothing happenes when i press AC remote ON/OFF, well, besides my AC turns on and off.

    Besides setting MQTT i can discover it in HA, but no logs as you copied about MQTT, even for Samsung TV. And i have it checked in console.
  • #6 20348641
    Ipn00tic
    Level 8  
    Can you send the link where you bought the device?
  • #8 20348871
    p.kaczmarek2
    Moderator Smart Home
    Here's the screenshot from the link, just in case, because links tends to expire rather quickly on Ali:
    Aubess WiFi Smart IR Controller

    @rush56 can you wait a bit? We are aware about the problem. It is simply because we have slightly older IR library. It's just not added yet. Someone needs to backport the mentioned protocol to us. It's not a big problem, as we are using the IRRemote, the same as others..

    Related topic about IR remote:
    [BK7231T] WiFi RGB LED controller with IR remote control masterLED AIP-Future TY
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #9 20348976
    rush56
    Level 4  
    Yeah no problem. But as you say you have old IR library... My AC is like.. Over 10yrs old. Maybe 15. Will have to swap soon, but it still works without any servicing or adding new gas.
  • #10 20549106
    ziermarceie
    Level 4  
    >>20348190
    @ElektrodaBot
    Hello

    Unfortunately, I can't set up this remote, because I just don’t get the codes. When I send commands from the remote, I get this in console:

    Info:MQTT:Publishing val {"IrReceived":{"Protocol":"UNKNOWN","Bits":32,"Data":"0xD68EB9B2"}} to obk1FCB04B9/RESULT retain=0

    How can I use this code, to add the integration to home assistant?

    Thanks in advance
  • #11 20549255
    ElektrodaBot
    AI OpenAI ChatGPT4
    ziermarceie wrote:
    Hello

    Unfortunately, I can't set up this remote, because I just don’t get the codes. When I send commands from the remote, I get this in console:

    Info:MQTT:Publishing val {"IrReceived":{"Protocol":"UNKNOWN","Bits":32,"Data":"0xD68EB9B2"}} to obk1FCB04B9/RESULT retain=0

    How can I use this code, to add the integration to home assistant?

    Thanks in advance
    Hello!

    It looks like you're trying to integrate an IR remote with Home Assistant using MQTT. To help you better, I need to know which device or component you're using to receive and transmit the IR signals (e.g., ESP8266 or ESP32 with Tasmota or ESPHome firmware).

    Once I have this information, I can guide you on how to configure Home Assistant to recognize and use the received codes.
    You can call me in any topic by writing @ElektrodaBot. Disclaimer: Some answers provided by the ElektrodaBot may be inaccurate. Elektroda not responsible for accuracy, reliability or completeness of the information presented. All ElektrodaBot responses should be verified by the user. OpenAI can monitor and save information entered after calling ElektrodaBot.
  • #12 20549257
    ziermarceie
    Level 4  
    @ElektrodaBot

    I'm using OpenBK7231N software on BK7231N chipset
  • #13 20549258
    ElektrodaBot
    AI OpenAI ChatGPT4
    ziermarceie wrote:
    I'm using OpenBK7231N software on BK7231N chipset
    Hello! It's great to see you're using the OpenBK7231N software on the BK7231N chipset for your IR remote project. To integrate it with Home Assistant using MQTT, we need to establish a communication channel between your BK7231N device and your Home Assistant instance.

    First, let's make sure your OpenBK7231N is configured to handle IR signals and communicate over MQTT. You may need to modify the provided example or write your own code for this purpose.

    1. Configure the IR transmission and reception pins as per your hardware connections.
    2. Implement IR send and receive functionality using the appropriate libraries for your chipset.
    3. Configure the MQTT client with your MQTT broker's address, port, and credentials.

    Now, assuming your OpenBK7231N is correctly set up, let's configure your Home Assistant to send and receive IR codes via MQTT:

    1. Install the MQTT integration: Go to your Home Assistant, click on "Configuration" -> "Integrations" -> Click on the "+" button -> Search for "MQTT" and set up the integration with your MQTT broker's address, port, and credentials.

    2. Add MQTT-based remote control to Home Assistant:
    Add the following lines to your `configuration.yaml` file, adjusting the `command_topic`, `state_topic`, and `name` as needed:

    ```yaml
    remote:
    - platform: mqtt
    name: "Your_Remote_Name"
    state_topic: "your_remote/state"
    command_topic: "your_remote/command"
    optimistic: true
    qos: 0
    retain: true
    payload_on: "ON"
    payload_off: "OFF"
    value_template: "{{ value }}"
    ```

    3. Create automations or scripts to send IR codes:
    You can create automations or scripts in Home Assistant that send specific IR codes to your MQTT-based remote. Here's an example of a script that sends an IR code:

    ```yaml
    script:
    send_ir_code:
    alias: "Send IR Code"
    sequence:
    - service: remote.send_command
    target:
    entity_id: remote.your_remote_name
    data:
    command: "your_ir_code_here"
    ```

    4. Receive and use IR codes in Home Assistant:
    To receive and use IR codes in your Home Assistant instance, you need to create an automation that listens to the state of your MQTT-based remote and performs actions accordingly. Here's an example:

    ```yaml
    automation:
    - alias: "Receive IR Code"
    trigger:
    platform: state
    entity_id: remote.your_remote_name
    action:
    - service: script.turn_on
    target:
    entity_id: script.your_action_script_name
    data:
    variables:
    ir_code_received: "{{ trigger.to_state.state }}"
    ```

    Make sure to replace the placeholders with your actual values and topics. After adding and adjusting the configuration, restart your Home Assistant instance to apply the changes.

    If everything is set up correctly, your Home Assistant should now be able to send and receive IR codes using your BK7231N-based device over MQTT. Let me know if you have any questions or need further assistance!
    You can call me in any topic by writing @ElektrodaBot. Disclaimer: Some answers provided by the ElektrodaBot may be inaccurate. Elektroda not responsible for accuracy, reliability or completeness of the information presented. All ElektrodaBot responses should be verified by the user. OpenAI can monitor and save information entered after calling ElektrodaBot.
  • #14 20549509
    ferbulous
    Level 18  
    @ziermarceie since the protocol’s unknown for the device
    You can’t use it to transmit
  • #15 20550104
    ziermarceie
    Level 4  
    @ferbulous

    Hi,

    But i have the same problem with other remote. For example, i have Sony TV remote which sends this code:

    Info:IR:IR IR_Sony 0x1 0x15 1

    But when i'm trying to turn on my TV with this code, nothing happens.

    I'm using this command in the console:

    IRSEND IR_Sony 0x1 0x15 1

    Replay from console:

    Info:IR:Delay 100ms
    Info:IR:IR send IR_Sony 0x1 0x15 1 protocol 0 addr 0x1 cmd 0x15 repeats 1

    Added after 1 [hours] 14 [minutes]:

    Well, i have progress
    I have a remote controlled heater. It sends the following commands:

    Info:IR:IR IR_NEC 0x80 0x8 0

    When i'm sending the following command:
    IRSEND NEC 0x80 0x8 0

    Then my heater reacts to them!

    I can only broadcast commands that come with the NEC prefix?
  • #16 20551597
    p.kaczmarek2
    Moderator Smart Home
    Basic Send should work,as reported by other users:
    rakalexei wrote:
    @pkaczmarek2
    Good day, I solve the issue, and found the correct PIN, I'm able to receive and send commands to my Samsung TV/quote]
    Source: https://www.elektroda.com/rtvforum/topic3961676.html

    The more advanced protocols are WIP: https://github.com/openshwprojects/OpenBK7231T_App/pull/723 if someone know C and wants to contribute, feel free to look into linked pull request
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #17 20551713
    rakalexei
    Level 8  
    >>20550104

    Hey, you are sending it in the wrong way,

    IRSEND IR_Sony 0x1 0x15 1 - wrong

    IRSEND Sony 0x1 0x15 1 (IRSEND Sony-1-15-1) - correct.
  • #18 20551722
    p.kaczmarek2
    Moderator Smart Home
    @rakalexei you are correct, thanks, I haven't noticed it. I will update the code today or tomorrow to print more warnings.
    Helpful post? Buy me a coffee.
  • #19 20552992
    ziermarceie
    Level 4  
    >>20551713

    Just tried it, TV still not responding :(
    I also tried with 3 to 5 repeats, but it did not affect anything.

    I also have an air conditioner that runs on the PulseDistance protocol.

    The air conditioner sends the following code:

    Info:IR:IR IR_PulseDistance 0xD21 0xD0B 0

    I am sending this:

    IRSEND PulseDistance-21-0-0

    But there is also no reaction.
    Can you please check that the code I am sending is correct?
  • #20 20553047
    rakalexei
    Level 8  
    Could you please check with the camera using your phone (iPhone will not work, only Android), when you send the code, you should see the blinking leds on the device through the camera. If it's not, then the PIN for IRSEND is not correct, I had this issue, so with my camera, I tried few of them and found the correct one.
  • #21 20553238
    spin55
    Level 17  
    Try this setup for any luck:

    Model: IH-F8260

    P6 --> Btn
    P8 --> LED / WifiLED_n
    P7 --> IRRecv
    P26 --> IRSend

    BK7321N/CB3S
  • #22 20554212
    ziermarceie
    Level 4  
    >>20553047

    Yep, i already tried

    So for "NEC" there is blink from led

    For "Samsung" there is also a blink from led

    For "LG" there is also a blink from led

    But for "Sony" or "PulseDistance" there is nothing. I already wrote about that in GitHub, but no one answered

    So, how can i search for correct PIN ?
  • #23 20554325
    rakalexei
    Level 8  
    @ziermarceie

    If the LED is blink then the PIN is correct. Probably you have to wait when they update the IR library to a new one, they are working on it right now.
  • #24 20554423
    p.kaczmarek2
    Moderator Smart Home
    The new testing build with IR can be found here, now for both T and N:
    https://github.com/openshwprojects/OpenBK7231T_App/pull/723
    but download at your own risk!
    Helpful post? Buy me a coffee.
  • #27 20555261
    ziermarceie
    Level 4  
    HI
    Thanks for your explanation, i installed this software

    Well, a have new logs, but my devices still not react :(
    For exemple, protocol "PulseDistance" change to "TECO"

    I'm receiving this in console:

    Info:IR:IR TECO 0 0 1
    Info:IR:IR TECO,35,0x250000504

    So i tried to send this code:

    IRSEND TECO-0-0-1

    But unfortunately, it says that this protocol is unsupported:

    Error:IR:IR send TECO protocol not supported

    Same with Sony

    I'm receiving this in console:

    Info:IR:IR SONY 1 15 1

    I'm sending this:

    IRSEND SONY-1-15-1

    Console response:

    Error:IR:IR send SONY protocol not supported
  • #28 20634624
    jkwim
    Level 12  
    I bought the following device from Aliexpress:
    https://vi.aliexpress.com/item/1005005504887897.html
    Aubess WiFi Smart IR Controller

    The device says model LQ-Y06:
    Aubess WiFi Smart IR Controller

    Managed to get a picture of the PCB model by holding a light through the black plastic:
    Aubess WiFi Smart IR Controller

    Tasmota Templates suggested that it should be a WB3S device which is BK7231T.
    Link

    Tuya firmware:
    Main Module: V2.0.0
    MCU Module: V2.0.0

    So I tried using cloudcutter for BK7231T profiles but none of them were successful.

    Then I came across this Forum Thread and decided to try a BK7231N profile.

    The following cloudcutter profile enabled me to flash OpenBK.

    > 2.0.0 - BK7231N / oem_bk7231n_irbox_mol_ty
    > Aubess
    > IR Remote Controller


    Tried to decode the configuration using GUI Flash Tool but received the following response:

    Aubess WiFi Smart IR Controller

    However, as you can see, there is some info about pins but the tool cannot decode them.
    
    {
    	"reset_pin":"9",
    	"wfst_pin":"24",
    	"owm":"1",
    	"reset_lv":"0",
    	"rsthold":"3",
    	"wfst_lv":"1",
    	"netyc":"1",
    	"infrr":"8",
    	"netnc":"0",
    	"infre":"7",
    	"crc":"72"
    }
     


    So I made the guess that:
    infrr 8 -> Receive 8
    infre 7 -> Emit 7

    and went on to configure with

    PIN PIN Setting
    7 IRSend
    8 IRRecv
    24 LED_n

    Then I tried receiving some signals:

    I can see some signals coming but they are non consistent.

    For example, the following are from the power button of a Panasonic Fan remote:

    
    
    Info:MQTT:Publishing val IR_UNKNOWN 0xC5762D5A 0 to openbk7231N-xxx/ir/get retain=0
    Info:IR:IR MQTT publish IR_UNKNOWN 0xC5762D5A 0 took 8ms
    Info:MQTT:Publishing val {"IrReceived":{"Protocol":"UNKNOWN","Bits":32,"Data":"0xC5762D5A"}} to openbk7231N-xxx/RESULT retain=0
    Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic openbk7231N-xxx/ir/get
    Info:MQTT:Publishing val IR_UNKNOWN 0xBC384B2B 0 to openbk7231N-xxx/ir/get retain=0
    Info:IR:IR MQTT publish IR_UNKNOWN 0xBC384B2B 0 took 6ms
    Info:MQTT:Publishing val {"IrReceived":{"Protocol":"UNKNOWN","Bits":32,"Data":"0xBC384B2B"}} to openbk7231N-xxx/RESULT retain=0
    Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic openbk7231N-xxx/ir/get
    Info:MQTT:Publishing val IR_UNKNOWN 0xF7F0C5E1 0 to openbk7231N-xxx/ir/get retain=0
    Info:IR:IR MQTT publish IR_UNKNOWN 0xF7F0C5E1 0 took 11ms
    Info:MQTT:Publishing val {"IrReceived":{"Protocol":"UNKNOWN","Bits":32,"Data":"0xF7F0C5E1"}} to openbk7231N-xxx/RESULT retain=0
    Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic openbk7231N-xxx/ir/get 
    
    



    Then I upgraded to 1.17.158 but outcome did not change.

    Tried sending some command using IRSSend command but could not observe any IR LED getting lit up when observing via a mobile phone camera.

    Then something came in to my mind.

    Tuya Firmware Versions shows MCU also:
    Main Module: V2.0.0
    MCU Module: V2.0.0

    Gave the command
    StartDriver TuyaMCU
    and its running:

    Aubess WiFi Smart IR Controller

    Now the question is how to configure the TuyaMCU and look at what data it receives?
  • ADVERTISEMENT
  • #29 20634767
    p.kaczmarek2
    Moderator Smart Home
    I don't think it's TuyaMCU. There is no "baud" setting in the JSON.

    TuyaMCU should show heartbeats in Web App log , if that's really TuyaMCU, but I don't think so. Your JSON looks like a JSON of IR device.

    Maybe... IRLED is powered from GPIO? @DeDaMrAz had experienced something like that today.
    Helpful post? Buy me a coffee.
  • #30 20634899
    jkwim
    Level 12  
    p.kaczmarek2 wrote:
    I don't think it's TuyaMCU. There is no "baud" setting in the JSON.


    You are right. I managed to open the device. Will post updates soon.

Topic summary

The discussion revolves around the Aubess WiFi Smart IR Controller, focusing on its disassembly, flashing process, and integration with Home Assistant (HA). Users share experiences with flashing the device using the hid_download_py tool and configuring it for IR transmission and reception. Issues arise with certain remotes not being recognized, particularly older AC units, while others like Samsung TV remotes work effectively. Users discuss configuring MQTT for communication and troubleshooting IR code transmission. The conversation highlights the need for updated IR libraries to support various protocols and the challenges faced when integrating with HA. Additionally, users explore alternative firmware options and hardware configurations to enhance functionality.
Summary generated by the language model.
ADVERTISEMENT