Koenkk / zigbee-herdsman-converters

Collection of device converters to be used with zigbee-herdsman
MIT License
856 stars 2.83k forks source link

Using groups for Tuya devices? #7284

Open mnaser opened 3 months ago

mnaser commented 3 months ago

https://github.com/Koenkk/zigbee-herdsman-converters/blob/b405404c2d8db02d94feb3a114c9baf2bd2fcf4e/src/lib/tuya.ts#L1140

I'm running into this exception when using a Zigbee group that's based on Tuya, but I don't really find any reference as to why this is not working.

Is there a reason why it can't be done? I'm happy to help with fixing the code for this.

Thanks!

sjorge commented 1 month ago

TuYa implements their data layer and are essentially using zigbee as a transport layer.

That's why it's not supported.

avbdr commented 1 month ago

@sjorge is there is a way to implement the 'tuya way' grouping?

sjorge commented 1 month ago

Their IoT Core docs do mention device groups, but I have no access to their wire level docs/sdk nor do I have any devices to look into this.

I assume it would technically be possible, although it also seems to be able to group device across different media together, so it may just be a API abstraction on their cloud servers that do the grouping. I am not sure they would allow device <-> device communication like zigbee does.