Sofabaton X2 - Home Assistant Device Control & Integration Through MQTT

Опубликовано: 17 Май 2026
на канале: TekScene
2,254
35

In this video, I focus on how to integrate the Sofabaton X2 with Home Assistant, covering the configuration needed on both sides to make them work together seamlessly.

🛒 WHERE TO BUY:
💬 Want to order direct? Reach out to us at TekScene - we can get you set up with the right remote for your home theater or smart home setup!
🏪 Official SofaBaton Store : https://www.sofabaton.com/?utm_source...
⭐ Sofabaton X2 w/ IR Repeater: https://amzn.to/3N0Kdm3
⭐ Sofabaton X2: https://amzn.to/3MvZ1Zu
Sofabaton X1S (Previous Gen): https://amzn.to/48xJWPE
Sofabaton U2 (Universal, not Smart) : https://amzn.to/3Kt4f7J

Rather than diving into activities or button mapping (which works the same as with regular devices), this video concentrates on the core integration:

Chapters
00:00 Introduction
01:41 X2 communication with HA
01:52 Installing MQTT in HA
03:43 Connecting X2 to MQTT
04:34 Creating an HA device and commands
05:54 Validating message from X2
07:58 Configuring MQTT as a source for HA
09:05 Creating Automation from MQTT Messages
18:53 Message Queueing
20:30 Sharing my devices/automations
20:59 Dedicated Device for System On/Off
23:25 Including HA devices in Activities
24:18 Wrap-up!

🔧 What’s covered:
Sofabaton X2 configuration for Home Assistant use
Home Assistant MQTT / event setup (as applicable)
Required devices and helpers in Home Assistant
Automation examples triggered by the X2

🎬 This approach keeps the Sofabaton X2 acting like a standard remote, while Home Assistant handles the intelligence behind the scenes—ideal for home theaters and smart homes.

👍 If you found this useful, feel free to like, subscribe, and leave a comment with questions or ideas for future Home Assistant content.

Code Snippets
MQTT Trigger (When)
------------------------------------
trigger: mqtt
options:
topic: FC012C3922DC/up
value_template: "{{ value_json.device_id }}"
payload: "1"
------------------------------------

Choose Option Condition
------------------------------------
{{ trigger.payload_json.key_id == 1 }}
------------------------------------

Our Top Amazon Picks!
Media Sources : https://amzn.to/3OfdKsl
HDMI Cables : https://amzn.to/4k9PvYL
Universal Remotes : https://amzn.to/4kddiH5

📱 CONNECT WITH TEKSCENE:
🌐 Website: https://www.tekscene.com
📧 Email: [email protected]
📍 Serving Chapin, SC and surrounding areas

📌 Disclosure: As an Amazon Associate, I earn from qualifying purchases. This unit was purchased with my own personal money.