Runnen OH3.3 (still don’t dare to upgrade), I have a page that, amongst other stuff, houses an oh-label-card. This card presents the numerical value of an item. The idea was to click on the item to reset it’s state to 100% (or 99 for this test-case), followed by an MQTT message on in the command topic.
However, this last bit does not happen. The value of the item is indeed commanded to be 99 but the number or string 99 is never send via MQTT. I have tried with 99 but also, as above, with "99".
I don’t remember if 3.3 had the ability to do that through MainUI so you’ll have to edit log4j2.xml or use the karaf console. Navigate to the binding’s page and see if there is a little blue gear shaped icon. If so you can change it there. If not see Logging | openHAB
Karaf did the job. I set everything that has MQTT in it to DEBUG. If I change a light setting, it indeed shows up in de log. But nothing appears if I click the button. Only the item is updated to the commanded state.
I think it could have something to do with the fact that the channel is a string and the item is a number. I’ll have a look and report back.
Have been looking so awfully long for the mistake.
Funny, as the incoming topic is set a String and this works and modifies the item’s state but outgoing this is not the case.
Happy it is solved. Thanks for your input once more!