I want to install a chart on my sitemap, so that i can see the temperature in my house. I have tried a lot but the chart is shown nothing, Also the time is not shown correct below the chart. Please have a look to the photo.
Besides the weird empty chart (there migth be something wrong with it too) I think you got to wait before anything can show up because of your custom setup of rrd4j.
You are using a single archive which is NOT saving a value for every minute (never tried it like that, not sure if it works).Your setup asks for an average over 720 minutes to entered in the database and you want to keep 730 values of those. Is that what you want, showing averages temperatures for 12hour periods?
The documentation on the archives should be clear, for further help on that just yell (that got to be loud in order to hear it here at 70°N😉)
If you changed the archive setup , you should at least delete the actual .rrd file in order to restart the persistence.
If that does not help you migth (also) suffer from a ( to me unexplained) problem. Please state your kind of setup (openHAB version, Java version and OS).
If you are using an openhabian setup, installing the option “InfluxDB+grafana” did overcome the issue.
I have deleted the .rrd file and restarted open hab. I have installed open hab on my synology server and installed it with a spk package. At the moment I have the openhab 2 version 2.4.0.001 and java 8 running.I have also installed the influxDB now, but can’t find the “grafana” persistance.
I tried to install the “RestAPI” interface, but I can’t choose this in my installation. Where can I find it?
I have also tried to read the other post “Problem: Chart generation failed:null”, but I’m not sure if this is the same problem, because I can see a chart, but without contend.
Installation of the RestAPI is done via REST Documentation (on PaperUI under AddOns- Misc).
After that it will show on the Dashboard.
And yes, I think your problem might not be related with the other thread.
The response body tells you, your database has 0 entries, in other words it is empty!
Did you delete the existing .rrd file ( to be found under var/lib/openhab2/persistence/rrd4j ) and restart either openhab or only the rrd4j bundle?`
Where can I find this log lines? is it in REST API under services?
Or do you mean my file on the server under services?
# configure specific rrd properties for given items in this file.
# please refer to the documentation available at
# default_numeric and default_other are internally defined defnames and are used as
# defaults when no other defname applies
Yes, you can delete the whole file. That way the default archive-setup will be used for all items that are persisted (you could have several archive-setups, each of which to be used for a subset of your items). You have specified which items to persist in the file rrd4j.persist!
I’m using an openhabian install to which it was installed automatically
For a manual setup look Here
If you do not want to install anything, you can either use the karaf console to show the logs (log:tail) or open the logs manually.