-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.html
54 lines (45 loc) · 2.09 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="js/pm5.js"></script>
<script src="js/pm5-printables.js"></script>
<script src="js/app.js"></script>
<script src="js/ymnnjq.js"></script>
<link rel="stylesheet" href="css/style.css" type="text/css" />
</head>
<body>
<div id="controls">
<button id="connect">Connect</button>
<button id="toggle-instructions">Show instructions</button>
<span id="monitor-information"></span>
</div>
<div id="instruction-text" class="hidden">
<p>
This application connects to a
<a target="_blank" href="https://www.concept2.com/indoor-rowers/performance-monitors">Concept2
PM5</a> monitor over Bluetooth and displays all workout variables.
</p>
<h2>Requirements</h2>
<ul>
<li><a target="_blank" href="https://caniuse.com/#feat=web-bluetooth">Web Bluetooth supported browser</a></li>
<li><a target="_blank" href="https://www.concept2.com/indoor-rowers/performance-monitors">PM5</a> attached to a
<a target="_blank" href="https://www.concept2.com">Concept2 ergometer</a></li>
</ul>
<h2>Usage</h2>
<ul>
<li>On the PM5, <strong>More Options</strong> -> <strong>Turn Wireless ON</strong></li>
<li>Click the <strong>Connect</strong> button above and pair to PM5.</li>
<li>Wait for the browser to do it's thing; might take some seconds.</li>
<li>Click boxes to highlight them.</li>
<li>Setup workout on PM5. Start rowing / skiing / biking. Watch numbers change. Get excited.</li>
</ul>
<p>
Tested on Chrome on Mac OS X. <a target="_blank" href="https://github.com/ergarcade/pm5-base">Source on GitHub</a>.
</p>
</div>
<div id="notifications">
</div>
</body>
</html>