Open PascalTurbo opened 5 years ago
Does openHAB log validation errors, or is it the VSCode editor?
In any case one has to note the different channel syntax when linking an item in case of creating the things via PaperUI or via files.
PaperUI: mqtt:topic:myThing
File: mqtt:topic:myBroker:myThing
This difference created some missunderstandings.
The actually needed syntax can be copied from PaperUI in any case!
See https://community.openhab.org/t/how-to-configure-mqtt-2-binding/60458/10?u=david_graeff
So the line is correct. But the Visual Studio Code extension doesn't know this syntax yet, because it was uncommon before the MQTT binding.
Does openHAB log validation errors, or is it the VSCode editor?
The line you've seen in my first message comes from OpenHAB log, but like @davidgraeff says vscode also logs the error.
I wonder if I should change the example to the mqtt:topic:myBroker:myThing
syntax instead.
I already made a PR with that exact change (which has an "IP-Validation" problem )
While configuring mqtt binding like described here: MQTT Generic Thing Binding, openhab logs a validation error:
because of the line
Thing mqtt:topic:mything
.