Follow these steps in order and your remote will be talking to Homey in about 15 minutes.
Homey and your SofaBaton send messages to each other through a little middleman called an MQTT broker. Think of it as a post office they both drop letters at. The easiest way is to run one right on your Homey — use this exact app:
Install this broker MQTT Broker — by Menno van Grinsven ↗Now point your remote’s hub at that same broker, so it starts dropping its messages there.
The app is in the Homey App Store. Open this link on your phone or computer, sign in to your Homey, and install:
Homey App Store homey.app/a/com.repairguydk.sofabatonx2/ ↗On the SofaBaton device card in Homey, tap “Refresh devicelist”. After a few seconds your real devices and keys (TV, fan, and so on) show up in the app’s dropdowns.
You’re ready. Here are the two things you can do — both from the Flow editor:
When a SofaBaton button is pressed → Then do anything in Homey. Press a new MQTT button once so it appears in the list.
A Then action: On [device]: press [key] — for example, turn your fan on straight from Homey.