MQTT thing config not allowing colons

  • I’m running OH 5.1.0 in Docker.
  • I’m getting an error when a colon is used in the thing id

Only values between:
A-Z
a-z
0-9
_
“-“

Are accepted.

hmmm, the mqtt pages says different - unless the values are different between config files and the UI. and i have : in my previously configured UI things. seems strange.

I believe you’re mixing the mqtt topics with the things UID. They are not the same.

The UI is doing its job validating and enforcing the correct rule here.

The mosquitto part is unnecessary. You only need to enter the last part of the uid segment here as the “thing id”. The bit after the last colon.

The UI will build the full uid based on this: the binding id, thing-type id, bridge id and the thing id you entered.