logo elektroda
logo elektroda
X
logo elektroda

Configuring OpenBeken for Auvisio with WB3S to Use IR via MQTT

aldaris1 579 5
ADVERTISEMENT
  • #1 21445116
    aldaris1
    Level 2  
    Hi,

    all. I wanted to buy auvisio and use tasmota to use IR via MQTT. However, my version was sentimental with WB3S, thus, I want to switch to openbeken. I managed to update the firmware successfully, but have no idea how to configure so I can, e.g. read button and/switch LED before activating ir.
    Any suggestion on how to start my investment?

    Regards
    Electronic circuit board with several LEDs and electronic components.
    Close-up of a circuit board with a WB3S module and wires.
    AI: Could you please specify the exact model of your Auvisio device?
    S06 Pro
  • ADVERTISEMENT
  • Helpful post
    #2 21445299
    p.kaczmarek2
    Moderator Smart Home
    I think you can start with Tuya Config extraction. This will tell you which GPIOs are used for IR diode and receiver:
    https://www.youtube.com/watch?v=WunlqIMAdgw&ab_channel=Elektrodacom
    Then it depends on what exactly do you want to do, do you want IR events to go through Home Assistant? Do you want to send IR commands or do you want to receive them?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 21445478
    aldaris1
    Level 2  
    I tried to read config. Furthermore, the Template Tuya IR matches, so I choose that one. With that template, I can switch LED as well as see IR signals from TV remote in the log

    Info:IR:IR IR_RC5 0x10 0x33 0 (13 bits)

    My goals is to
    A) Send These ir detected event via mqtt
    B) Send IR Signals Based on a mqtt message

    MQTT is up, running and connected.

    The ir Event (See above) I do not see in mqtt and I don't what topic to send to emit the same event
  • ADVERTISEMENT
  • #4 21451896
    p.kaczmarek2
    Moderator Smart Home
    Have you checked docs? To get IR publish, you need to enable a flag:
    https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/flags.md
    
    [IR] Do MQTT publish (Tasmota JSON format) for incoming IR data
    

    To send command, you need to use cmnd topic:
    https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/mqttTopics.md
    
    cmnd/OBK_DEV_NAME/COMMAND_TEXT	COMMAND_ARGUMENTS	You can execute any command supported by OpenBeken, just like in Tasmota
    

    There is IRSend command:
    https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/commands.md
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #5 21451915
    aldaris1
    Level 2  
    Hi,
    I found those settings. Both send and receive works.

    Last thing is, the commands dont reach the tv seldom. I used the repeat option (3). Thus, it works very often. The original Remote did sent the command three times.

    Thanks for helping.
    I ordered some more beken devices :-)
ADVERTISEMENT