Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • E EnergyDashboard
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • iCity
  • EnergyDashboard
  • Merge requests
  • !25
An error occurred while fetching the assigned milestone of the selected merge_request.

Update the documentation for the repository

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Pithon Kabiro requested to merge wip_repo-documentation into master 3 years ago
  • Overview 0
  • Commits 6
  • Pipelines 0
  • Changes 6
  • Pithon Kabiro @pithon.kabiro assigned to @pithon.kabiro 3 years ago

    assigned to @pithon.kabiro

  • Pithon Kabiro @pithon.kabiro mentioned in commit fe44753a 3 years ago

    mentioned in commit fe44753a

  • Pithon Kabiro @pithon.kabiro merged 3 years ago

    merged

  • Loading
  • Loading
  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
Compare
  • master (base)

and
  • latest version
    4dd5c69d
    6 commits, 3 years ago

6 files
+ 1041
- 17

    Preferences

    File browser
    Compare changes

Some changes are not shown

For a faster browsing experience, some files are collapsed by default.

pub‎lic‎
favic‎on.ico‎ +0 -0
index‎.html‎ +14 -10
READ‎ME.md‎ +34 -2
inde‎x.js‎ +3 -0
package-‎lock.json‎ +974 -1
packag‎e.json‎ +16 -4
public/favicon.ico 0 → 100644
+ 0
- 0
  • View file @ 4dd5c69d

318 bytes

index.html → public/index.html
+ 14
- 10
  • View file @ 4dd5c69d

  • Edit in single-file editor

  • Open in Web IDE


@@ -9,8 +9,8 @@
/>
<meta name="description" content="" />
<meta name="author" content="" />
<title>Dashboard - iCity Bosch</title>
<link href="css/thirdparty/styles.css" rel="stylesheet" />
<title>iCity Energy Dashboard</title>
<link href="./css/thirdparty/styles.css" rel="stylesheet" />
<link
href="https://cdn.datatables.net/1.10.20/css/dataTables.bootstrap4.min.css"
rel="stylesheet"
@@ -19,7 +19,7 @@
<!--
CUSTOM CSS -->
<link href="css/stylesCustom.css" rel="stylesheet" />
<link href="./css/stylesCustom.css" rel="stylesheet" />
<!-- Font Awesome icons -->
<script
@@ -60,19 +60,23 @@
src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js"
crossorigin="anonymous"
></script>
<script src="js/thirdparty/scripts.js"></script>
<script src="./js/thirdparty/scripts.js"></script>
<!-- vanillaSelectBox -->
<link href="css/thirdparty/vanillaSelectBox.css" rel="stylesheet" />
<link href="./css/thirdparty/vanillaSelectBox.css" rel="stylesheet" />
<!--
Custom JS -->
<script defer type="module" src="js/appCesium.js"></script>
<script defer type="module" src="js/appChart.js"></script>
<script defer type="module" src="./js/appCesium.js"></script>
<script defer type="module" src="./js/appChart.js"></script>
<!--
Favicon -->
<link rel="icon" href="/public/favicon.ico" />
</head>
<body class="sb-nav-fixed">
<nav class="sb-topnav navbar navbar-expand navbar-dark bg-dark">
<a class="navbar-brand" href="index.html">iCity Bosch Dashboard</a>
<a class="navbar-brand" href="index.html">Energy Dashboard</a>
<button
class="btn btn-link btn-sm order-1 order-lg-0"
id="sidebarToggle"
@@ -100,9 +104,9 @@
<div id="layoutSidenav_content">
<main>
<div class="container-fluid">
<h1 class="mt-4">Dashboard</h1>
<!-- <h1 class="mt-4">Dashboard</h1> -->
<ol class="breadcrumb mb-4">
<li class="breadcrumb-item active">Dashboard</li>
<li class="breadcrumb-item active"></li>
</ol>
<div class="row">
README.md
+ 34
- 2
  • View file @ 4dd5c69d

  • Edit in single-file editor

  • Open in Web IDE

# iCity TP3.1 Dashboard
# Energy Dashboard Prototype
Development of dashboard for Bosch Schwieberdingen
\ No newline at end of file
A prototype of an energy dashboard for the Bosch Schwieberdingen facility. The development of this dashboard was carried out as part of sub-project 3.1 (_Effizienzsteigerung durch intelligente Vernetzung von Erzeugern und Verbrauchern in Gewerbegebieten am Beispiel der Robert Bosch GmbH, Standort Schwieberdingen_) of the iCity project.
## Features
- Retrieve raw observations at 15 minute and 60 minute sampling rates
- Aggregate the raw observations for daily or monthly intervals. The currently available aggregation options are `sum`, `maximum`, `minimum` and `average`
- Visualize the raw and aggregated observations using four types of charts: line, heatmap, scatter plot and column. These charts are based on the [Highcharts](https://www.highcharts.com/blog/products/highcharts/) JavaScript library
## Installation
- Clone this repository
- Create a `config.mjs` file and place it in the root of the `public/js` directory. This file should have the following structure:
```javascript
const CESIUM_ION_ACCESS_TOKEN = "your_cesium_ion_token";
const SENSORTHINGS_API_BASE_URL = "your_sensorthingsapi_server_url";
export { CESIUM_ION_ACCESS_TOKEN, SENSORTHINGS_API_BASE_URL };
```
- Install the application's dependencies
```bash
$ npm i
```
- Start the application (which should be available at `http://localhost:3000`)
```bash
$ nodemon index.js
```
index.js
+ 3
- 0
  • View file @ 4dd5c69d

  • Edit in single-file editor

  • Open in Web IDE


const express = require("express");
const favicon = require("express-favicon");
const app = express();
const port = process.env.PORT || 3000;
app.use(express.static("public"));
app.use(favicon(__dirname + "/public/favicon.ico"));
app.get("/", (req, res) => {
res.sendFile(__dirname + "/index.html");
});
package-lock.json
+ 974
- 1
  • View file @ 4dd5c69d

  • Edit in single-file editor

  • Open in Web IDE

Files with large changes are collapsed by default.

Assignee
Pithon Kabiro's avatar
Pithon Kabiro
Assign to
0 Reviewers
None
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
0
0 participants
Reference:
Source branch: wip_repo-documentation

Menu

Explore Projects Groups Snippets

Dies ist die Gitlab-Instanz des Transferportals der Hochschule für Technik Stuttgart. Hier geht es zurück zum Portal