Difference between revisions of "Gantt-chart-for-TLS"

From ESS-WIKI
Jump to: navigation, search
 
(72 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
= Gannt Panel For TLS =
 +
 +
[[File:Portal.PNG|RTENOTITLE]]
 +
 +
 +
 +
 +
 +
 +
 
= Introduction =
 
= Introduction =
  
=== This is a customized Gantt chart for the TLS project. The diagram has following features. ===
+
This is a customized Gantt chart for the TLS project. The diagram has following features.
  
 
#Can gets TLS data in period and shows color bar with priority display rule.
 
#Can gets TLS data in period and shows color bar with priority display rule.
Line 8: Line 18:
 
#Can set color (Red, Yellow, Green, Blue) mapping to light sensor ID (Light1, Light2, Light3, Light4) by TLS.
 
#Can set color (Red, Yellow, Green, Blue) mapping to light sensor ID (Light1, Light2, Light3, Light4) by TLS.
 
#Can define timeline period on Gantt chart.
 
#Can define timeline period on Gantt chart.
 +
#The timeline will be displayed below the Gantt chart.
 +
#Gantt chart can set customize label name.
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
= Grafana Version =
 +
 +
This Project is base on '''Grafana v5.3.0''' .
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
= How To Add RMM-SimpleJSON DataSource =
 +
 +
Choose Configuration -> Data Source -> RMM-SimpleJson
 +
 +
[[File:Tower Light create data source1.jpg|RTENOTITLE]]
 +
 +
Edit settings as follow
 +
 +
[[File:Tower Light create data source2.jpg|RTENOTITLE]]
 +
 +
{| border="1" cellspacing="1" cellpadding="1" style="width:500px;"
 +
|-
 +
|
 +
Name: RMM-SimpleJson
 +
 +
HTTP<br/>URL: [http://168.63.200.38/rmm/v1/grafana/simplejson/ http://168.63.200.38/rmm/v1/grafana/simplejson/]<br/><span style="color:#FF0000;">* Notice:&nbsp;you&nbsp;need to change url for your EdgeSense url . For example,&nbsp;[https://edgesense.wise-paas.com/rmm/v1/grafana/simplejson/ https://edgesense.wise-paas.com/rmm/v1/grafana/simplejson/]</span>
 +
 +
Access: Server (default)
 +
 +
Auth<br/>Basic Auth&nbsp;: V
 +
 +
Basic Auth Details<br/>User: xxx<br/>Password:&nbsp; xxx<br/><span style="color:#FF0000;">* Notice: you need to assign user and password for your EdgeSense authentication.</span>
 +
 +
|}
 +
 +
 +
 +
 +
 +
= How To Create A New Gantt Panel =
 +
 +
  Step 1: Add panel and choose plugin "Gantt-for-TLS" see Figure 1.
 +
  Step 2: Edit panel see Figure 2.
 +
  Step 3: Set up Metrics and choose DataSource "RMM-SimpleJson".
 +
  Step 4: Set up all of the sensor's(Light1、Light2、Light3、Light4) "Device" "Plugin" "Sensor" "Alias" see Figure 3.
 +
 +
&nbsp; &nbsp; &nbsp; <span style="color:#FF0000;">*Warning: Although the sensor light can define the mapping color but the aliases must be these strings "red" "yellow" "green" "blue".</span>
 +
 +
 +
 +
 +
 +
 +
 +
[[File:TLS-Panel.PNG|RTENOTITLE]]&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 +
 +
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (Figure 1&nbsp;、 Add Panel)
 +
 +
 +
 +
 +
 +
[[File:TLS-EditButton.PNG|RTENOTITLE]]
 +
 +
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (Figure 2&nbsp;、 Edit Panel)&nbsp;
 +
 +
 +
 +
 +
 +
[[File:TLS-Metrics.PNG|RTENOTITLE]]
 +
 +
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (Figure 3&nbsp;、 Set Metrics)
 +
 +
 +
 +
= Customizable =
 +
 +
&nbsp; &nbsp; &nbsp;&nbsp;<span style="font-size:large;">Options</span>
 +
 +
*You can set up the status text from option1~option5 from Figure 5&nbsp;.
 +
*You can set up the label text from option10&nbsp;from Figure 6&nbsp;.
 +
*"Row Height option6" can change panel's heigh.
 +
*"Text Size option7" can change status text's size.
 +
*"Med Space option8" can Change the distance between Label and Status.
 +
*"Header Indent option9" can change the header's width.
 +
 +
 +
 +
[[File:Tls-opt-v2.PNG|RTENOTITLE]]
 +
 +
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (Figure 4&nbsp;、 Options Step)
 +
 +
[[File:Status-v2.PNG|RTENOTITLE]]
 +
 +
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(Figure 5&nbsp;、 Status Text)
 +
 +
[[File:Label-v2.png|RTENOTITLE]]
 +
 +
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(Figure 6&nbsp;、 Label Text)
  
= Gannt Panel By&nbsp;Grafana Dashboard =
+
&nbsp; &nbsp; &nbsp;&nbsp;<span style="font-size:large;">Colors</span>
  
[[File:Gantt.PNG|RTENOTITLE]]
+
*"Status Text" can change&nbsp; status text's color&nbsp; from 1 see Figure 7&nbsp;.
 +
*"Red/Yellow/Green/Blue Light" can change&nbsp; light's color&nbsp;from 2 ~ 6&nbsp;see Figure 7&nbsp;.
  
==  ==
+
[[File:TLS-color.PNG|RTENOTITLE]]
  
= How To =
+
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(Figure 7&nbsp;、 Colors Mapping)
  
== Installation ==
+
= Export CSV File =
  
== Configuration ==
+
&nbsp; &nbsp; &nbsp;&nbsp;<span style="font-size:large;">Options</span>
  
===  ===
+
*Please select the appropriate time range&nbsp;see Figure 8&nbsp;.
 +
*Click the Export CSV&nbsp;see Figure 9&nbsp;.
  
'''Example:'''
+
[[File:Grafana Timerange.PNG|RTENOTITLE]]
<pre>...
 
  
 +
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(Figure 8&nbsp;、 Grafana Time Range)
  
 +
[[File:Grafana Exportcsv2.PNG|RTENOTITLE]]
  
</pre>
 
  
  
 +
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(Figure 9&nbsp;、 Export&nbsp;CSV)
  
 +
<span style="color:#FF0000;">** Notice **</span>
  
 +
<span style="color:#FF0000;">It will be recorded when the status changes</span>
  
 +
&nbsp; &nbsp;[[File:Grafana Csv.PNG|RTENOTITLE]]
  
 +
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;(Figure 10&nbsp;、 CSV File Example)
  
 
= Release =
 
= Release =
  
This is an overview that displays Modbus Service&nbsp;versions and some stats and numbers for each release.
+
{| border="1" cellspacing="1" cellpadding="1" style="width: 546px;"
 +
|-
 +
| style="width: 36px;" | Index
 +
| style="width: 54px;" | Version
 +
| style="width: 78px;" | Date
 +
| style="width: 56px;" | OS<br/>
 +
| style="width: 188px;" | Release Note<br/>
 +
| style="width: 101px;" | Download Link<br/>
 +
|-
 +
| style="width: 36px;" | 1
 +
| style="width: 54px;" | 1.0.0
 +
| style="width: 78px;" | 2019-11-1
 +
| style="width: 56px;" | windows
 +
| style="width: 188px;" | First Release<br/>
 +
| style="width: 101px;" |
 +
[file://EOSSFS/ESS-Release/EdgeSense/Release/Windows/EnOcean/Gannt-Chart-For-TLS/Release/1.0.0/grafana-plugin/grafana-plugin.zip [1]]
  
{| border="1" cellspacing="1" cellpadding="1"
 
 
|-
 
|-
| Index
+
| style="width: 36px;" | 2
| Version
+
| style="width: 54px;" | 1.0.1
| Date
+
| style="width: 78px;" | 2020-2-3
| Platform
+
| style="width: 56px;" | windows
| OS
+
| style="width: 188px;" |
| Release Note
+
Add two Feature
| Installer
+
 
 +
1.&nbsp;Med Space
 +
 
 +
2. Header Indent
 +
 
 +
| style="width: 101px;" |
 +
[file://EOSSFS/ESS-Release/EdgeSense/Release/Windows/EnOcean/Gannt-Chart-For-TLS/Release/1.0.1/grafana-plugin/grafana-plugin.zip [2]]
 +
 
 
|-
 
|-
| 1
+
| style="width: 36px;" | 3
| xxxx
+
| style="width: 54px;" |
| xxxx
+
1.0.2
| xxxx
+
 
| xxxx<br/>
+
| style="width: 78px;" | 2021-7-22
| <br/>
+
| style="width: 56px;" | windows<br/>
|
+
| style="width: 188px;" | Add export csv
 +
| style="width: 101px;" | [file://EOSSFS/ESS-Release/EdgeSense/Release/Windows/EnOcean/Gannt-Chart-For-TLS/Release/1.0.2/grafana-plugin/grafana-plugin.zip [3]]<br/>
 
|}
 
|}
[[Category:Editor]]
 

Latest revision as of 04:27, 23 August 2021

Gannt Panel For TLS

RTENOTITLE




Introduction

This is a customized Gantt chart for the TLS project. The diagram has following features.

  1. Can gets TLS data in period and shows color bar with priority display rule.
  2. Can set customize status text from option.
  3. Direction of time axis: from Left (past) to Right (present).
  4. Can set color (Red, Yellow, Green, Blue) mapping to light sensor ID (Light1, Light2, Light3, Light4) by TLS.
  5. Can define timeline period on Gantt chart.
  6. The timeline will be displayed below the Gantt chart.
  7. Gantt chart can set customize label name.





Grafana Version

This Project is base on Grafana v5.3.0 .





How To Add RMM-SimpleJSON DataSource

Choose Configuration -> Data Source -> RMM-SimpleJson

RTENOTITLE

Edit settings as follow

RTENOTITLE

Name: RMM-SimpleJson

HTTP
URL: http://168.63.200.38/rmm/v1/grafana/simplejson/
* Notice: you need to change url for your EdgeSense url . For example, https://edgesense.wise-paas.com/rmm/v1/grafana/simplejson/

Access: Server (default)

Auth
Basic Auth : V

Basic Auth Details
User: xxx
Password:  xxx
* Notice: you need to assign user and password for your EdgeSense authentication.



How To Create A New Gantt Panel

 Step 1: Add panel and choose plugin "Gantt-for-TLS" see Figure 1.
 Step 2: Edit panel see Figure 2.
 Step 3: Set up Metrics and choose DataSource "RMM-SimpleJson".
 Step 4: Set up all of the sensor's(Light1、Light2、Light3、Light4) "Device" "Plugin" "Sensor" "Alias" see Figure 3. 

      *Warning: Although the sensor light can define the mapping color but the aliases must be these strings "red" "yellow" "green" "blue".




RTENOTITLE                 

                                                                                                      (Figure 1 、 Add Panel)



RTENOTITLE

                                                                                                        (Figure 2 、 Edit Panel) 



RTENOTITLE

                                                                                                                                                      (Figure 3 、 Set Metrics)


Customizable

      Options

  • You can set up the status text from option1~option5 from Figure 5 .
  • You can set up the label text from option10 from Figure 6 .
  • "Row Height option6" can change panel's heigh.
  • "Text Size option7" can change status text's size.
  • "Med Space option8" can Change the distance between Label and Status.
  • "Header Indent option9" can change the header's width.


RTENOTITLE

                                                                                                              (Figure 4 、 Options Step)

RTENOTITLE

                                                                                                                                           (Figure 5 、 Status Text)

RTENOTITLE

                                                                                                                                           (Figure 6 、 Label Text)

      Colors

  • "Status Text" can change  status text's color  from 1 see Figure 7 .
  • "Red/Yellow/Green/Blue Light" can change  light's color from 2 ~ 6 see Figure 7 .

RTENOTITLE

                                                                 (Figure 7 、 Colors Mapping)

Export CSV File

      Options

  • Please select the appropriate time range see Figure 8 .
  • Click the Export CSV see Figure 9 .

RTENOTITLE

                                                                                                                                                     (Figure 8 、 Grafana Time Range)

RTENOTITLE


                                                                                                                                         (Figure 9 、 Export CSV)

** Notice **

It will be recorded when the status changes

   RTENOTITLE

          (Figure 10 、 CSV File Example)

Release

Index Version Date OS
Release Note
Download Link
1 1.0.0 2019-11-1 windows First Release

[1]

2 1.0.1 2020-2-3 windows

Add two Feature

1. Med Space

2. Header Indent

[2]

3

1.0.2

2021-7-22 windows
Add export csv [3]