Personal tools

Difference between revisions of "Dashboard module"

From PhotoVoltaic Logger new generation

Jump to: navigation, search
m (Multiple Dashboards)
m (Multiple Dashboards)
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:Dashboard8.png|240px|thumb]]
+
{{TOCright}}
 
+
== Access ==
== Menu ==
 
  
 
If you have defined dashboards, you can acess them by hover the "Dashboard" menu item.
 
If you have defined dashboards, you can acess them by hover the "Dashboard" menu item.
Line 11: Line 10:
 
Define your dashboard using '''Dashboard''' channels, you can select then only these channels!!
 
Define your dashboard using '''Dashboard''' channels, you can select then only these channels!!
  
<div style="float:left">
+
<div style="float:left;text-align:center">
'''Channel Hierarchy'''
+
'''<big>Channel hierarchy</big>'''
 +
-----------------------
 +
 
  
 
[[File:DashboardTree.png]]
 
[[File:DashboardTree.png]]
 
</div>
 
</div>
  
<div style="float:left;margin-left:3em">
+
<div style="float:left;margin:0 5em">
'''Dashboards channels selection'''
+
'''<big>vs.</big>'''
 +
</div>
 +
 
 +
<div style="float:left;text-align:center">
 +
'''<big>Dashboards channels selection</big>'''
 +
-----------------------------------
 +
 
  
 
[[File:DashboardChannels.png]]
 
[[File:DashboardChannels.png]]
Line 24: Line 31:
  
 
<div style="clear:both"></div>
 
<div style="clear:both"></div>
Specialized dashboard channels have some additional features:
+
The specialized '''dashboard channels''' have some additional features:
* Definition of axis <tt>start</tt> and <tt>end</tt> values, no auto detection
+
* Definition of axis <tt>start</tt> and <tt>end</tt> values
 
* Definable <tt>color bands</tt> on the axis
 
* Definable <tt>color bands</tt> on the axis
 +
 +
 
[[File:DashboardChannel.png]]
 
[[File:DashboardChannel.png]]
 +
 +
These channels inherits also the icon of its child channel.
  
 
== Channel definition ==
 
== Channel definition ==
Line 43: Line 54:
 
E.g. for a temperature channel (with axis range -30°C ... 30°C) the following are equivalent:
 
E.g. for a temperature channel (with axis range -30°C ... 30°C) the following are equivalent:
  
     >  0 : blue        ==      -30 > 50% : #0000FF
+
     >  0 : blue        ==      -30 > 50% : #0000FF
0 > 20 : green        ==       50% > 20   : #008000
+
  0 > 20 : green        ==       50% > 20 : #008000
  20 >    : red          ==       20  > 100% : #FF0000
+
  20 >    : red          ==       20  > 100% : #FF0000
  
 
=== Example ===
 
=== Example ===
Line 52: Line 63:
  
 
<div style="margin-left:240px">
 
<div style="margin-left:240px">
Axis range: -15°C ... 55°C
+
Axis range: -15 °C ... 55 °C
  
 
     >  0 : #BBF  // below zero
 
     >  0 : #BBF  // below zero
Line 65: Line 76:
  
 
You can have an unlimited number of dashboards.
 
You can have an unlimited number of dashboards.
 +
* '''Mark''' the relevant channels
 +
* '''Sort''' their order by dragging them around
 +
* Give it a '''name''' and
 +
** '''Create''' a '''new''' dashboard or
 +
** '''Change''' the '''loaded''' dashboard or
 +
* '''Delete''' the '''loaded''' dashboard
 +
  
Just
+
[[File:DashboardDefine.png|800px]]
* mark the relevant channels
 
* sort their order by dragging them around
 
* give it a name and
 
* save it
 
  
 +
=== Examples ===
  
[[File:DashboardDefine.png]]
+
<gallery>
 +
File:Dashboard3.png|3 Channels
 +
File:Dashboard4.png|4 Channels
 +
File:Dashboard6.png|6 Channels
 +
File:Dashboard8.png|8 Channels
 +
</gallery>
  
 
== Advanced usage ==
 
== Advanced usage ==
  
You can embed the dashboard also anywhere else, for example via iframe.
+
You can embed the dashboard also anywhere else, for example via <tt><nowiki><iframe ... ></nowiki></tt>.
  
For this view, no authorization is required!
+
'''Please note:''' For this view, '''no authorization''' is required!
  
 
To get the embedded view, just use
 
To get the embedded view, just use
Line 87: Line 107:
 
You can find this link on this bookmark button: [[File:DashboardEmbedLink.png]]
 
You can find this link on this bookmark button: [[File:DashboardEmbedLink.png]]
  
You can this also use to run PVLng on an info frame, just open this in full screen!
+
You can this also use to run PVLng on an info frame, just open the embedded mode in full screen!
  
 
[[Category:Web frontend]]
 
[[Category:Web frontend]]

Latest revision as of 20:53, 8 June 2014

Access

If you have defined dashboards, you can acess them by hover the "Dashboard" menu item.

DashboardHover.png

Preparation

Define your dashboard using Dashboard channels, you can select then only these channels!!

Channel hierarchy



DashboardTree.png

vs.

Dashboards channels selection



DashboardChannels.png

The specialized dashboard channels have some additional features:

  • Definition of axis start and end values
  • Definable color bands on the axis


DashboardChannel.png

These channels inherits also the icon of its child channel.

Channel definition

Define to color bands for the gauges like this.

start > end : color
  • Spaces around delimiters are optional
  • For start and end absolute or relative (with % suffix) values allowed, also mixed
  • If start is not given, begins from axis starts
  • If end is not given, ends on axis end
  • Colors can be defined as HTML color names (green, red etc.) or HTML color codes (#123456)

E.g. for a temperature channel (with axis range -30°C ... 30°C) the following are equivalent:

   >  0 : blue         ==       -30  >  50% : #0000FF
 0 > 20 : green        ==        50% >  20  : #008000
20 >    : red          ==        20  > 100% : #FF0000

Example

InverterTemperatureDashboard.png

Axis range: -15 °C ... 55 °C

   >  0 : #BBF  // below zero
 0 > 35 : #BFB  // ok 0 ... 35°C
35 > 40 : #FFB  // warning 35°C ... 40°C
40 >    : #FBB  // critical above 40°C

Multiple Dashboards

You can have an unlimited number of dashboards.

  • Mark the relevant channels
  • Sort their order by dragging them around
  • Give it a name and
    • Create a new dashboard or
    • Change the loaded dashboard or
  • Delete the loaded dashboard


DashboardDefine.png

Examples

Advanced usage

You can embed the dashboard also anywhere else, for example via <iframe ... >.

Please note: For this view, no authorization is required!

To get the embedded view, just use

http://your.domain.here/dashboard/embed/<dashboard slug>

You can find this link on this bookmark button: DashboardEmbedLink.png

You can this also use to run PVLng on an info frame, just open the embedded mode in full screen!