OpenSprinkler Forums OpenSprinkler Unified Firmware MQTT password length

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #78757

    mcmuller
    Participant

    Hi all,

    I integrated the LoRaWan soil-moisture-sensor solution from opensprinkler.de (running just fine!) and ran into problems connecting to TheThingsNetwork mqtt-server, which requires a 98-characters-long generated API-key as password. Connecting to my own MQTT is fine, so I guess it’s the PW-length. Can soeone confirm or point me to a solution?

    Greetings from Portugal,
    Gregor

    #78764

    Ray
    Keymaster

    The maximum length of MQTT user name and password are both 32:
    https://github.com/OpenSprinkler/OpenSprinkler-Firmware/blob/master/mqtt.cpp#L78
    It’s certainly possible to increase these further, but 98-character password? That seems excessively long. Is that even necessary?

    #78821

    mcmuller
    Participant

    Hi Ray,
    it’s a token from TheThingsNetwork….
    Greetings,
    Gregor

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums OpenSprinkler Unified Firmware MQTT password length