# Best practice for matter over thread siwtch

**URL:** <https://community.homey.app/t/best-practice-for-matter-over-thread-siwtch/143092>\
**Category:** Questions & Help\
**Created:** [September 17, 2025, 5:14am UTC](https://community.homey.app/t/best-practice-for-matter-over-thread-siwtch/143092 "2025-09-17T05:14:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jumeira](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jumeira/32/69412_2.png) [@Jumeira](https://community.homey.app/u/Jumeira)\
**Post date:** [September 17, 2025, 5:14am UTC](https://community.homey.app/t/best-practice-for-matter-over-thread-siwtch/143092/1 "2025-09-17T05:14:27Z")

</div>

I’m testing a new Matter 1.4 / Thread 1.4 switch with Homey, and I plan to use it to control a Shelly 4PM through Homey. The commands will go from the switch to Homey, and then from Homey to the Shelly device. What’s the best way to ensure stable and reliable operation in this setup? Is it sufficient to rely only on Flows, or is there a better approach—such as combining Flows with HomeyScript or direct Matter/Thread bindings—for more consistent performance?

The device I am testing has 6 gangs (3 relays buttons + 3 scenarios buttons), each button has single, double and long press functionality. So far the relays are only exposed to homey while the scenarios buttons are not (they are visible when i add the device directly to homekit).

So this is my approach to to control the lights, does it make sense? is there a better way more reliable (for whole home, more than 30 relays)?

 ![Screen Shot 2025-09-17 at 09.09.05](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/5/056d72154f7e0dbae6cc7869d2bbcab6e1ff6a9b.jpeg)

Here are the when cards in the flows.

 ![Screen Shot 2025-09-17 at 09.13.31](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/4/64289373818fc70dfb06d1da36446a703d8ead54.png)

---

<div class="post-metadata">

**Author:** ![Jumeira](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jumeira/32/69412_2.png) [@Jumeira](https://community.homey.app/u/Jumeira)\
**Post date:** [September 19, 2025, 1:35pm UTC](https://community.homey.app/t/best-practice-for-matter-over-thread-siwtch/143092/2 "2025-09-19T13:35:40Z")

</div>

Anyone please!

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [September 19, 2025, 3:11pm UTC](https://community.homey.app/t/best-practice-for-matter-over-thread-siwtch/143092/3 "2025-09-19T15:11:25Z")

</div>

> [@Jumeira](#):
>
> or is there a better approach—such as combining Flows with HomeyScript or direct Matter/Thread bindings

I have no clue why that would be a better approach. So I would go with flows.
