I had a working environment in openhab 3. Set up according to HTTP Binding
Things:
Thing http:url:askoheat "HTTP Askoheat" [
baseURL="http://192.168.192.92/",
authMode="BASIC",
ignoreSSLErrors=false,
refresh=30,
timeout=3000,
bufferSize=2048,
delay=0,
stateMethod="GET",
commandMethod="GET"] {
Channels:
Type number : wassertemp "Wassertemperatur" [
stateExtension="getval.json",
stateTransformation="JSONPATH:$.MODBUS_VAL_TEMPERATURE_SENSOR0",
mode="READWRITE"]
Type number : errorstatus "Error Status" [
stateExtension="getval.json",
stateTransformation="JSONPATH:$.MODBUS_VAL_ERROR_STATUS",
mode="READWRITE"]
Type number : heaterload "Heater Load" [
stateExtension="getval.json",
stateTransformation="JSONPATH:$.MODBUS_VAL_HEATER_LOAD",
mode="READWRITE"]
Type number : legiostatus "Legio Status" [
stateExtension="getval.json",
stateTransformation="JSONPATH:$.MODBUS_VAL_LEGIO_STATUS",
mode="READWRITE"]
Type string : legiopasttime "Legio Past Time" [
stateExtension="getval.json",
stateTransformation="JSONPATH:$.MODBUS_VAL_LEGIO_PAST_TIME",
mode="READWRITE"]
Type number : status "Status" [
stateExtension="getval.json",
stateTransformation="JSONPATH:$.MODBUS_VAL_STATUS",
mode="READWRITE"]
}
Items:
// Heizung *********************************************************************************************************************************************
// Typ Name "Label" <Category> (Gruppe) {channel}
Number Wassertemperatur "Wassertemperatur[%.0f °C]" <temperature> (gHeizung) {channel="http:url:askoheat:wassertemp"}
Number Heater_Load "Last Heizung[%.0f W]" <radiator> (gHeizung) {channel="http:url:askoheat:heaterload"}
Number Error_Status "Error Status[%.0f]" <status> (gHeizung) {channel="http:url:askoheat:errorstatus"}
Number Heizung_Status "Heizung Status[%.0f]" <status> (gHeizung) {channel="http:url:askoheat:status"}
Number Legio_Status "Legio Status[%.0f]" <status> (gHeizung) {channel="http:url:askoheat:legiostatus"}
String Legio_Past_Time "Legio zuletzt aktiv" <time> (gLegio) {channel="http:url:askoheat:legiopasttime"}
After upgrading to OH 3.4.5 this does not work anymore.
I get the following errors:
17:57:49.792 WARN org.openhab.core.thing.binding.generic.ChannelTransformation$TransformationStep Failed to use TransformationStep{serviceName='JSONPATH', function='$.MODBUS_VAL_TEMPERATURE_SENSOR0'}, service not found
17:57:49.793 WARN org.openhab.core.thing.binding.generic.ChannelTransformation$TransformationStep Failed to use TransformationStep{serviceName='JSONPATH', function='$.MODBUS_VAL_LEGIO_PAST_TIME'}, service not found
17:57:49.793 WARN org.openhab.core.thing.binding.generic.ChannelTransformation$TransformationStep Failed to use TransformationStep{serviceName='JSONPATH', function='$.MODBUS_VAL_ERROR_STATUS'}, service not found
17:57:49.793 WARN org.openhab.core.thing.binding.generic.ChannelTransformation$TransformationStep Failed to use TransformationStep{serviceName='JSONPATH', function='$.MODBUS_VAL_STATUS'}, service not found
17:57:49.794 WARN org.openhab.core.thing.binding.generic.ChannelTransformation$TransformationStep Failed to use TransformationStep{serviceName='JSONPATH', function='$.MODBUS_VAL_LEGIO_STATUS'}, service not found
17:57:49.794 WARN org.openhab.core.thing.binding.generic.ChannelTransformation$TransformationStep Failed to use TransformationStep{serviceName='JSONPATH', function='$.MODBUS_VAL_HEATER_LOAD'}, service not found
I also tried to add the things and item through the GUI, not working either.
Does anybody have an Idea what I am doing wrong?