There is a dictionary with all the Itemâs current states. Thatâs more convenient than using the itemRegistry.
But your problem is youâve not properly formatted the message you are publishing. You are literally publishing {"value": TOutdoor }. Obviously thatâs nonsense to the receiver. You want the TOutdoor part to be the value of the the TOutdoor variable. To do that it needs to be outside the quotes.
Thank you for the answer!
Yes it ist ECMAScript 5.1
Sadly itâs not working.
Message in MQTT fx:
*** PAYLOAD IS NOT VALID JSON DATA ***
Unexpected character (â°â (code 176)): was expecting comma to separate OBJECT entries
at [Source: java.io.StringReader@7c849e8c; line: 1, column: 16]