# Switch - SONOFF TX

One of the most exciting features in **CUBE OS** is the **Matter Bridge**.\
This gives many older WiFi devices a second life. They can now join ecosystems like **Apple Home** without relying on the eWeLink cloud and be controlled through Apple Home, Siri, HomePod, Apple Watch, and other Apple ecosystem entry points.

In this post, I’ll share my hands-on experience: bringing my old **SONOFF TX wall switch** back to life, connecting it to the Apple ecosystem via CUBE OS.

<div align="left"><figure><img src="https://67406449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCnF8kmk9yw3yiy2mRerq%2Fuploads%2FDsspKjGz8S1Lka51yqAf%2Fimage.png?alt=media&#x26;token=9aa13d88-cfb5-4e68-884d-76336a3ff81d" alt="" width="375"><figcaption></figcaption></figure></div>

## Steps <a href="#p-240464-my-steps-1" id="p-240464-my-steps-1"></a>

{% stepper %}
{% step %}
Pick up an old TX wall switch I had lying around, wired it to a ceiling light, and got ready to see how well this experience works.

[![IMG\_2218](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/optimized/2X/6/6e9e9397b053576eb006192454fd197cb3188a88_2_333x250.jpeg)](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/6/6e9e9397b053576eb006192454fd197cb3188a88.jpeg)
{% endstep %}

{% step %}
On my Ugreen NAS, I installed **CUBE OS** inside a virtual machine and got it running smoothly.\
Installation tutorials can be found in the [Installation & User Guide.](https://cube.ewelink.cc/getting-started/quickstart)

[![IMG\_2220](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/optimized/2X/f/f52c37571015509e4feefbd732043d29acfdef2c_2_187x250.jpeg)](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/f/f52c37571015509e4feefbd732043d29acfdef2c.jpeg)
{% endstep %}

{% step %}
Once CUBE OS was up and running, I access to the interface via `cube.local` (or the IP of the CUBE).\
From the sidebar, I clicked on the **Docker (whale icon)**, installed the **eWeLink Smart Home Addon**, logged in with my eWeLink ID, and synced my WiFi devices into CUBE OS.\
This step pulls the control keys from the cloud - after that, you can say goodbye to eWeLink Cloud.

[![image](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/a/a188db46379d41bf306e3f1db82b2d1eb19af9ff.png)](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/a/a188db46379d41bf306e3f1db82b2d1eb19af9ff.png)
{% endstep %}

{% step %}
Next, from the CUBE OS sidebar, I clicked the **Matter** icon. Following the UI guide, I generated a pairing code, then scanned it with my iPhone in the **Apple Home** app.\
It felt exactly the same as adding a HomeKit device - no extra steps.\
If you see a prompt like *“Adding an uncertified device”*, just continue. (CUBE OS is currently under CSA certification.)

[![image](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/optimized/2X/1/1b01e7f3e7ceb8362c4d742bc7e963161316aa15_2_517x151.png)](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/1/1b01e7f3e7ceb8362c4d742bc7e963161316aa15.png)
{% endstep %}

{% step %}
I customized the device name and assigned it to a room - the same steps as with any HomeKit device.

[![IMG\_E0000C871DD3-1](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/optimized/2X/4/469395c49b845ebc6f857ad58fca773eabacac77_2_172x375.jpeg)](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/4/469395c49b845ebc6f857ad58fca773eabacac77.jpeg)
{% endstep %}

{% step %}
Now for the fun part - controlling my TX switch through Apple Home and Siri on different devices:

* iPhone Apple Home
* iPhone Siri
* iPad Apple Home
* iPad Siri
* HomePod mini Siri
* Apple Watch Apple Home
* Apple Watch Siri
  {% endstep %}
  {% endstepper %}

## **Thought**

The whole process was easy. The most “complex” part was installing CUBE OS on my NAS, but even that was straightforward with the tutorial. Once CUBE OS was running, everything else was just following the UI.

My old **TX wall switch** now feels brand new, fully working inside the Apple ecosystem.&#x20;

Highly recommend everyone try CUBE OS to bring a second life to your older WiFi devices!
