Code: Alles auswählen
{"StatusSNS":{"Time":"2023-07-16T20:25:59","BME280":{"Temperature":27.1,"Humidity":40.0,"DewPoint":12.4,"Pressure":981.7},"BH1750":{"Illuminance":17},"PressureUnit":"hPa","TempUnit":"C"}}
Ich habe in OH3 ein Thing angelegt:
Code: Alles auswählen
Thing http:url:steckdose03 "Steckdose03" [
baseURL="http://10.10.18.3/cm?cmnd=status%2010",
refresh=60
] {
Channels:
Type number : temperature "Temperatur" [ stateTransformation="JSONPATH:$.BME280.Temperature" ]
Type number : humidity "Luftfeuchte" [ stateTransformation="JSONPATH:$.BME280.Humidity" ]
Type number : dewpoint "Taupunkt" [ stateTransformation="JSONPATH:$.BME280.DewPoint" ]
Type number : pressure "Luftdruck" [ stateTransformation="JSONPATH:$.BME280.Pressure" ]
Type number : illuminance "Helligkeit" [ stateTransformation="JSONPATH:$.BH1750.Illuminance" ]
}
Code: Alles auswählen
Creating request for 'http://10.10.18.3/cm?cmnd=status%2010' failed: Conversion = '2'
Vielen Dank für Eure Hilfe.