Diagrams
Recorded values only become useful as a trend. This page shows the process of creating a graph from a recorded data point to a single-page chart.
First, values must be recorded. Without recording, every diagram remains empty; see Recording Values .
Which adapter
| adapter | note |
|---|---|
| echarts | The latest chart adapter. The first choice for new charts. |
| fast | The older one. Still in use in many existing installations. |
| Grafana | Not an ioBroker adapter, but a separate program. Worthwhile for a large number of charts and analyses. |
To begin with:echarts . He brings a separate tab to the admin panel where diagrams are compiled.
Build a diagram
- Install the adapter and create an instance.
- Open the new tab and create a diagram.
- Add a first line and assign it the recorded data point. The source of the data is also specified, i.e., from...
history,influxdborsql. - Set and save the time period and label.
If the line remains empty, it is almost always due to one of three reasons: the data point is not being recorded at all, the wrong source has been selected, or the set time period is before the start of the recording.
Sensible settings
- Choose an appropriate time period. A temperature reading over 24 hours is readable, but not over a year.
- To summarize: For long periods, don't plot every single measurement, but rather average values per hour or day. This significantly reduces the load on the browser.
- Units on the axis. A diagram without units is a curve without meaning.
- Two axes at different sizes. Temperature and humidity on the same axis result in an unreadable image.
Incorporate into the image
A finished diagram can be integrated into a visualization . Common widget sets offer a widget that displays a saved diagram; you simply specify which one.
A chart with a very large number of points loads slowly, especially on a tablet. If a page becomes sluggish, a chart is usually the cause.
What happens next?
The basics are now in place. What comes up regularly is updating: installing updates .