Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

IIOT MQTT Subscription

koppit
2022-04-17
2022-04-17
  • koppit

    koppit - 2022-04-17

    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!

     
  • i-campbell

    i-campbell - 2022-04-17

    Hi Jan. If you open the library in library manager, you can edit the limits in MQTT.Params.
    Ian

     
    πŸ‘
    1
    • koppit

      koppit - 2022-04-17

      Thanks, increasing "g_udiMaxPublishersAndSubscribers" solved my issue.

       

Log in to post a comment.