summaryrefslogtreecommitdiff
path: root/datastore-leveldb/wwwroot_ebus/control.html
diff options
context:
space:
mode:
authorEbus-at-dockstar <ebus@dockstar>2014-07-26 19:55:43 +0200
committerEbus-at-dockstar <ebus@dockstar>2014-07-26 19:55:43 +0200
commita8cd2ecf7387d7bbe16808ca0c7acdb04a4909cb (patch)
tree524672c3237be2552379f9d752184bd3cbf1d554 /datastore-leveldb/wwwroot_ebus/control.html
parent3f5b5ff5e71cf078c2c04906bffa06f3a1050085 (diff)
downloadebus-alt-a8cd2ecf7387d7bbe16808ca0c7acdb04a4909cb.tar.gz
ebus-alt-a8cd2ecf7387d7bbe16808ca0c7acdb04a4909cb.zip
Revert "embed xexpr-path" restore datastore-leveldb and other stuff
This reverts commit f6675ccdd7a5997def3c4656f0e2c5dbbbed1fc8.
Diffstat (limited to 'datastore-leveldb/wwwroot_ebus/control.html')
-rw-r--r--datastore-leveldb/wwwroot_ebus/control.html52
1 files changed, 52 insertions, 0 deletions
diff --git a/datastore-leveldb/wwwroot_ebus/control.html b/datastore-leveldb/wwwroot_ebus/control.html
new file mode 100644
index 0000000..db9e7b8
--- /dev/null
+++ b/datastore-leveldb/wwwroot_ebus/control.html
@@ -0,0 +1,52 @@
+<html>
+<head>
+ <title>Control Panel</title>
+ <script src="lib/d3-v2.6.1/d3.js" type="text/javascript"></script>
+ <script src="lib/d3-v2.6.1/d3.time.js" type="text/javascript"></script>
+ <script src="src/d3.plot.js" type="text/javascript"></script>
+ <script src="src/d3.control.js" type="text/javascript"></script>
+ <style>
+ path {
+ stroke: steelblue;
+ stroke-width: 2;
+ fill: none;
+ }
+ line {
+ stroke: black;
+ }
+ div.popup {
+ position: absolute;
+ border: 2px solid gray;
+ background-color: #fefefe;
+ }
+ div.popup .plot {
+ margin: 5px;
+ }
+ </style>
+</head>
+<body>
+ <div id="image"></div>
+ <script type="text/javascript">
+ var mapping = {
+ /* id : { options } */
+ "heizkesselWert":{
+ type:"text",
+ sensor:"heizkreisregler10.betriebsdatenRegler1.kesselTemperatur",
+ range:7*60*60*24*1000 /*7 days*/},
+ "tempkollektorWert":{
+ type:"text",
+ sensor:"heizkreisregler9.solarDaten.tempKollektor",
+ range:7*60*60*24*1000},
+ "temperatur_oel":{
+ type:"text",
+ sensor:"feuerungsautomat1.betriebsdatenRegler1.boilerTemperatur",
+ range:7*60*60*24*1000},
+ "temperatur_holz":{
+ type:"text",
+ sensor:"feuerungsautomat1.betriebsdatenRegler1.boilerTemperatur",
+ range:7*60*60*24*1000},
+ };
+ var control = d3.control(d3.select("#image"), "draw.svg", mapping);
+</script>
+</body>
+</html>