I have a question regarding MQTT. The MQTT1 manual says Every item is allowed to have multiple inbound (or outbound) configurations.
Is this also the case for non MQTT configs.
I have a switch that is configured via a different add-on and also want to send out an MQTT message when the state changes and have the switch switch when an MQTT command is received.
The configuration seems to work but I get an error in the log files. So I was wondering if the below configuration is allowed and if not how to link 1 switch to the MQTT binding as well as another binding.
2019-01-15 07:15:43.612 [INFO ] [el.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model ‘nikobus.items’, using it anyway:
Duplicate ModelItem ‘NB_S1_O5_lichtbureauzij’
Duplicate ModelItem ‘NB_S1_O5_lichtbureauzij’
@David_Graeff you have any idea. I want to link the same switch to MQTT as well as the Nikobus binding. In the MQTT v1 it was just a matter of seperating them with a comma but how would such thing look in MQTT2?
I will try tonight but I’m not sure there is something like things and channels for OH1 items.
The Nikobus binding is an OH1 binding, so items have to be created in config files.
There are no such things as OH1 items. There are OH1 bindings…
You can combine 2 or more bindings with one item.
You can add the channel="dsfsada" in an item file just as you used to do with the OH1 syntax.