Chart

Addons for the O-MEGA Project
Post Reply
User avatar
Sem;colon
Plugin Developer
Posts: 894
Joined: Sat Feb 18, 2012 10:51 am
Location: Germany

Chart

Post by Sem;colon » Fri Jul 30, 2021 8:16 pm

Chart can visualize the history of (numeric) button values and button States.

Chart comes with O-MEGA since version 0.6.15 and doesn't need to be downloaded separately.

How to setup a chart:
1. First you need to create a button on a page (if you don't have a button created already)
2. then you go into the configuration menu -> devices and create a new device of the type "button monitor chart" and give it the name our chart should have
3. in the parameters of this device you'll find the first parameter "Button that should be monitored"; in that drop -down you select the button you created in step 1. or any other button you want to monitor the state or numeric value of (not numeric values are not supported)
4. Configure the other parameters the way you like. Please keep in mind that the more you select or the longer you keep the history, the more Hard disk space and RAM will be consumed by your server (all data will be kept in memory for fast access) - if configured incorrectly, this can waste a lot of memory.
Now the history of the configured button will be recorded. This has to be done for every button you want to monitor, the history is not stored for every button on default.
5. There are two options to display the chart template;
-one would be to configure it as a page
-the other would be to open it via a button


How to use:
- on the chart template you can set how many minutes/hours/days the chart should show
- the average value/state for the selected timeframe is displayed to you
- for numeric values you also see the minimum and maximum value in the selected timeframe
- you can utilize this average/minimum/maximum value as condition in your scenes
- you can select any data points to see more details, like the exact time an value
- the width of your screen is always the width of the chart. If you resize the window or rotate your phone, the chart gets bigger
- you can add another monitor to your chart (in addition to the default one) to compare the history of two buttons in one chart
Attachments
Screenshot_20211019-081449_Chrome.jpg
Phone view rotated
Screenshot_20211019-081035_Chrome.jpg
Phone view
If you like my work, Image me a drink :wink:

Post Reply