I tried not persistence insead of persistence/items and got the following result.
Curl
curl -X GET --header “Accept: application/json” “http://openhabianpi:8080/rest/persistence ”
Request URL
http://openhabianpi:8080/rest/persistence
Response Body
[
{
"id": "rrd4j",
"label": "rrd4j",
"type": "Queryable"
}
]
Response Code
200
Response Headers
{
“content-length”: “51”,
“content-type”: “application/json”,
“server”: “Jetty(9.4.11.v20180605)”
}
rlkoshak
(Rich Koshak)
July 23, 2019, 7:25pm
22
Use rrd4j and your Item name
If your result says “datapoints”: “0” your Item is not being saved to rrd4j.
Thanks. It seem to work.
Response Body
{
"name": "RTR_Garage_Ist_Temperatur",
"datapoints": "360",
"data": [
{
"time": 1563823680000,
"state": "29.6"
},
{
"time": 1563823920000,
"state": "29.6"
},
{
"time": 1563824160000,
"state": "29.6"
},
I found the failure. Searching exactly after the failure message in the logviewer, brought me to another thread which described exactly my problem.
Anyway thanks to everybody for the help.
Case closed.
Greatings,
I am new to OH2 and I could work out most issue by my own but now I run into an issue with RRD4J which is not showing the chart. There is now picture showing up.
I am running
OH2 2.4.0-1
Java 8
openjdk version “1.8.0_202”
OpenJDK Runtime Environment (Zulu8.36.0.152-CA-linux_aarch32hf) (build 1.8.0_202 -b152)
OpenJDK Client VM (Zulu8.36.0.152-CA-linux_aarch32hf) (build 25.202-b152, mixed mode, Evaluati…