Sofabaton X2: a Logitech Harmony Successor and Homey remote

The Sofabaton X2 remote control recently launched for $289, excluding shipping and taxes. It features a database of 500,000 device codes and is already integrated with Home Assistant. The average battery life is said to be 30 days.
Do any Homey users already have the X2, and are there sufficient options for creating a user-friendly connection with Homey? YouTube already has several first-impression videos of the X2.

At first glance, this seems like a good successor to the Logitech Harmony. The delivery time is currently 15 days.

The Sofabaton supports MQTT (local) and IP addresses (webhook cloud).

So I think manual configuration for a Homey connection is possible. A user-friendly Homey app might be a next step. Are there any skilled developers who feel called upon to create a nice Homey app for this?

I would like to share my first experiences with the Homey integration on my Sofabaton X2.

MQTT
First I installed 3 MQTT Homey apps:

  • MQTT broker: MQTT server
  • MQTT client: sending en receiving MQTT messages to and from devices
  • MQTT hub: (not mandatory) setup MQTT communication channels for external apps to discover and control the Homey devices. Activate the Home Assistant Discovery option during setup and activate the devices to be synced with X2.

In the Sofabaton X2 app I defined the Connection to Home Assistant, which is in fact a MQTT connector with Home Assistant protocol.

In the X2 app define MQTT devices. Only give them a name, and the device_id and key_id (=button id) will be generated.

Install MQTT Explorer (not mandatory, but Homey MQTT hub app recommended) to visualize MQTT trafic, and to get the X2 unique device number and device parameters.

In Homey define a flow with the MQTT client to trigger the X2 device activity. Filter with logic on device_id and key_id (one text variable), and execute your Homey command (in my case switch lights on or off)

The X2 device could look like this:

Webhook
With api calls (webhooks) it is possible to start a X2 activity (activate multiple devices, like: turn on tv, receiver and speakers, and select channel 1). Activating the X2 api interface, the app generates an url.

Copy the X2 url link and paste this in a Homey flow POST logic. In this case: start activity view TV.

Developers of Home Assistant have created a complete X2 integration, which is fully documented on GitHub. Hopefully someone with programming skills can create a Sofabaton X2 integration for Homey, allowing more possibilities and a more user friendly interface.

Hello,

I use the Sofabaton X2 as a Klikaanklikuit RF remote and this works with homey. Sofabaton x2 learns the commands the normal way and homey recognizes thies commands. I use the commands in sofabatons startup and shutdown sequences in activities,

17685767481062000950498466675202

1800ร—4000 758 KB

17685767182713191192964201988822

1800ร—4000 895 KB

In homey you choose the klikaanklikuit YCT-102.

Now i have 32 โ€œbuttonsโ€ to choose from. Plenty to set lights en curtains and so on.

SofaBaton X2 now works with Homey - my app has just been approved ๐ŸŽ‰

Hi everyone ๐Ÿ‘‹

I have spent the last couple of weeks building a Homey app for the SofaBaton X2

The universal remote passed Homeyโ€™s strict certification today!, and it is now live in the official Homey App Store.

Until now the X2 could not talk to Homey at all. Now it can, and it works in both directions:

๐Ÿ“บ Homey โ†’ SofaBaton

A Flow card, โ€œOn [device]: press [key]โ€, sends commands to everything you have set up in your X2 - TV, amplifier, aircon, projector, fan. Both IR, RF and Bluetooth. So Homey can turn on the TV.

๐ŸŽ›๏ธ SofaBaton โ†’ Homey

Press a button on the remote, and a Flow starts in Homey. One press from the couch can dim the lights, close the curtains and roll the film. Your devices and keys show up as ordinary dropdown menus in the Flow editor. No raw JSON or cryptic codes. And the hub is found automatically on the network,

So setup is just a few taps.

LINKS

The app in the Homey App Store:

https://homey.app/a/com.repairguydk.sofabatonx2/

๐Ÿ”—

Illustrated step-by-step guide (I warmly recommend starting here):

https://repairguydk.github.io/com.repairguydk.sofabatonx2/

Source code on GitHub (the app is free and open source, MIT):

https://github.com/RepairGuyDK/com.repairguydk.sofabatonx2

The MQTT Broker app you will need (free, by Menno van Grinsven):

https://homey.app/a/nl.scanno.mqttbroker/

I have been using my x2 in homey for a while now through mqtt, to send commands to homey and I have the sofabaton x1s intergration in HA so homey can get the remote states in homey.
if i set up your app will have to start over or will it work with your app.