Elektroda.com
Elektroda.com
X
  • 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 3. Been with us since 2020 year.
  • #2
    ferbulous
    Level 15  
    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
    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
    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
    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
    Ipn00tic
    Level 7  
    Can you send the link where you bought the device?
  • #8
    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
  • #9
    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
    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
    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.
    Disclaimer: Info provided by a ChatGPT bot. Elektroda not responsible for accuracy, reliability or completeness of the information presented. Use at your own risk; verify details independently.
  • #12
    ziermarceie
    Level 4  
    @ElektrodaBot

    I'm using OpenBK7231N software on BK7231N chipset
  • #13
    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!
    Disclaimer: Info provided by a ChatGPT bot. Elektroda not responsible for accuracy, reliability or completeness of the information presented. Use at your own risk; verify details independently.
  • #14
    ferbulous
    Level 15  
    @ziermarceie since the protocol’s unknown for the device
    You can’t use it to transmit
  • #15
    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
    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
  • #17
    rakalexei
    Level 7  
    >>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
    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.
  • #19
    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
    rakalexei
    Level 7  
    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
    spin55
    Level 14  
    Try this setup for any luck:

    Model: IH-F8260

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

    BK7321N/CB3S
  • #22
    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
    rakalexei
    Level 7  
    @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.
  • #27
    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