123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>meBarista</title>
- <link rel="shortcut icon" href="https://mecoffee.nl/wp-content/uploads/2015/07/logo-16.png">
- <link rel="apple-touch-icon" href="images/logo-57.png">
- <link rel="apple-touch-icon" sizes="114x114" href="images/logo-114.png">
- <link rel="apple-touch-icon" sizes="72x72" href="images/logo-72.png">
- <link rel="apple-touch-icon" sizes="144x144" href="images/logo-144.png">
- <link rel="stylesheet" href="lib/bootstrap/css/bootstrap.min.css">
- <link rel="stylesheet" href="lib/bootstrap/css/bootstrap-theme.min.css">
-
- <link rel="stylesheet" href="lib/bootstrap-switch.css">
- <link rel="stylesheet" href="lib/bootstrap-slider.css">
- <link rel="stylesheet" href="lib/bootstrap-timepicker.css">
- <link rel="stylesheet" href="lib/bootstrap-select.css">
- <link rel="stylesheet" href="lib/d3-gauge-simple.css">
-
- <style>
- svg {
- font: 10px sans-serif;
- }
- #line_sp, #line_tmp2 { color: red; fill: none;}
- #line_tmp, .line {
- fill: none;
- stroke: #000;
- stroke-width: 1.5px;
- }
- .axis path,
- .axis line {
- fill: none;
- stroke: #000;
- shape-rendering: crispEdges;
- }
- .temperature { width: 10em; }
- .temperature input { text-align: right; }
- .tab-content { padding-top: 2em;}
- .svg-container {
- display: inline-block;
- position: relative;
- width: 100%;
- padding-bottom: 70%;
- vertical-align: middle;
- overflow: hidden;
- }
- .svg-content {
- display: inline-block;
- position: relative;
- height: 25vh;
- width: 100%;
- top: 0;
- left: 0;
- bottom: 0;
- }
- .slider-track-high { background: darkgrey; }
- .slider-selection { background: darkgrey; }
- .slider-horizontal { top: 0.4em; }
- .bootstrap-select { width: 25em !important;}
- .help {
- position: absolute; margin-right: 2em; margin-bottom: 16em;
- }
- </style>
- </head>
- <body>
- <div class="container">
- <p> <p/>
- <div style="padding-bottom: 7vh;">
-
- <div id="gauge_boiler" style="position: absolute; z-index: 100; top: 22vh; left: 3vw;"></div>
- <div id="gauge_shottimer" style="display: none; position: absolute; z-index: 100; top: 22vh; left: 13vw;"></div>
- <div class="well" style="height: 30vh;">
- <div id="graph" class="svg-container"></div>
- </div>
-
- </div>
-
- <ul id="tabs" class="nav nav-tabs">
- <li role="presentation" class="active"><a href="#connect" data-toggle="tab">Connect</a></li>
- <li role="presentation"><a href="#temperature" data-toggle="tab">Temperature</a></li>
- <li role="presentation"><a href="#pid" data-toggle="tab">PID</a></li>
- <li role="presentation"><a href="#pressure" data-toggle="tab">Pressure</a></li>
- <li role="presentation"><a href="#preinfusion" data-toggle="tab">Preinfusion</a></li>
- <li role="presentation"><a href="#timer" data-toggle="tab">Timer</a></li>
- <li role="presentation"><a href="#hardware" data-toggle="tab">Hardware</a></li>
- <li role="presentation"><a href="#about" data-toggle="tab">About</a></li>
- </ul>
- <div id="my-tab-content" class="tab-content">
- <a href="https://mecoffee.nl" target="_blank" style="position: absolute; right: 5vw;">
- <img src="images/logo-128.png" style="width: 10vw;" />
- </a>
- <div class="tab-pane" id="temperature">
- <form class="form-horizontal" role="form">
-
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">Current</label>
- <div class="col-sm-10">
- <div class="input-group temperature">
- <input id="mc_tmp" type="number" readonly class="form-control" placeholder="101.00" aria-describedby="basic-addon1">
- <span class="input-group-addon" id="basic-addon2">°C</span>
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">Setpoint</label>
- <div class="col-sm-10">
- <div class="input-group temperature">
- <input id="mc_tmpsp" type="number" min="90" max="115" step="0.5"
- pattern="\d+(\.\d{2})?" class="form-control target" placeholder="101.00"
- aria-describedby="basic-addon1" data-scale="100">
- <span id="mc_tmpsp_c" class="input-group-addon">°C</span>
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">Steam</label>
- <div class="col-sm-10">
- <div class="input-group temperature">
- <input id="mc_tmpstm" type="number" min="115" max="135" step="0.5"
- pattern="\d+(\.\d{2})?" class="form-control target" placeholder="125.00"
- aria-describedby="basic-addon1" data-scale="100">
- <span id="mc_tmpstm_c" class="input-group-addon">°C</span>
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">Continous mode</label>
- <div class="col-sm-10">
- <input id="mc_tmpcntns" type="checkbox" name="joop" class="form-control target" value="1">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">Pro Active</label>
- <div class="col-sm-10">
- <div class="input-group temperature">
- <input class="slider target" id="mc_tmppap" type="text" data-slider-min="0" data-slider-max="100" data-slider-step="1" data-slider-value="0" >
- <!-- span id="mc_pap_lbl">3</span -->
- <!-- input id="mc_pap" type="text" class="form-control target" aria-describedby="basic-addon1" -->
- <!-- span class="input-group-addon" id="basic-addon2">%</span -->
- </div>
- </div>
- </div>
- </form>
- </form>
- <div class="help">
- <a href="https://mecoffee.nl/mebarista/help/temperature/" target="_blank">Help</a>
- </div>
- </div>
- <div class="tab-pane" id="pid">
- <form class="form-horizontal" role="form">
-
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">Proportional</label>
- <div class="col-sm-10">
- <input id="mc_pd1p" type="text" class="form-control temperature target" placeholder="25" aria-describedby="basic-addon1">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">Integral</label>
- <div class="col-sm-10">
- <input id="mc_pd1i" type="text" class="form-control temperature target" placeholder="3" aria-describedby="basic-addon1">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">Derative</label>
- <div class="col-sm-10">
- <input id="mc_pd1d" type="text" class="form-control temperature target" placeholder="128" aria-describedby="basic-addon1">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">Interval</label>
- <div class="col-sm-10">
- <div class="input-group temperature">
- <input class="slider target" id="mc_pd1sz" type="text" data-slider-min="1000" data-slider-max="10000" data-slider-step="500" data-slider-value="0" >
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">Winddown</label>
- <div class="col-sm-10">
- <div class="input-group temperature">
- <input class="slider target" id="mc_pd1imx" type="text" data-slider-min="1500" data-slider-max="5000" data-slider-step="100" data-slider-value="0" >
- </div>
- </div>
- </div>
-
- </form>
- </form>
- <div class="help">
- <a href="https://mecoffee.nl/mebarista/help/temperature/pid/" target="_blank">Help</a>
- </div>
- </div>
- <div class="tab-pane" id="pressure">
- <form class="form-horizontal" role="form">
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">Start</label>
- <div class="col-sm-10">
- <div class="input-group temperature">
- <input id="mc_pp1" type="text" class="form-control target" aria-describedby="basic-addon1">
- <span class="input-group-addon" id="basic-addon2">%</span>
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">End</label>
- <div class="col-sm-10">
- <div class="input-group temperature">
- <input id="mc_pp2" type="text" class="form-control target" aria-describedby="basic-addon1">
- <span class="input-group-addon" id="basic-addon2">%</span>
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">Period</label>
- <div class="col-sm-10">
- <div class="input-group temperature">
- <input id="mc_ppt" type="text" class="form-control target" aria-describedby="basic-addon1">
- <span class="input-group-addon" id="basic-addon2">s</span>
- </div>
- </div>
- </div>
-
- </form>
- <div class="help">
- <a href="https://mecoffee.nl/mebarista/help/pressure/" target="_blank">Help</a>
- </div>
- </div>
- <div class="tab-pane" id="preinfusion">
- <form class="form-horizontal" role="form">
-
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">Preinfusion</label>
- <div class="col-sm-10">
- <input id="mc_pinbl" class="target" type="checkbox" class="form-control target" >
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">Pump time</label>
- <div class="col-sm-10">
- <div class="input-group temperature">
- <input class="slider target" id="mc_pistrt" type="text" data-slider-min="1" data-slider-max="5" data-slider-step="1" data-slider-value="0" >
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">Close valve</label>
- <div class="col-sm-10">
- <input id="mc_pivlv" class="target" type="checkbox" class="form-control target" >
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">Pause time</label>
- <div class="col-sm-10">
- <div class="input-group temperature">
- <input class="slider target" id="mc_piprd" type="text" data-slider-min="1" data-slider-max="10" data-slider-step="1" data-slider-value="0" >
- </div>
- </div>
- </div>
- </form>
- </form>
- <div class="help">
- <a href="https://mecoffee.nl/mebarista/help/preinfusion/" target="_blank">Help</a>
- </div>
- </div>
- <div class="tab-pane" id="timer">
- <form class="form-horizontal" role="form">
-
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">Wakeup</label>
- <div class="col-sm-10">
- <input id="mc_tmrwnbl" class="target" type="checkbox" class="form-control target" >
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">At</label>
- <div class="col-sm-10">
- <div class="input-group temperature">
- <input id="mc_tmron" type="text" class="form-control input-small timepicker target" aria-describedby="basic-addon1">
- <span class="input-group-addon" id="basic-addon2"><i class="glyphicon glyphicon-time" aria-hidden="true"></i></span>
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">Shutdown</label>
- <div class="col-sm-10">
- <input id="mc_tmrsnbl" class="target" type="checkbox" class="form-control target" >
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">At</label>
- <div class="col-sm-10">
- <div class="input-group temperature">
- <input id="mc_tmroff" type="text" class="form-control input-small timepicker target" aria-describedby="basic-addon1">
- <span class="input-group-addon" id="basic-addon2"><i class="glyphicon glyphicon-time" aria-hidden="true"></i></span>
- </div>
- </div>
- </div>
-
- </form>
- <div class="help">
- <a href="https://mecoffee.nl/mebarista/help/timer/" target="_blank">Help</a>
- </div>
- </div>
- <div class="tab-pane" id="hardware">
- <form class="form-horizontal" role="form">
-
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">Installed a timer</label>
- <div class="col-sm-10">
- <input id="mc_tmrpwr" class="target" type="checkbox" class="form-control target" >
- </div>
- </div>
- </form>
- </div>
- <div class="tab-pane active" id="connect">
- <form class="form-horizontal" role="form">
-
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">Show</label>
- <div class="col-sm-10">
-
- <select id="device" class="selectpicker">
- <optgroup id="devices" label="Bluetooth devices">
- <option id="devices_msg" value="none">Not available: use as a Google Chrome/App extension to access Bluetooth devices</option>
- </optgroup>
- <optgroup label="Demos">
- <option value="share_56273d393cab0" selected>Silvia meCoffee vs Factory - warmup</option>
- <!-- option value="share_55fc39ec76b7b">Silvia meCoffee vs Factory - espresso shot</option>
- <option value="share_55fc667737cc9">Vibiemme Domobar meCoffee - warmup</option !-->
- </optgroup>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">Speed</label>
- <div class="col-sm-10">
- <input class="slider" id="demo_speed" type="text" data-slider-min="1" data-slider-max="50" data-slider-step="1" data-slider-value="5" >
- </div>
- </div>
- <p style="height: 2em;"></p>
-
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp"></label>
- <div class="col-sm-10">
-
- <button id="start" class="btn btn-primary">
- <span id="start_icon" class="glyphicon glyphicon-play" aria-hidden="true"></span>
-
- <span id="start_label">Start</span>
- </button>
- </div>
- </div>
-
- </form>
- </div>
- <div class="tab-pane" id="about">
- <form class="form-horizontal" role="form">
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">Website</label>
- <div class="col-sm-10">
- <a href="https://mecoffee.nl" target="_blank">mecoffee.nl</a>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp"></label>
- <div class="col-sm-10">
-
- <button id="share" class="btn btn-primary">
- <span id="share_icon" class="glyphicon glyphicon-share" aria-hidden="true"></span>
-
- <span id="start_label">Share</span>
- </button>
- <span id="share_result" style="margin-left: 2em;">...</span>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-2" for="mc_tmp">Version</label>
- <div class="col-sm-10">
- 0.2.1<br/>Support for 0.1 second preinfusion timing with new firmware<br/>
- 0.2.0<br/>Support for new firmware : updated preinfusion scale to milliseconds.<br/>
- 0.1.8<br/>Fixed connectivity, shutdown timer, shot timer<br/>
- 0.1.7<br/>
- Added Boiler Gauge, Shot Timer and remote loading of meBarista logs<br/>
- 0.1.6<br/>
- Added the right scale to the steam control<br/>
- 0.1.5<br/>
- Added steam control, cleaned up<br/>
- 0.1.4<br/>
- Fixed pressure controls again<br/>
- 0.1.3<br/>
- Added about-tab</br>
- <br/>
- 0.1.2<br/>
- Fixed preinfusion and pressure controls<br/>
- <br/>
- 0.1.1<br/>
- Initial public version<br/>
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
- <script src="lib/jquery-1.11.2.min.js"></script>
- <script src="lib/bootstrap/js/bootstrap.min.js"></script>
- <script src="lib/bootstrap-switch.js"></script>
- <script src="lib/bootstrap-slider.min.js"></script>
- <script src="lib/bootstrap-timepicker.js"></script>
- <script src="lib/bootstrap-select.js"></script>
- <script src="lib/d3.v3.min.js"></script>
- <script src="lib/d3-gauge.js"></script>
- <script src="graph.js"></script>
- <script src="mecoffee.js"></script>
-
- </body>
- </html>
|