# \[APP\]\[Pro\] SONOFF Zigbee

**URL:** <https://community.homey.app/t/app-pro-sonoff-zigbee/36418>\
**Category:** Apps\
**Tags:** app, zigbee, devices\
**Created:** [October 23, 2020, 9:43pm UTC](https://community.homey.app/t/app-pro-sonoff-zigbee/36418 "2020-10-23T21:43:09Z")\
**Posts on this page:** 20\
**Page:** 26

<div class="post-metadata">

**Author:** ![Inno](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/inno/32/115501_2.png) [@Inno](https://community.homey.app/u/Inno)\
**Post date:** [June 25, 2026, 6:35am UTC](https://community.homey.app/t/app-pro-sonoff-zigbee/36418/519 "2026-06-25T06:35:07Z")

</div>

Well, I get why they are doing this.  
If it’s one man just developping this for fun, I understand they need to get some funds to do it.

However, if there is a succesfull business behind it… it’s a bit sketchy.

---

<div class="post-metadata">

**Author:** ![Inno](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/inno/32/115501_2.png) [@Inno](https://community.homey.app/u/Inno)\
**Post date:** [June 25, 2026, 6:38am UTC](https://community.homey.app/t/app-pro-sonoff-zigbee/36418/520 "2026-06-25T06:38:00Z")

</div>

@Doekse I can get you the email, if you want the detail of their communication.

They also said they’d be helped a lot if they could get the full zigbee interview. I don’t know if this would cancel the crowdfunding or not.

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [June 25, 2026, 9:36am UTC](https://community.homey.app/t/app-pro-sonoff-zigbee/36418/521 "2026-06-25T09:36:33Z")

</div>

It’s an official app! Those are paid for by the brands already, it’s even required for brands to provide test devices according to the App Store Guidelines. Official apps are built in collaboration with brands, so an **official** app developer shouldn’t ask for crowdfunding, they are already provided with test devices by the brands and paid by Athom for building the app.

And if they really wanted to add the devices, they could have just kept the app open source and let others build it for them. But they have removed the source code from the Github

Also, €750 is a lot, especially for the Sonoff devices which are very cheap. I think you can buy every Sonoff Zigbee device 2 times for that money

---

<div class="post-metadata">

**Author:** ![Michael\_Hadjicosta](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michael_hadjicosta/32/121194_2.png) [@Michael\_Hadjicosta](https://community.homey.app/u/Michael_Hadjicosta)\
**Post date:** [June 25, 2026, 9:46am UTC](https://community.homey.app/t/app-pro-sonoff-zigbee/36418/522 "2026-06-25T09:46:19Z")

</div>

Hello everyone,

I have recently transitioned to Homey Pro and am currently migrating my smart home infrastructure. While I have successfully paired my 1-gang switches and set up 2-way flows, I have encountered a few hurdles with my multi-gang devices.

**1. ZBM5 multi-gang switch behavior** I am having trouble configuring 2-way functionality for my 2-gang and 3-gang ZBM5 switches. For my 2-gang units, for example, the first channel is wired to a load (bathroom), and the second channel is intended to act as a remote for a hallway 2-way setup.

While the pairing was successful and both channels are visible in the “WHEN” card, when I attempt to add a “THEN” card, only the main device name appears. I cannot find an option to select or address individual channels for my 2-gang or 3-gang switches. Am I missing a configuration step, or is this a known limitation of the current driver?

**2. Sonoff Water Valve (SWV-ZNE) support** Additionally, my Sonoff Water Valve (SWV-ZNE) is being identified as a generic device, and none of its specific functions are available for use in flows.

**Closing thoughts** I must admit, the inability to treat each gang as a separate device (which is how my previous SmartThings setup operated) is a significant shift for my current workflow. As the majority of my home infrastructure relies on these ZBM5 switches, I am struggling to achieve parity with my previous configuration.

Could you please advise if there are plans to update the drivers to allow for “separate device per channel” for the ZBM5, and if there is a timeline for full support for the SWV-ZNE water valve?

As I only received my Homey Pro yesterday, I am still learning the ecosystem—please let me know if these inquiries should be directed to a specific developer or a different support channel.

Thank you for your time and guidance.

Best regards,

Michael

 ![e19ffeb9-9e0b-4d9f-8ac4-20ce90c88994](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/2/f24b0be7bdddf228466456e12ec832ce6f2c9853.png)

 ![3b95a2a0-c08b-4137-b283-07f566114a46](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/e/ce7c26649fe34acd24ea6083371b755b67ccaa3a.png)

 ![560063a3-481e-4fa3-86cf-3fb6689dcfd0](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/2/22a900ec823f928fecfe350143973e3dd24f731b.png)

 ![1000076689](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/9/999cf83807c84974913bda10cf594e8f371f2700.jpeg)

 ![1000076687](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/a/1ab673b70cee001377c317095c0b59484ed4af07.jpeg)

 ![1000076685](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/0/e0625e83b8ea56ebdaf28f65f09c1d9d80b83869.jpeg)

 ![1000076683](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/b/4bbfe0f75131618b7941e1b78fdc44774cf65800.jpeg)

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [June 25, 2026, 11:38am UTC](https://community.homey.app/t/app-pro-sonoff-zigbee/36418/523 "2026-06-25T11:38:46Z")

</div>

@smarthomesven is absolute right!

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/9/f92a162377d26a8ba6315c154a4f655795dd3771.png)  
(`[Source](https://apps.developer.homey.app/app-store/verified-developer)`)

> [@Inno](#):
>
> They also said they’d be helped a lot if they could get the full zigbee interview.

That’s actually the standard procedure when the app developer doesn’t own the device personally.

---

<div class="post-metadata">

**Author:** ![SunBeech](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sunbeech/32/111391_2.png) [@SunBeech](https://community.homey.app/u/SunBeech)\
**Post date:** [June 25, 2026, 12:44pm UTC](https://community.homey.app/t/app-pro-sonoff-zigbee/36418/524 "2026-06-25T12:44:32Z")

</div>

You missed the part “…or by Athom.”  
Maybe StyraHem develops and maintains the official app on behalf of Athom.

But still, you would expect support from Athom on obtaining devices/device specs.

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [June 25, 2026, 1:36pm UTC](https://community.homey.app/t/app-pro-sonoff-zigbee/36418/525 "2026-06-25T13:36:33Z")

</div>

[Here](https://community.homey.app/t/sonoff-hydro-duo-dual-channel-zigbee/156213/2) is the forum post that @Inno is refering to.

It’s strange that a company (agency) asks for funding, since it’s a commercial business. I’m sure they were paid by Athom and the brand to build and maintain the app, otherwise they wouldn’t have even built it in the first place, so it’s strange to ask for more money from the app users as well.

And like I said earlier: if they wanted to add support for all devices but don’t have the money to buy them, then they could have just kept the app open source and let other devs add support for them. But recently (a few weeks ago) they closed sourced the app (removing the code from Github), and now they ask for funding from users and since only StyraHem can add support now, they’re basically forced to pay. It feels like the only thing they care about is earning as much money as possible.

I suggest @Doekse to find another developer for the Sonoff app.

Also, if any developer needs the source: I still have a fork of it from when I created a PR to fix many typos that were in the app:

> **[GitHub - smarthomesven/Homey.Sonoff.Zigbee: Sonoff Zigbee Devices](https://github.com/smarthomesven/Homey.Sonoff.Zigbee)**
>
> Sonoff Zigbee Devices

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [June 25, 2026, 2:00pm UTC](https://community.homey.app/t/app-pro-sonoff-zigbee/36418/526 "2026-06-25T14:00:55Z")

</div>

> [@SunBeech](#):
>
> You missed the part “…or by Athom.”

On purpose.  
If Styram were to develop the app for Athom, wouldn’t Athom be listed as the app developer? 🤔

> [@smarthomesven](#):
>
> But recently (a few weeks ago) they closed sourced the app (removing the code from Github)

The code is still “Public”. If you click “Report an issue” in the Homey App Store, you’ll be redirected to the corresponding page on GitHub → [GitHub - StyraHem/Homey.Sonoff.Zigbee: Sonoff Zigbee Devices · GitHub](https://github.com/StyraHem/Homey.Sonoff.Zigbee)

> [@smarthomesven](#):
>
> I suggest @Doekse to find another developer for the Sonoff app.

According to Abe, there are already plans to develop a new Sonoff app based on the “official” Sonoff app by Styrem. This has already been discussed in the following thread → [Sonoff SNZB-01P appearing as a battery in Homey Pro 2023 - #17 by macmonty](https://community.homey.app/t/sonoff-snzb-01p-appearing-as-a-battery-in-homey-pro-2023/156286/17)

---

<div class="post-metadata">

**Author:** ![Doekse](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/doekse/32/109415_2.png) [@Doekse](https://community.homey.app/u/Doekse)\
**Post date:** [June 25, 2026, 2:05pm UTC](https://community.homey.app/t/app-pro-sonoff-zigbee/36418/527 "2026-06-25T14:05:15Z")

</div>

I’ve reached out to Styrahem about this.

It’s worth mentioning that we don’t pay Styrahem to develop this app, and neither does SONOFF. Styrahem is a reseller and distributor of both our products, and they created the app in consultation with us after seeing demand from their customers.

For official apps, however, we generally prefer not to allow donations, as there are usually other commercial benefits involved that support the continued development and maintenance of the app.

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [June 25, 2026, 2:17pm UTC](https://community.homey.app/t/app-pro-sonoff-zigbee/36418/528 "2026-06-25T14:17:14Z")

</div>

> [@DirkG](#):
>
> The code is still “Public”.

There’s still _something_ on Github, but the actual code is gone

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [June 25, 2026, 2:20pm UTC](https://community.homey.app/t/app-pro-sonoff-zigbee/36418/529 "2026-06-25T14:20:00Z")

</div>

> [@Doekse](#):
>
> It’s worth mentioning that we don’t pay Styrahem to develop this app, and neither does SONOFF

But the app is still developed in collaboration with the Sonoff, right? That’s one of the guidelines for official developers

Also, if they’re a reseller of Sonoff, wouldn’t they already have enough products to test? Why don’t they just use one of the devices that they have on sale to test the app, and when it’s done, just sell it as an “open box deal” for a few euro’s cheaper? They certainly wouldn’t need €700 when they would just use one of the devices they already have

---

<div class="post-metadata">

**Author:** ![Doekse](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/doekse/32/109415_2.png) [@Doekse](https://community.homey.app/u/Doekse)\
**Post date:** [June 25, 2026, 2:25pm UTC](https://community.homey.app/t/app-pro-sonoff-zigbee/36418/530 "2026-06-25T14:25:27Z")

</div>

> [@smarthomesven](#):
>
> But the app is still developed in collaboration with the Sonoff, right?

The app is built on behalf of SONOFF and with their permission;

> A verified developer badge signals to the user that the app was created by or on behalf of the brand itself or by Athom.

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [June 25, 2026, 2:27pm UTC](https://community.homey.app/t/app-pro-sonoff-zigbee/36418/531 "2026-06-25T14:27:03Z")

</div>

> [@smarthomesven](#):
>
> There’s still _something_ on Github, but the actual code is gone

You’re right. The code is gone, but you can still report bugs.

---

<div class="post-metadata">

**Author:** ![PeterHa](https://avatars.discourse-cdn.com/v4/letter/p/94ad74/32.png) [@PeterHa](https://community.homey.app/u/PeterHa)\
**Post date:** [June 25, 2026, 5:03pm UTC](https://community.homey.app/t/app-pro-sonoff-zigbee/36418/532 "2026-06-25T17:03:51Z")

</div>

I’m following this discussion about StyraHem with interest, but this is the thread for Johan’s “Sonoff Zigbee” app, not for StyraHem’s “Sonoff” app.

Isn’t there a separate thread for the ‘Sonoff’ app?  
That would make it easier to keep track of the posts for the two apps.

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [June 25, 2026, 5:08pm UTC](https://community.homey.app/t/app-pro-sonoff-zigbee/36418/533 "2026-06-25T17:08:58Z")

</div>

You’re absolutely right, Peter.

@OH2TH, could you maybe create a new thread for the “official” Sonoff app by StyraHem and move all the relevant threads there?

---

<div class="post-metadata">

**Author:** ![scea](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/scea/32/169179_2.png) [@scea](https://community.homey.app/u/scea)\
**Post date:** [July 10, 2026, 6:42pm UTC](https://community.homey.app/t/app-pro-sonoff-zigbee/36418/534 "2026-07-10T18:42:00Z")

</div>

Hi all,

I’m using a SONOFF MINI DUO‑L Zigbee relay (model MINI‑ZB2GS‑L) with the _SONOFF Zigbee_ app on Homey Pro. The device shows up as a single switch with a channel selector (Channel 1 / Channel 2) in the device UI.

My setup:

- Relay: SONOFF MINI DUO‑L (no neutral), added via SONOFF Zigbee app

- Wall switch: Ecodim, added as a separate Homey device

- Flow:

What happens:

- In the device UI and Quick Actions, I can select _Channel 2_.

- But both Quick Actions and the Flow only toggle **channel 1**. Channel 2 never responds to the Homey action, even though it works electrically and via the device’s own logic.

- I don’t see separate Flow cards like “Channel 1 on/off” vs “Channel 2 on/off”, and there is only one Homey device tile for the relay.

Questions:

1. Does the current SONOFF Zigbee driver for MINI‑ZB2GS‑L actually support independent control of both channels in Flows?

2. If not, is it possible to:

If there are advanced settings like “detach relay” per channel that need to be set for this to work, I’d appreciate a short explanation of the correct configuration for MINI DUO‑L in a 2‑gang setup.

Thanks in advance for any pointers or driver updates!

---

<div class="post-metadata">

**Author:** ![Atle\_Opsahl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/atle_opsahl/32/84916_2.png) [@Atle\_Opsahl](https://community.homey.app/u/Atle_Opsahl)\
**Post date:** [July 21, 2026, 9:07am UTC](https://community.homey.app/t/app-pro-sonoff-zigbee/36418/535 "2026-07-21T09:07:27Z")

</div>

Hi, If you go to [Homey Developer Tools](https://tools.developer.homey.app/tools/devices) and find your device there, you will se what it supports. If there is no direct flow-card to trigger the options/Capabilities you find in the developer tool, you can make a script to trigger the stuff you are missing.  
I made script for the Hydro Duo. The script requires 3 inputs from an advanced flow, separeted by semicolumn. Hope this can help you on the way 🙂  
Note this part of the script, and remove the // in front of the await for the script to execute an on/off on your device/targetport  
// Remove the comment slashes below when you are ready to enable control  
// await device.setCapabilityValue(TARGET\_PORT, targetStatus);

The parameters in the script: DEV\_NAME is the name of your device. TARGET\_PORT ID and the TARGET\_Status is the Set Value. The last two you find in the developer tool for your device.(se the picture below showing the capabilities for Hydro Duo.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/8/48b9529f178cebaadef122f4b361e28eca5a183c.png)

My script:  
// 1. Check if arguments were passed from the Flow  
if (!args[0]) {  
throw new Error(“Missing arguments from Flow!”);  
}

// 2. Split the text by semicolon and extract the values  
const parametere = args[0].split(‘;’);  
const DEV\_NAME = parametere[0]?.trim();  
const TARGET\_PORT = parametere[1]?.trim();  
const TARGET\_Status = parametere[2]?.trim().toLowerCase();

// Check that all three parameters are actually present  
if (!DEV\_NAME || !TARGET\_PORT || !TARGET\_Status) {  
throw new Error(“The argument must contain three parts separated by semicolon: ‘DeviceName;port;status’”);  
}

// 3. Handle input status (On, true, 1, Off, false, 0)  
const shouldTurnOn = [‘on’, ‘true’, ‘1’, ‘yes’].includes(TARGET\_Status);  
const shouldTurnOff = [‘off’, ‘false’, ‘0’, ‘no’].includes(TARGET\_Status);

if (!shouldTurnOn && !shouldTurnOff) {  
throw new Error(`Invalid status received: "${TARGET_Status}". Expected On/Off, True/False, or 1/0.`);  
}

// 4. Fetch all devices and find the specific one  
const devices = await Homey.devices.getDevices();  
const device = Object.values(devices).find(d =\> d.name === DEV\_NAME);

if (!device) {  
throw new Error(`Device "${DEV_NAME}" was not found in Homey.`);  
}

// 5. Check if the device supports the requested capability  
if (!device.capabilities.includes(TARGET\_PORT)) {  
throw new Error(`Device does not support the capability "${TARGET_PORT}".`);  
}

// 6. Check current state to avoid duplicate commands (protects the mesh network)  
const currentStatus = device.capabilitiesObj[TARGET\_PORT]?.value;  
const targetStatus = shouldTurnOn; // true for ON, false for OFF

if (currentStatus === targetStatus) {  
log(`Device "${DEV_NAME}" is already ${targetStatus ? 'ON' : 'OFF'}. No action needed.`);  
} else {  
log(`Changing state on "${DEV_NAME}" (${TARGET_PORT}) to: ${targetStatus ? 'ON' : 'OFF'}`);

```auto
// Remove the comment slashes below when you are ready to enable control:
// await device.setCapabilityValue(TARGET_PORT, targetStatus);

```

}

// 7. Create HomeyScript tags for use in the Flow  
await tag(“0”, DEV\_NAME);  
await tag(“1”, TARGET\_PORT);  
await tag(“2”, targetStatus ? ‘ON’ : ‘OFF’);

return true;

---

<div class="post-metadata">

**Author:** ![scea](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/scea/32/169179_2.png) [@scea](https://community.homey.app/u/scea)\
**Post date:** [July 22, 2026, 3:15pm UTC](https://community.homey.app/t/app-pro-sonoff-zigbee/36418/536 "2026-07-22T15:15:35Z")

</div>

Thanks Atle\_Opsahl!  
I’ll give it a try.

---

<div class="post-metadata">

**Author:** ![Giovanni4312](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/giovanni4312/32/155115_2.png) [@Giovanni4312](https://community.homey.app/u/Giovanni4312)\
**Post date:** [July 28, 2026, 1:42pm UTC](https://community.homey.app/t/app-pro-sonoff-zigbee/36418/537 "2026-07-28T13:42:32Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/7/872f4d153bca25f791907863f5f197f2dc3d57ca.png)

I noticed that there are some Zigbee updates available for Sonoff devices…have any changes been made?

---

<div class="post-metadata">

**Author:** ![SunBeech](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sunbeech/32/111391_2.png) [@SunBeech](https://community.homey.app/u/SunBeech)\
**Post date:** [July 28, 2026, 1:47pm UTC](https://community.homey.app/t/app-pro-sonoff-zigbee/36418/538 "2026-07-28T13:47:41Z")

</div>

Are you sure they are provided by the SONOFF Zigbee community app (by Johan Bendz) this topic is about? Or are you using the official Sonoff app by StyraHem Sweden?

[Previous page](https://community.homey.app/t/app-pro-sonoff-zigbee/36418.md?page=25)

[Next page](https://community.homey.app/t/app-pro-sonoff-zigbee/36418.md?page=27)
