-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zigbee2mqtt subscribing inefficient? #3102
Comments
Fixed in the latest dev branch, please confirm 😄 |
Even worse, this breaks everything for me! |
Shouldn't devices and groups name's not just deny |
I and a few other people use There was some discussion about this a while back as it was broken in a few odd places but they were fix, because suddenly disallowing I guess I can spend a few weekend redoing everything to not have From some testing it is fine if
|
It looks to indeed be that none of the brokers I tried support @Koenkk will we start enforcing certain brokers from now on? |
Sorry @Koenkk for causing trouble. How about using |
@svrooij eh it happens :) we're all trying to make z2m better and your observation is correct that it does add a lot of subs...
|
So looks like both Aedes and Mosce are doing the correct thing here and rejecting those subscriptions. |
BTW. I haven't tested a subscription with something after the |
Reverted and only added it to the cases were it can be applied (should save 38 subscriptions). Regarding: #3102 (comment) in that case Zigbee2mqtt will also start listening to it's own message which I don't think is a good idea. If zigbee2mqtt would e.g. publish to |
Looks, good... everything is working again. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Bug Report
What happened
I have a different mqtt server then most people use. I use EMQX one of the reasons is that is has a nice visual dashboard to display all sorts of information about the mqtt clients that are connected.
This is a small portion of all the subscriptions zigbee2mqtt creates. It currently has 199 different subscriptions.
What did you expect to happen
I would expect it to use the
#
wildcard to tell the mqtt server that it wants all topics with this multi-level wildcard.A single
zigbee2mqtt/#/get
could replace all these subscriptionszigbee2mqtt/+/get
zigbee2mqtt/+/+/get
zigbee2mqtt/+/+/+/get
zigbee2mqtt/+/+/+/+/get
And maybe it should just subscribe to
zigbee2mqtt/#
but than it will also receive it's own messages.How to reproduce it (minimal and precise)
The text was updated successfully, but these errors were encountered: