-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update repository for openHAB fork of Eclipse SmartHome (#11)
* Because Eclipse SmartHome (ESH) continues as openHAB Core all references to ESH have been updated for this change: * File renames: * smarthome-grafana.js -> openhab-grafana.js * smarthome-grafana-user-defaults.js -> openhab-grafana-user-defaults.js * Code changes: * SmartHomeSubscriber -> OHSubscriber * SMARTHOME_GRAFANA_DEFAULTS -> OHG_DEFAULTS * The project itself has also been renamed from smarthome-grafana to openhab-grafana * The README.md has been updated to allow for easier code diffs by starting each sentence on a new line * Since this is a major change the version is update from 0.1.0 to 1.0.0. The code before all these changes is available in the 0.1.0 release, see: https://github.com/wborn/openhab-grafana/releases/tag/0.1.0 Signed-off-by: Wouter Born <[email protected]>
- Loading branch information
Showing
14 changed files
with
138 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
// the prefix that is used for each Grafana panel URL | ||
OHG_DEFAULTS["urlPrefix"] = "http://grafana:3000"; | ||
|
||
// use "false" so actual pages are loaded (or comment the line) | ||
OHG_DEFAULTS["debug"] = "true"; | ||
|
||
// use "default" for the default openHAB sitemap (or comment the line) | ||
OHG_DEFAULTS["sitemap"] = "grafana"; | ||
|
||
if (OHG_DEFAULTS["debug"] === "true") { | ||
console.log("Using OHG_DEFAULTS = " + JSON.stringify(OHG_DEFAULTS)); | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.