My fork supporting multiple subdevices behind one hub device. #1581
Replies: 9 comments 16 replies
-
@make-all , would you think you may suggest the ones who also need to connect to multiple subdevices have a try on my forked version if they encounter the limitation of the number of connections of the hub device? |
Beta Was this translation helpful? Give feedback.
-
@grayyang I've been looking forward to this, great work! I have created an issue for this question - #1323. But at the same time, I had very high hopes that this solution would resolve a couple of things:
Question on point 2 - if you create a home assistant helper group from some one of the device entities and turn on/off, is there still a significant delay with this implementation? |
Beta Was this translation helpful? Give feedback.
-
What's the current situation with this? I'm about to add a couple more soil sensors connecting (hopefully, if the range works) to an existing gateway device. So I'll have 3 devices on the one gateway at that point. That might work, or might not if the gateway only accepts a single connection. I won't know until the extra soil sensors arrive. |
Beta Was this translation helpful? Give feedback.
-
We are eagerly waiting for the solution. |
Beta Was this translation helpful? Give feedback.
-
@make-all It's really unfortunate that supporting more than 3 devices (some) with one hub is still missing, how is the progress on the PR? |
Beta Was this translation helpful? Give feedback.
-
Is this a limitation on gateways we have, or in this implementation? I guess I'm asking do I need to purchase another brand of gateway or wait for this fixed to be merged into the main release? Thanks |
Beta Was this translation helpful? Give feedback.
-
hello, is there any chance this will work on the original project? |
Beta Was this translation helpful? Give feedback.
-
If you have a matter compatible hub, able to use these way: #2775 |
Beta Was this translation helpful? Give feedback.
-
Multiple Subdevice supported Tuya Local fork
Link: https://github.com/grayyang/tuya-local
The current tuya-local has a limitation on connecting to multiple subdevices behind one single hub if the hub device limits the number of connections it accepts. Refer to the document for the details.
I modified the original component to remove this limitation by communicating with all subdevices using one shared connection to the hub device. Thus, it uses only one single connection to the hub device and no limitation on the number of subdevices exists anymore.
Currently, I have used my forked version to support 9 subdevices under 1 hub. Everything works well including sending commands and getting notifications on status changes.
Example: 8 subdevices under control
If anyone needs to connect multiple subdevices behind one single hub, you may try out my repository as an alternative.
Currently, I would suggest you specify the IP address and protocol of the hub device explicitly instead of auto-discovery as these two features are not well-tested under my own setup.
Beta Was this translation helpful? Give feedback.
All reactions