I'm doing some home automation with Zigbee2MQTT and the MQTT_Client (1.2.0.0) from IIoT Libraries SL.
I have only been able to subscribe to 12 out of maybe 50 devices. Those are the 12 first in the program.
If i comment out one of the 12, the 13th is subscribed to.
Is there a limit to how many subscriptions the MQTT client can handle?
Is there a way to add more?
Hi,
I'm doing some home automation with Zigbee2MQTT and the MQTT_Client (1.2.0.0) from IIoT Libraries SL.
I have only been able to subscribe to 12 out of maybe 50 devices. Those are the 12 first in the program.
If i comment out one of the 12, the 13th is subscribed to.
Is there a limit to how many subscriptions the MQTT client can handle?
Is there a way to add more?
Greetings
Jan Magne!
Hi Jan. If you open the library in library manager, you can edit the limits in MQTT.Params.
Ian
Thanks, increasing "g_udiMaxPublishersAndSubscribers" solved my issue.
hi, I had the same error, but after doing this I was unable to connect more than 50 subscriptions to the same client, is there any way to help?
I think it is a similar issue, but different.
I saw you use AWS IoT Core. AWS limits you in this - search in page here for text "Subscriptions per connection" it is 50, cannot be changed.