- Platform information:
- Hardware: Synology
- OS: _DSM6.2
- Java Runtime Environment: V8
- openHAB version:2.5.0-snapshot running in Docker
*MQTT binding 2.5.0 - Issue of the topic:
i managed to get my temperature sensors up and running in openhab
my sensor is sending this
{
“Battery” : 100,
“RSSI” : 6,
“description” : “”,
“dtype” : “Temp”,
“id” : “6659”,
“idx” : 288,
“name” : “Temperatuur tuin”,
“nvalue” : 0,
“stype” : “TFA 30.3133”,
“svalue1” : “26.1”,
“unit” : 3
}
i made a thing with these settings(all from the gui, no config files)
MQTT state topic
domoticz/out/tuin/temperatureTransform values
Incoming value transformations
JSONPATH:$.svalue1Outgoing value format
%.1f
LINKED ITEM with string profile
JSONPATH (transform:JSONPATH)
Configuration:JSONPath expression
$.svalue1State Formatter
%s
everything seems to work and i got my temp item which updates regularly
The problem is my log gets flooded with this message
2019-06-23 16:28:43.264 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state ‘26.1’ with function ‘$.svalue1’ and format ‘%s’
it seems to have problems transforming the temperature value (i guess string) into something else.
The strange thing is that the value is displayed nicely so it is declared properly.
what can be causing this issue.
seems to be really simple