The password for my testing MQTT server is 82 characters long. I recognize that this is probably @ the higher end of what most users will have, but I wanted to open the issue to document the problem/behavior for the benefit of anybody in the future.
The HASP was connecting, but the error code was alternating between RC=5 and RC=6. After a bit of debugging, I discovered that the configured password is being (silently!) truncated prior to save/configure.
The password for my testing MQTT server is 82 characters long. I recognize that this is probably @ the higher end of what most users will have, but I wanted to open the issue to document the problem/behavior for the benefit of anybody in the future.
The HASP was connecting, but the error code was alternating between
RC=5
andRC=6
. After a bit of debugging, I discovered that the configured password is being (silently!) truncated prior to save/configure.I've made a small PR that should address this: https://github.com/aderusha/HASwitchPlate/pull/117