node-poweredup 6.11.0 → 8.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (311) hide show
  1. package/.drone.yml +1 -0
  2. package/.gitmodules +3 -0
  3. package/{jsdoc.conf.json → .jsdoc.json} +14 -1
  4. package/README.md +47 -42
  5. package/dist/browser/poweredup.js +1 -1
  6. package/dist/browser/poweredup.js.map +1 -1
  7. package/dist/node/color.d.ts +6 -0
  8. package/dist/node/color.js +38 -0
  9. package/dist/node/color.js.map +1 -0
  10. package/dist/node/consts.d.ts +48 -27
  11. package/dist/node/consts.js +53 -31
  12. package/dist/node/consts.js.map +1 -1
  13. package/dist/node/devices/absolutemotor.js +6 -6
  14. package/dist/node/devices/absolutemotor.js.map +1 -1
  15. package/dist/node/devices/basicmotor.js +2 -2
  16. package/dist/node/devices/basicmotor.js.map +1 -1
  17. package/dist/node/devices/colordistancesensor.d.ts +11 -0
  18. package/dist/node/devices/colordistancesensor.js +95 -2
  19. package/dist/node/devices/colordistancesensor.js.map +1 -1
  20. package/dist/node/devices/device.js +2 -0
  21. package/dist/node/devices/device.js.map +1 -1
  22. package/dist/node/devices/duplotrainbasecolorsensor.d.ts +2 -1
  23. package/dist/node/devices/duplotrainbasecolorsensor.js +15 -2
  24. package/dist/node/devices/duplotrainbasecolorsensor.js.map +1 -1
  25. package/dist/node/devices/light.js +1 -1
  26. package/dist/node/devices/light.js.map +1 -1
  27. package/dist/node/devices/tachomotor.js +6 -6
  28. package/dist/node/devices/tachomotor.js.map +1 -1
  29. package/dist/node/devices/technic3x3colorlightmatrix.d.ts +22 -0
  30. package/dist/node/devices/technic3x3colorlightmatrix.js +77 -0
  31. package/dist/node/devices/technic3x3colorlightmatrix.js.map +1 -0
  32. package/dist/node/devices/techniccolorsensor.js +2 -1
  33. package/dist/node/devices/techniccolorsensor.js.map +1 -1
  34. package/dist/node/devices/technicmediumhubtiltsensor.d.ts +25 -1
  35. package/dist/node/devices/technicmediumhubtiltsensor.js +70 -2
  36. package/dist/node/devices/technicmediumhubtiltsensor.js.map +1 -1
  37. package/dist/node/devices/technicsmallangularmotor.d.ts +12 -0
  38. package/dist/node/devices/technicsmallangularmotor.js +35 -0
  39. package/dist/node/devices/technicsmallangularmotor.js.map +1 -0
  40. package/dist/node/hubs/basehub.js +4 -0
  41. package/dist/node/hubs/basehub.js.map +1 -1
  42. package/dist/node/hubs/hub.js +1 -1
  43. package/dist/node/hubs/hub.js.map +1 -1
  44. package/dist/node/hubs/lpf2hub.js +20 -19
  45. package/dist/node/hubs/lpf2hub.js.map +1 -1
  46. package/dist/node/hubs/movehub.js +1 -1
  47. package/dist/node/hubs/movehub.js.map +1 -1
  48. package/dist/node/hubs/technicmediumhub.js +1 -1
  49. package/dist/node/hubs/technicmediumhub.js.map +1 -1
  50. package/dist/node/hubs/technicsmallhub.d.ts +18 -0
  51. package/dist/node/hubs/technicsmallhub.js +64 -0
  52. package/dist/node/hubs/technicsmallhub.js.map +1 -0
  53. package/dist/node/index-browser.js +6 -0
  54. package/dist/node/index-browser.js.map +1 -1
  55. package/dist/node/index-node.d.ts +4 -1
  56. package/dist/node/index-node.js +7 -1
  57. package/dist/node/index-node.js.map +1 -1
  58. package/dist/node/poweredup-browser.js +8 -1
  59. package/dist/node/poweredup-browser.js.map +1 -1
  60. package/dist/node/poweredup-node.js +30 -1
  61. package/dist/node/poweredup-node.js.map +1 -1
  62. package/dist/node/utils.d.ts +1 -1
  63. package/dist/node/utils.js +10 -3
  64. package/dist/node/utils.js.map +1 -1
  65. package/docs/AbsoluteMotor.html +1220 -1405
  66. package/docs/BaseHub.html +787 -872
  67. package/docs/BasicMotor.html +923 -1078
  68. package/docs/ColorDistanceSensor.html +2188 -1540
  69. package/docs/CurrentSensor.html +711 -800
  70. package/docs/Device.html +574 -665
  71. package/docs/DuploTrainBase.html +1255 -1375
  72. package/docs/DuploTrainBaseColorSensor.html +1049 -978
  73. package/docs/DuploTrainBaseMotor.html +958 -1113
  74. package/docs/DuploTrainBaseSpeaker.html +793 -916
  75. package/docs/DuploTraniBaseSpeedometer.html +628 -719
  76. package/docs/Hub.html +5621 -2397
  77. package/docs/HubLED.html +831 -944
  78. package/docs/LPF2Hub.html +1215 -1335
  79. package/docs/Light.html +831 -944
  80. package/docs/Mario.html +1255 -1420
  81. package/docs/MarioAccelerometer.html +834 -911
  82. package/docs/MarioBarcodeSensor.html +834 -911
  83. package/docs/MarioPantsSensor.html +711 -800
  84. package/docs/MediumLinearMotor.html +861 -1000
  85. package/docs/MotionSensor.html +711 -800
  86. package/docs/MoveHub.html +1255 -1420
  87. package/docs/MoveHubMediumLinearMotor.html +861 -1000
  88. package/docs/MoveHubTiltSensor.html +730 -814
  89. package/docs/PiezoBuzzer.html +732 -834
  90. package/docs/PoweredUP.html +4322 -0
  91. package/docs/RemoteControl.html +1255 -1420
  92. package/docs/RemoteControlButton.html +711 -800
  93. package/docs/SimpleMediumLinearMotor.html +628 -719
  94. package/docs/TachoMotor.html +1644 -1835
  95. package/docs/Technic3x3ColorLightMatrix.html +1181 -0
  96. package/docs/TechnicColorSensor.html +1008 -1099
  97. package/docs/TechnicDistanceSensor.html +939 -1027
  98. package/docs/TechnicForceSensor.html +883 -968
  99. package/docs/TechnicLargeAngularMotor.html +1254 -1439
  100. package/docs/TechnicLargeLinearMotor.html +1254 -1439
  101. package/docs/TechnicMediumAngularMotor.html +1254 -1439
  102. package/docs/TechnicMediumHub.html +1255 -1420
  103. package/docs/TechnicMediumHubAccelerometerSensor.html +749 -828
  104. package/docs/TechnicMediumHubGyroSensor.html +749 -828
  105. package/docs/TechnicMediumHubTiltSensor.html +1340 -831
  106. package/docs/TechnicSmallAngularMotor.html +2073 -0
  107. package/docs/TechnicXLargeLinearMotor.html +1254 -1439
  108. package/docs/TiltSensor.html +730 -814
  109. package/docs/TrainMotor.html +958 -1113
  110. package/docs/VoltageSensor.html +711 -800
  111. package/docs/WeDo2SmartHub.html +1112 -1221
  112. package/docs/consts.js.html +791 -0
  113. package/docs/devices_absolutemotor.js.html +95 -197
  114. package/docs/devices_basicmotor.js.html +91 -193
  115. package/docs/devices_colordistancesensor.js.html +184 -193
  116. package/docs/devices_currentsensor.js.html +89 -191
  117. package/docs/devices_device.js.html +91 -191
  118. package/docs/devices_duplotrainbasecolorsensor.js.html +104 -193
  119. package/docs/devices_duplotrainbasemotor.js.html +92 -194
  120. package/docs/devices_duplotrainbasespeaker.js.html +89 -191
  121. package/docs/devices_duplotrainbasespeedometer.js.html +89 -191
  122. package/docs/devices_hubled.js.html +89 -191
  123. package/docs/devices_light.js.html +90 -192
  124. package/docs/devices_marioaccelerometer.js.html +89 -191
  125. package/docs/devices_mariobarcodesensor.js.html +89 -191
  126. package/docs/devices_mariopantssensor.js.html +89 -191
  127. package/docs/devices_mediumlinearmotor.js.html +92 -194
  128. package/docs/devices_motionsensor.js.html +89 -191
  129. package/docs/devices_movehubmediumlinearmotor.js.html +92 -194
  130. package/docs/devices_movehubtiltsensor.js.html +89 -191
  131. package/docs/devices_piezobuzzer.js.html +89 -191
  132. package/docs/devices_remotecontrolbutton.js.html +89 -191
  133. package/docs/devices_simplemediumlinearmotor.js.html +92 -194
  134. package/docs/devices_tachomotor.js.html +95 -197
  135. package/docs/devices_technic3x3colorlightmatrix.js.html +190 -0
  136. package/docs/devices_techniccolorsensor.js.html +91 -192
  137. package/docs/devices_technicdistancesensor.js.html +89 -191
  138. package/docs/devices_technicforcesensor.js.html +89 -191
  139. package/docs/devices_techniclargeangularmotor.js.html +92 -194
  140. package/docs/devices_techniclargelinearmotor.js.html +92 -194
  141. package/docs/devices_technicmediumangularmotor.js.html +92 -194
  142. package/docs/devices_technicmediumhubaccelerometersensor.js.html +89 -191
  143. package/docs/devices_technicmediumhubgyrosensor.js.html +89 -191
  144. package/docs/devices_technicmediumhubtiltsensor.js.html +159 -193
  145. package/docs/devices_technicsmallangularmotor.js.html +148 -0
  146. package/docs/devices_technicxlargelinearmotor.js.html +92 -194
  147. package/docs/devices_tiltsensor.js.html +89 -191
  148. package/docs/devices_trainmotor.js.html +92 -194
  149. package/docs/devices_voltagesensor.js.html +89 -191
  150. package/docs/fonts/OpenSans-Bold-webfont.eot +0 -0
  151. package/docs/fonts/OpenSans-Bold-webfont.svg +1830 -0
  152. package/docs/fonts/OpenSans-Bold-webfont.woff +0 -0
  153. package/docs/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  154. package/docs/fonts/OpenSans-BoldItalic-webfont.svg +1830 -0
  155. package/docs/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  156. package/docs/fonts/OpenSans-Italic-webfont.eot +0 -0
  157. package/docs/fonts/OpenSans-Italic-webfont.svg +1830 -0
  158. package/docs/fonts/OpenSans-Italic-webfont.woff +0 -0
  159. package/docs/fonts/OpenSans-Light-webfont.eot +0 -0
  160. package/docs/fonts/OpenSans-Light-webfont.svg +1831 -0
  161. package/docs/fonts/OpenSans-Light-webfont.woff +0 -0
  162. package/docs/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  163. package/docs/fonts/OpenSans-LightItalic-webfont.svg +1835 -0
  164. package/docs/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  165. package/docs/fonts/OpenSans-Regular-webfont.eot +0 -0
  166. package/docs/fonts/OpenSans-Regular-webfont.svg +1831 -0
  167. package/docs/fonts/OpenSans-Regular-webfont.woff +0 -0
  168. package/docs/fonts/OpenSans-Semibold-webfont.eot +0 -0
  169. package/docs/fonts/OpenSans-Semibold-webfont.svg +1830 -0
  170. package/docs/fonts/OpenSans-Semibold-webfont.ttf +0 -0
  171. package/docs/fonts/OpenSans-Semibold-webfont.woff +0 -0
  172. package/docs/fonts/OpenSans-SemiboldItalic-webfont.eot +0 -0
  173. package/docs/fonts/OpenSans-SemiboldItalic-webfont.svg +1830 -0
  174. package/docs/fonts/OpenSans-SemiboldItalic-webfont.ttf +0 -0
  175. package/docs/fonts/OpenSans-SemiboldItalic-webfont.woff +0 -0
  176. package/docs/global.html +9829 -0
  177. package/docs/hubs_basehub.js.html +93 -191
  178. package/docs/hubs_duplotrainbase.js.html +89 -191
  179. package/docs/hubs_hub.js.html +90 -192
  180. package/docs/hubs_lpf2hub.js.html +109 -210
  181. package/docs/hubs_mario.js.html +89 -191
  182. package/docs/hubs_movehub.js.html +90 -192
  183. package/docs/hubs_remotecontrol.js.html +89 -191
  184. package/docs/hubs_technicmediumhub.js.html +90 -192
  185. package/docs/hubs_technicsmallhub.js.html +177 -0
  186. package/docs/hubs_wedo2smarthub.js.html +89 -191
  187. package/docs/icons/home.svg +4 -0
  188. package/docs/icons/search.svg +4 -0
  189. package/docs/index.html +143 -236
  190. package/docs/poweredup-browser.js.html +348 -0
  191. package/docs/poweredup-node.js.html +314 -0
  192. package/docs/scripts/linenumber.js +23 -0
  193. package/docs/scripts/pagelocation.js +89 -0
  194. package/docs/styles/collapse.css +27 -0
  195. package/docs/styles/jsdoc-default.css +953 -0
  196. package/docs/styles/prettify-jsdoc.css +111 -0
  197. package/docs/styles/prettify-tomorrow.css +15 -9
  198. package/jsdoc-template/braintree/CHANGELOG.md +31 -0
  199. package/jsdoc-template/braintree/LICENSE +27 -0
  200. package/jsdoc-template/braintree/README.md +90 -0
  201. package/jsdoc-template/braintree/package.json +39 -0
  202. package/jsdoc-template/braintree/publish.js +675 -0
  203. package/jsdoc-template/braintree/static/fonts/OpenSans-Bold-webfont.eot +0 -0
  204. package/jsdoc-template/braintree/static/fonts/OpenSans-Bold-webfont.svg +1830 -0
  205. package/jsdoc-template/braintree/static/fonts/OpenSans-Bold-webfont.woff +0 -0
  206. package/jsdoc-template/braintree/static/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  207. package/jsdoc-template/braintree/static/fonts/OpenSans-BoldItalic-webfont.svg +1830 -0
  208. package/jsdoc-template/braintree/static/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  209. package/jsdoc-template/braintree/static/fonts/OpenSans-Italic-webfont.eot +0 -0
  210. package/jsdoc-template/braintree/static/fonts/OpenSans-Italic-webfont.svg +1830 -0
  211. package/jsdoc-template/braintree/static/fonts/OpenSans-Italic-webfont.woff +0 -0
  212. package/jsdoc-template/braintree/static/fonts/OpenSans-Light-webfont.eot +0 -0
  213. package/jsdoc-template/braintree/static/fonts/OpenSans-Light-webfont.svg +1831 -0
  214. package/jsdoc-template/braintree/static/fonts/OpenSans-Light-webfont.woff +0 -0
  215. package/jsdoc-template/braintree/static/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  216. package/jsdoc-template/braintree/static/fonts/OpenSans-LightItalic-webfont.svg +1835 -0
  217. package/jsdoc-template/braintree/static/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  218. package/jsdoc-template/braintree/static/fonts/OpenSans-Regular-webfont.eot +0 -0
  219. package/jsdoc-template/braintree/static/fonts/OpenSans-Regular-webfont.svg +1831 -0
  220. package/jsdoc-template/braintree/static/fonts/OpenSans-Regular-webfont.woff +0 -0
  221. package/jsdoc-template/braintree/static/fonts/OpenSans-Semibold-webfont.eot +0 -0
  222. package/jsdoc-template/braintree/static/fonts/OpenSans-Semibold-webfont.svg +1830 -0
  223. package/jsdoc-template/braintree/static/fonts/OpenSans-Semibold-webfont.ttf +0 -0
  224. package/jsdoc-template/braintree/static/fonts/OpenSans-Semibold-webfont.woff +0 -0
  225. package/jsdoc-template/braintree/static/fonts/OpenSans-SemiboldItalic-webfont.eot +0 -0
  226. package/jsdoc-template/braintree/static/fonts/OpenSans-SemiboldItalic-webfont.svg +1830 -0
  227. package/jsdoc-template/braintree/static/fonts/OpenSans-SemiboldItalic-webfont.ttf +0 -0
  228. package/jsdoc-template/braintree/static/fonts/OpenSans-SemiboldItalic-webfont.woff +0 -0
  229. package/jsdoc-template/braintree/static/icons/home.svg +4 -0
  230. package/jsdoc-template/braintree/static/icons/search.svg +4 -0
  231. package/jsdoc-template/braintree/static/scripts/linenumber.js +23 -0
  232. package/jsdoc-template/braintree/static/scripts/pagelocation.js +89 -0
  233. package/jsdoc-template/braintree/static/styles/collapse.css +27 -0
  234. package/jsdoc-template/braintree/static/styles/jsdoc-default.css +953 -0
  235. package/jsdoc-template/braintree/static/styles/prettify-jsdoc.css +111 -0
  236. package/jsdoc-template/braintree/static/styles/prettify-tomorrow.css +138 -0
  237. package/jsdoc-template/braintree/tmpl/augments.tmpl +10 -0
  238. package/jsdoc-template/braintree/tmpl/container.tmpl +213 -0
  239. package/jsdoc-template/braintree/tmpl/details.tmpl +223 -0
  240. package/jsdoc-template/braintree/tmpl/example.tmpl +2 -0
  241. package/jsdoc-template/braintree/tmpl/examples.tmpl +14 -0
  242. package/jsdoc-template/braintree/tmpl/exceptions.tmpl +28 -0
  243. package/jsdoc-template/braintree/tmpl/layout.tmpl +150 -0
  244. package/jsdoc-template/braintree/tmpl/mainpage.tmpl +9 -0
  245. package/jsdoc-template/braintree/tmpl/members.tmpl +38 -0
  246. package/jsdoc-template/braintree/tmpl/method.tmpl +128 -0
  247. package/jsdoc-template/braintree/tmpl/params.tmpl +125 -0
  248. package/jsdoc-template/braintree/tmpl/properties.tmpl +111 -0
  249. package/jsdoc-template/braintree/tmpl/returns.tmpl +17 -0
  250. package/jsdoc-template/braintree/tmpl/source.tmpl +9 -0
  251. package/jsdoc-template/braintree/tmpl/tutorial.tmpl +23 -0
  252. package/jsdoc-template/braintree/tmpl/type.tmpl +11 -0
  253. package/package.json +14 -15
  254. package/src/color.ts +20 -0
  255. package/src/consts.ts +47 -26
  256. package/src/devices/colordistancesensor.ts +98 -3
  257. package/src/devices/device.ts +1 -0
  258. package/src/devices/duplotrainbasecolorsensor.ts +17 -2
  259. package/src/devices/technic3x3colorlightmatrix.ts +64 -0
  260. package/src/devices/techniccolorsensor.ts +2 -1
  261. package/src/devices/technicmediumhubtiltsensor.ts +75 -3
  262. package/src/devices/technicsmallangularmotor.ts +17 -0
  263. package/src/hubs/basehub.ts +4 -0
  264. package/src/hubs/lpf2hub.ts +8 -9
  265. package/src/hubs/technicmediumhub.ts +1 -1
  266. package/src/hubs/technicsmallhub.ts +60 -0
  267. package/src/index-browser.ts +6 -0
  268. package/src/index-node.ts +6 -0
  269. package/src/poweredup-browser.ts +8 -1
  270. package/src/poweredup-node.ts +9 -1
  271. package/src/utils.ts +7 -0
  272. package/docs/classes.list.html +0 -8654
  273. package/docs/fonts/glyphicons-halflings-regular.eot +0 -0
  274. package/docs/fonts/glyphicons-halflings-regular.svg +0 -288
  275. package/docs/fonts/glyphicons-halflings-regular.ttf +0 -0
  276. package/docs/fonts/glyphicons-halflings-regular.woff +0 -0
  277. package/docs/fonts/glyphicons-halflings-regular.woff2 +0 -0
  278. package/docs/img/glyphicons-halflings-white.png +0 -0
  279. package/docs/img/glyphicons-halflings.png +0 -0
  280. package/docs/quicksearch.html +0 -31
  281. package/docs/scripts/docstrap.lib.js +0 -11
  282. package/docs/scripts/fulltext-search-ui.js +0 -89
  283. package/docs/scripts/fulltext-search.js +0 -36
  284. package/docs/scripts/lunr.min.js +0 -6
  285. package/docs/scripts/prettify/Apache-License-2.0.txt +0 -202
  286. package/docs/scripts/prettify/jquery.min.js +0 -6
  287. package/docs/scripts/prettify/lang-css.js +0 -21
  288. package/docs/scripts/prettify/prettify.js +0 -496
  289. package/docs/scripts/sunlight.js +0 -1157
  290. package/docs/scripts/toc.js +0 -203
  291. package/docs/styles/darkstrap.css +0 -960
  292. package/docs/styles/site.cerulean.css +0 -7008
  293. package/docs/styles/site.cosmo.css +0 -7061
  294. package/docs/styles/site.cyborg.css +0 -7048
  295. package/docs/styles/site.darkly.css +0 -7171
  296. package/docs/styles/site.darkstrap.css +0 -5638
  297. package/docs/styles/site.dibs-bootstrap.css +0 -5899
  298. package/docs/styles/site.flatly.css +0 -7147
  299. package/docs/styles/site.journal.css +0 -6973
  300. package/docs/styles/site.lumen.css +0 -7298
  301. package/docs/styles/site.paper.css +0 -7623
  302. package/docs/styles/site.readable.css +0 -6997
  303. package/docs/styles/site.sandstone.css +0 -7035
  304. package/docs/styles/site.simplex.css +0 -7023
  305. package/docs/styles/site.slate.css +0 -7343
  306. package/docs/styles/site.spacelab.css +0 -7055
  307. package/docs/styles/site.superhero.css +0 -7131
  308. package/docs/styles/site.united.css +0 -6895
  309. package/docs/styles/site.yeti.css +0 -7195
  310. package/docs/styles/sunlight.dark.css +0 -345
  311. package/docs/styles/sunlight.default.css +0 -344
@@ -1,192 +1,208 @@
1
1
  <!DOCTYPE html>
2
-
3
2
  <html lang="en">
4
3
  <head>
5
- <meta charset="utf-8">
6
- <meta name="viewport" content="width=device-width">
7
- <title>node-poweredup Class: WeDo2SmartHub</title>
8
4
 
9
- <!--[if lt IE 9]>
10
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11
- <![endif]-->
12
- <link type="text/css" rel="stylesheet" href="styles/sunlight.default.css">
5
+ <meta charset="utf-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+
8
+ <title>
9
+ WeDo2SmartHub - Documentation
10
+ </title>
11
+
12
+ <link href="https://www.braintreepayments.com/images/favicon-ccda0b14.png" rel="icon" type="image/png">
13
+
14
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/highlight.min.js"></script>
15
+ <script>hljs.initHighlightingOnLoad();</script>
16
+
17
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
18
+
19
+ <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
20
+ <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
21
+
13
22
 
14
- <link type="text/css" rel="stylesheet" href="styles/site.simplex.css">
23
+
15
24
 
25
+ <!-- start Mixpanel -->
26
+ <script type="text/javascript">(function(e,a){if(!a.__SV){var b=window;try{var c,l,i,j=b.location,g=j.hash;c=function(a,b){return(l=a.match(RegExp(b+"=([^&]*)")))?l[1]:null};g&&c(g,"state")&&(i=JSON.parse(decodeURIComponent(c(g,"state"))),"mpeditor"===i.action&&(b.sessionStorage.setItem("_mpcehash",g),history.replaceState(i.desiredHash||"",e.title,j.pathname+j.search)))}catch(m){}var k,h;window.mixpanel=a;a._i=[];a.init=function(b,c,f){function e(b,a){var c=a.split(".");2==c.length&&(b=b[c[0]],a=c[1]);b[a]=function(){b.push([a].concat(Array.prototype.slice.call(arguments,
27
+ 0)))}}var d=a;"undefined"!==typeof f?d=a[f]=[]:f="mixpanel";d.people=d.people||[];d.toString=function(b){var a="mixpanel";"mixpanel"!==f&&(a+="."+f);b||(a+=" (stub)");return a};d.people.toString=function(){return d.toString(1)+".people (stub)"};k="disable time_event track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config reset people.set people.set_once people.increment people.append people.union people.track_charge people.clear_charges people.delete_user".split(" ");
28
+ for(h=0;h<k.length;h++)e(d,k[h]);a._i.push([b,c,f])};a.__SV=1.2;b=e.createElement("script");b.type="text/javascript";b.async=!0;b.src="undefined"!==typeof MIXPANEL_CUSTOM_LIB_URL?MIXPANEL_CUSTOM_LIB_URL:"file:"===e.location.protocol&&"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js".match(/^\/\//)?"https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js":"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js";c=e.getElementsByTagName("script")[0];c.parentNode.insertBefore(b,c)}})(document,window.mixpanel||[]);
29
+ mixpanel.init("1919205b2da72e4da3b9b6639b444d59");</script>
30
+ <!-- end Mixpanel -->
16
31
  </head>
17
32
 
18
33
  <body>
34
+ <svg style="display: none;">
35
+ <defs>
36
+ <symbol id="linkIcon" fill="#706d77" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
37
+ <path d="M0 0h24v24H0z" fill="none"/>
38
+ <path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/>
39
+ </symbol>
40
+ </defs>
41
+ </svg>
42
+
43
+ <input type="checkbox" id="nav-trigger" class="nav-trigger" />
44
+ <label for="nav-trigger" class="navicon-button x">
45
+ <div class="navicon"></div>
46
+ </label>
47
+
48
+ <label for="nav-trigger" class="overlay"></label>
49
+
50
+ <div class="top-nav-wrapper">
51
+ <ul>
52
+ <li >
53
+ <a href="index.html">
54
+
55
+ <svg fill="#6D6D6D" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
56
+ <path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/>
57
+ <path d="M0 0h24v24H0z" fill="none"/>
58
+ </svg>
59
+
60
+
61
+ </a>
62
+ </li>
63
+
64
+
19
65
 
20
- <div class="navbar navbar-default navbar-fixed-top navbar-inverse">
21
- <div class="container">
22
- <div class="navbar-header">
23
- <a class="navbar-brand" href="index.html">node-poweredup</a>
24
- <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
25
- <span class="icon-bar"></span>
26
- <span class="icon-bar"></span>
27
- <span class="icon-bar"></span>
28
- </button>
29
- </div>
30
- <div class="navbar-collapse collapse" id="topNavigation">
31
- <ul class="nav navbar-nav">
32
-
33
- <li class="dropdown">
34
- <a href="classes.list.html" class="dropdown-toggle" data-toggle="dropdown">Classes<b class="caret"></b></a>
35
- <ul class="dropdown-menu ">
36
- <li><a href="AbsoluteMotor.html">AbsoluteMotor</a></li><li><a href="BaseHub.html">BaseHub</a></li><li><a href="BasicMotor.html">BasicMotor</a></li><li><a href="ColorDistanceSensor.html">ColorDistanceSensor</a></li><li><a href="CurrentSensor.html">CurrentSensor</a></li><li><a href="Device.html">Device</a></li><li><a href="DuploTrainBase.html">DuploTrainBase</a></li><li><a href="DuploTrainBaseColorSensor.html">DuploTrainBaseColorSensor</a></li><li><a href="DuploTrainBaseMotor.html">DuploTrainBaseMotor</a></li><li><a href="DuploTrainBaseSpeaker.html">DuploTrainBaseSpeaker</a></li><li><a href="DuploTraniBaseSpeedometer.html">DuploTraniBaseSpeedometer</a></li><li><a href="Hub.html">Hub</a></li><li><a href="HubLED.html">HubLED</a></li><li><a href="Light.html">Light</a></li><li><a href="LPF2Hub.html">LPF2Hub</a></li><li><a href="Mario.html">Mario</a></li><li><a href="MarioAccelerometer.html">MarioAccelerometer</a></li><li><a href="MarioBarcodeSensor.html">MarioBarcodeSensor</a></li><li><a href="MarioPantsSensor.html">MarioPantsSensor</a></li><li><a href="MediumLinearMotor.html">MediumLinearMotor</a></li><li><a href="MotionSensor.html">MotionSensor</a></li><li><a href="MoveHub.html">MoveHub</a></li><li><a href="MoveHubMediumLinearMotor.html">MoveHubMediumLinearMotor</a></li><li><a href="MoveHubTiltSensor.html">MoveHubTiltSensor</a></li><li><a href="PiezoBuzzer.html">PiezoBuzzer</a></li><li><a href="RemoteControl.html">RemoteControl</a></li><li><a href="RemoteControlButton.html">RemoteControlButton</a></li><li><a href="SimpleMediumLinearMotor.html">SimpleMediumLinearMotor</a></li><li><a href="TachoMotor.html">TachoMotor</a></li><li><a href="TechnicColorSensor.html">TechnicColorSensor</a></li><li><a href="TechnicDistanceSensor.html">TechnicDistanceSensor</a></li><li><a href="TechnicForceSensor.html">TechnicForceSensor</a></li><li><a href="TechnicLargeAngularMotor.html">TechnicLargeAngularMotor</a></li><li><a href="TechnicLargeLinearMotor.html">TechnicLargeLinearMotor</a></li><li><a href="TechnicMediumAngularMotor.html">TechnicMediumAngularMotor</a></li><li><a href="TechnicMediumHub.html">TechnicMediumHub</a></li><li><a href="TechnicMediumHubAccelerometerSensor.html">TechnicMediumHubAccelerometerSensor</a></li><li><a href="TechnicMediumHubGyroSensor.html">TechnicMediumHubGyroSensor</a></li><li><a href="TechnicMediumHubTiltSensor.html">TechnicMediumHubTiltSensor</a></li><li><a href="TechnicXLargeLinearMotor.html">TechnicXLargeLinearMotor</a></li><li><a href="TiltSensor.html">TiltSensor</a></li><li><a href="TrainMotor.html">TrainMotor</a></li><li><a href="VoltageSensor.html">VoltageSensor</a></li><li><a href="WeDo2SmartHub.html">WeDo2SmartHub</a></li>
37
- </ul>
38
- </li>
39
-
40
- <li class="dropdown">
41
- <a href="events.list.html" class="dropdown-toggle" data-toggle="dropdown">Events<b class="caret"></b></a>
42
- <ul class="dropdown-menu ">
43
- <li><a href="AbsoluteMotor.html#event:absolute">AbsoluteMotor#event:absolute</a></li><li><a href="AbsoluteMotor.html#event:rotate">AbsoluteMotor#event:rotate</a></li><li><a href="ColorDistanceSensor.html#event:color">ColorDistanceSensor#event:color</a></li><li><a href="ColorDistanceSensor.html#event:colorAndDistance">ColorDistanceSensor#event:colorAndDistance</a></li><li><a href="ColorDistanceSensor.html#event:distance">ColorDistanceSensor#event:distance</a></li><li><a href="CurrentSensor.html#event:current">CurrentSensor#event:current</a></li><li><a href="DuploTrainBase.html#event:button">DuploTrainBase#event:button</a></li><li><a href="DuploTrainBaseColorSensor.html#event:color">DuploTrainBaseColorSensor#event:color</a></li><li><a href="DuploTrainBaseColorSensor.html#event:reflect">DuploTrainBaseColorSensor#event:reflect</a></li><li><a href="DuploTrainBaseColorSensor.html#event:rgb">DuploTrainBaseColorSensor#event:rgb</a></li><li><a href="DuploTrainBaseSpeedometer.html#event:speed">DuploTrainBaseSpeedometer#event:speed</a></li><li><a href="Hub.html#event:attach">Hub#event:attach</a></li><li><a href="Hub.html#event:button">Hub#event:button</a></li><li><a href="Hub.html#event:detach">Hub#event:detach</a></li><li><a href="Hub.html#event:disconnect">Hub#event:disconnect</a></li><li><a href="LPF2Hub.html#event:button">LPF2Hub#event:button</a></li><li><a href="Mario.html#event:button">Mario#event:button</a></li><li><a href="MarioAccelerometer.html#event:accel">MarioAccelerometer#event:accel</a></li><li><a href="MarioAccelerometer.html#event:gest">MarioAccelerometer#event:gest</a></li><li><a href="MarioBarcodeSensor.html#event:barcode">MarioBarcodeSensor#event:barcode</a></li><li><a href="MarioBarcodeSensor.html#event:rgb">MarioBarcodeSensor#event:rgb</a></li><li><a href="MarioPantsSensor.html#event:pants">MarioPantsSensor#event:pants</a></li><li><a href="MediumLinearMotor.html#event:rotate">MediumLinearMotor#event:rotate</a></li><li><a href="MotionSensor.html#event:distance">MotionSensor#event:distance</a></li><li><a href="MoveHub.html#event:button">MoveHub#event:button</a></li><li><a href="MoveHubMediumLinearMotor.html#event:rotate">MoveHubMediumLinearMotor#event:rotate</a></li><li><a href="MoveHubTiltSensor.html#event:tilt">MoveHubTiltSensor#event:tilt</a></li><li><a href="RemoteControl.html#event:button">RemoteControl#event:button</a></li><li><a href="RemoteControlButton.html#event:button">RemoteControlButton#event:button</a></li><li><a href="TachoMotor.html#event:rotate">TachoMotor#event:rotate</a></li><li><a href="TechnicColorSensor.html#event:ambient">TechnicColorSensor#event:ambient</a></li><li><a href="TechnicColorSensor.html#event:color">TechnicColorSensor#event:color</a></li><li><a href="TechnicColorSensor.html#event:reflect">TechnicColorSensor#event:reflect</a></li><li><a href="TechnicDistanceSensor.html#event:distance">TechnicDistanceSensor#event:distance</a></li><li><a href="TechnicDistanceSensor.html#event:fastDistance">TechnicDistanceSensor#event:fastDistance</a></li><li><a href="TechnicForceSensor.html#event:force">TechnicForceSensor#event:force</a></li><li><a href="TechnicForceSensor.html#event:tapped">TechnicForceSensor#event:tapped</a></li><li><a href="TechnicForceSensor.html#event:touch">TechnicForceSensor#event:touch</a></li><li><a href="TechnicLargeAngularMotor.html#event:absolute">TechnicLargeAngularMotor#event:absolute</a></li><li><a href="TechnicLargeAngularMotor.html#event:rotate">TechnicLargeAngularMotor#event:rotate</a></li><li><a href="TechnicLargeLinearMotor.html#event:absolute">TechnicLargeLinearMotor#event:absolute</a></li><li><a href="TechnicLargeLinearMotor.html#event:rotate">TechnicLargeLinearMotor#event:rotate</a></li><li><a href="TechnicMediumAngularMotor.html#event:absolute">TechnicMediumAngularMotor#event:absolute</a></li><li><a href="TechnicMediumAngularMotor.html#event:rotate">TechnicMediumAngularMotor#event:rotate</a></li><li><a href="TechnicMediumHub.html#event:button">TechnicMediumHub#event:button</a></li><li><a href="TechnicMediumHubAccelerometerSensor.html#event:accel">TechnicMediumHubAccelerometerSensor#event:accel</a></li><li><a href="TechnicMediumHubGyroSensor.html#event:gyro">TechnicMediumHubGyroSensor#event:gyro</a></li><li><a href="TechnicMediumHubTiltSensor.html#event:tilt">TechnicMediumHubTiltSensor#event:tilt</a></li><li><a href="TechnicXLargeLinearMotor.html#event:absolute">TechnicXLargeLinearMotor#event:absolute</a></li><li><a href="TechnicXLargeLinearMotor.html#event:rotate">TechnicXLargeLinearMotor#event:rotate</a></li><li><a href="TiltSensor.html#event:tilt">TiltSensor#event:tilt</a></li><li><a href="VoltageSensor.html#event:voltage">VoltageSensor#event:voltage</a></li><li><a href="WeDo2SmartHub.html#event:button">WeDo2SmartHub#event:button</a></li>
44
- </ul>
45
- </li>
46
-
47
- </ul>
48
-
49
- <div class="col-sm-3 col-md-3">
50
- <form class="navbar-form" role="search">
51
- <div class="input-group">
52
- <input type="text" class="form-control" placeholder="Search" name="q" id="search-input">
53
- <div class="input-group-btn">
54
- <button class="btn btn-default" id="search-submit"><i class="glyphicon glyphicon-search"></i></button>
55
- </div>
56
- </div>
57
- </form>
58
- </div>
59
-
60
- </div>
61
-
62
- </div>
63
- </div>
64
-
65
-
66
- <div class="container" id="toc-content">
67
- <div class="row">
68
-
69
-
70
- <div class="col-md-8">
71
-
72
- <div id="main">
73
-
74
-
75
- <h1 class="page-title">Class: WeDo2SmartHub</h1>
76
- <section>
66
+ </ul>
67
+ </div>
68
+
69
+ <nav>
70
+ <h3 class="reference-title">
71
+ node-poweredup Reference
72
+ </h3>
77
73
 
78
- <header>
79
-
80
- <h2>
81
- WeDo2SmartHub
82
- </h2>
83
-
84
74
 
85
- </header>
86
75
 
76
+ <h3>Classes</h3><ul><li id="AbsoluteMotor-nav"><a href="AbsoluteMotor.html">AbsoluteMotor</a><ul class='methods'><li data-type="method" id="AbsoluteMotor-gotoAngle-nav"><a href="AbsoluteMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="AbsoluteMotor-gotoRealZero-nav"><a href="AbsoluteMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="AbsoluteMotor-resetZero-nav"><a href="AbsoluteMotor.html#resetZero">resetZero</a></li><li data-type="method" id="AbsoluteMotor-rotateByDegrees-nav"><a href="AbsoluteMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="AbsoluteMotor-setAccelerationTime-nav"><a href="AbsoluteMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="AbsoluteMotor-setBrakingStyle-nav"><a href="AbsoluteMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="AbsoluteMotor-setDecelerationTime-nav"><a href="AbsoluteMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="AbsoluteMotor-setMaxPower-nav"><a href="AbsoluteMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="AbsoluteMotor-setSpeed-nav"><a href="AbsoluteMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="BaseHub-nav"><a href="BaseHub.html">BaseHub</a></li><li id="BasicMotor-nav"><a href="BasicMotor.html">BasicMotor</a><ul class='methods'><li data-type="method" id="BasicMotor-brake-nav"><a href="BasicMotor.html#brake">brake</a></li><li data-type="method" id="BasicMotor-rampPower-nav"><a href="BasicMotor.html#rampPower">rampPower</a></li><li data-type="method" id="BasicMotor-setPower-nav"><a href="BasicMotor.html#setPower">setPower</a></li><li data-type="method" id="BasicMotor-stop-nav"><a href="BasicMotor.html#stop">stop</a></li></ul></li><li id="ColorDistanceSensor-nav"><a href="ColorDistanceSensor.html">ColorDistanceSensor</a><ul class='methods'><li data-type="method" id="ColorDistanceSensor-sendPFIRMessage-nav"><a href="ColorDistanceSensor.html#sendPFIRMessage">sendPFIRMessage</a></li><li data-type="method" id="ColorDistanceSensor-setColor-nav"><a href="ColorDistanceSensor.html#setColor">setColor</a></li><li data-type="method" id="ColorDistanceSensor-setDistanceCount-nav"><a href="ColorDistanceSensor.html#setDistanceCount">setDistanceCount</a></li><li data-type="method" id="ColorDistanceSensor-setPFExtendedChannel-nav"><a href="ColorDistanceSensor.html#setPFExtendedChannel">setPFExtendedChannel</a></li><li data-type="method" id="ColorDistanceSensor-setPFPower-nav"><a href="ColorDistanceSensor.html#setPFPower">setPFPower</a></li><li data-type="method" id="ColorDistanceSensor-startPFMotors-nav"><a href="ColorDistanceSensor.html#startPFMotors">startPFMotors</a></li></ul></li><li id="CurrentSensor-nav"><a href="CurrentSensor.html">CurrentSensor</a></li><li id="Device-nav"><a href="Device.html">Device</a></li><li id="DuploTrainBase-nav"><a href="DuploTrainBase.html">DuploTrainBase</a><ul class='methods'><li data-type="method" id="DuploTrainBase-createVirtualPort-nav"><a href="DuploTrainBase.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="DuploTrainBase-setName-nav"><a href="DuploTrainBase.html#setName">setName</a></li><li data-type="method" id="DuploTrainBase-shutdown-nav"><a href="DuploTrainBase.html#shutdown">shutdown</a></li></ul></li><li id="DuploTrainBaseColorSensor-nav"><a href="DuploTrainBaseColorSensor.html">DuploTrainBaseColorSensor</a></li><li id="DuploTrainBaseMotor-nav"><a href="DuploTrainBaseMotor.html">DuploTrainBaseMotor</a><ul class='methods'><li data-type="method" id="DuploTrainBaseMotor-brake-nav"><a href="DuploTrainBaseMotor.html#brake">brake</a></li><li data-type="method" id="DuploTrainBaseMotor-rampPower-nav"><a href="DuploTrainBaseMotor.html#rampPower">rampPower</a></li><li data-type="method" id="DuploTrainBaseMotor-setPower-nav"><a href="DuploTrainBaseMotor.html#setPower">setPower</a></li><li data-type="method" id="DuploTrainBaseMotor-stop-nav"><a href="DuploTrainBaseMotor.html#stop">stop</a></li></ul></li><li id="DuploTrainBaseSpeaker-nav"><a href="DuploTrainBaseSpeaker.html">DuploTrainBaseSpeaker</a><ul class='methods'><li data-type="method" id="DuploTrainBaseSpeaker-playSound-nav"><a href="DuploTrainBaseSpeaker.html#playSound">playSound</a></li><li data-type="method" id="DuploTrainBaseSpeaker-playTone-nav"><a href="DuploTrainBaseSpeaker.html#playTone">playTone</a></li></ul></li><li id="DuploTraniBaseSpeedometer-nav"><a href="DuploTraniBaseSpeedometer.html">DuploTraniBaseSpeedometer</a></li><li id="Hub-nav"><a href="Hub.html">Hub</a><ul class='methods'><li data-type="method" id="Hub-connect-nav"><a href="Hub.html#connect">connect</a></li><li data-type="method" id="Hub-createVirtualPort-nav"><a href="Hub.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="Hub-disconnect-nav"><a href="Hub.html#disconnect">disconnect</a></li><li data-type="method" id="Hub-getDeviceAtPort-nav"><a href="Hub.html#getDeviceAtPort">getDeviceAtPort</a></li><li data-type="method" id="Hub-getDevices-nav"><a href="Hub.html#getDevices">getDevices</a></li><li data-type="method" id="Hub-getDevicesByType-nav"><a href="Hub.html#getDevicesByType">getDevicesByType</a></li><li data-type="method" id="Hub-setName-nav"><a href="Hub.html#setName">setName</a></li><li data-type="method" id="Hub-shutdown-nav"><a href="Hub.html#shutdown">shutdown</a></li><li data-type="method" id="Hub-sleep-nav"><a href="Hub.html#sleep">sleep</a></li><li data-type="method" id="Hub-wait-nav"><a href="Hub.html#wait">wait</a></li><li data-type="method" id="Hub-waitForDeviceAtPort-nav"><a href="Hub.html#waitForDeviceAtPort">waitForDeviceAtPort</a></li><li data-type="method" id="Hub-waitForDeviceByType-nav"><a href="Hub.html#waitForDeviceByType">waitForDeviceByType</a></li></ul></li><li id="HubLED-nav"><a href="HubLED.html">HubLED</a><ul class='methods'><li data-type="method" id="HubLED-setColor-nav"><a href="HubLED.html#setColor">setColor</a></li><li data-type="method" id="HubLED-setRGB-nav"><a href="HubLED.html#setRGB">setRGB</a></li></ul></li><li id="Light-nav"><a href="Light.html">Light</a><ul class='methods'><li data-type="method" id="Light-rampBrightness-nav"><a href="Light.html#rampBrightness">rampBrightness</a></li><li data-type="method" id="Light-setBrightness-nav"><a href="Light.html#setBrightness">setBrightness</a></li></ul></li><li id="LPF2Hub-nav"><a href="LPF2Hub.html">LPF2Hub</a><ul class='methods'><li data-type="method" id="LPF2Hub-createVirtualPort-nav"><a href="LPF2Hub.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="LPF2Hub-setName-nav"><a href="LPF2Hub.html#setName">setName</a></li><li data-type="method" id="LPF2Hub-shutdown-nav"><a href="LPF2Hub.html#shutdown">shutdown</a></li></ul></li><li id="Mario-nav"><a href="Mario.html">Mario</a><ul class='methods'><li data-type="method" id="Mario-createVirtualPort-nav"><a href="Mario.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="Mario-setName-nav"><a href="Mario.html#setName">setName</a></li><li data-type="method" id="Mario-shutdown-nav"><a href="Mario.html#shutdown">shutdown</a></li></ul></li><li id="MarioAccelerometer-nav"><a href="MarioAccelerometer.html">MarioAccelerometer</a></li><li id="MarioBarcodeSensor-nav"><a href="MarioBarcodeSensor.html">MarioBarcodeSensor</a></li><li id="MarioPantsSensor-nav"><a href="MarioPantsSensor.html">MarioPantsSensor</a></li><li id="MediumLinearMotor-nav"><a href="MediumLinearMotor.html">MediumLinearMotor</a><ul class='methods'><li data-type="method" id="MediumLinearMotor-rotateByDegrees-nav"><a href="MediumLinearMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="MediumLinearMotor-setAccelerationTime-nav"><a href="MediumLinearMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="MediumLinearMotor-setBrakingStyle-nav"><a href="MediumLinearMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="MediumLinearMotor-setDecelerationTime-nav"><a href="MediumLinearMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="MediumLinearMotor-setMaxPower-nav"><a href="MediumLinearMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="MediumLinearMotor-setSpeed-nav"><a href="MediumLinearMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="MotionSensor-nav"><a href="MotionSensor.html">MotionSensor</a></li><li id="MoveHub-nav"><a href="MoveHub.html">MoveHub</a><ul class='methods'><li data-type="method" id="MoveHub-createVirtualPort-nav"><a href="MoveHub.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="MoveHub-setName-nav"><a href="MoveHub.html#setName">setName</a></li><li data-type="method" id="MoveHub-shutdown-nav"><a href="MoveHub.html#shutdown">shutdown</a></li></ul></li><li id="MoveHubMediumLinearMotor-nav"><a href="MoveHubMediumLinearMotor.html">MoveHubMediumLinearMotor</a><ul class='methods'><li data-type="method" id="MoveHubMediumLinearMotor-rotateByDegrees-nav"><a href="MoveHubMediumLinearMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setAccelerationTime-nav"><a href="MoveHubMediumLinearMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setBrakingStyle-nav"><a href="MoveHubMediumLinearMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setDecelerationTime-nav"><a href="MoveHubMediumLinearMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setMaxPower-nav"><a href="MoveHubMediumLinearMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setSpeed-nav"><a href="MoveHubMediumLinearMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="MoveHubTiltSensor-nav"><a href="MoveHubTiltSensor.html">MoveHubTiltSensor</a></li><li id="PiezoBuzzer-nav"><a href="PiezoBuzzer.html">PiezoBuzzer</a><ul class='methods'><li data-type="method" id="PiezoBuzzer-playTone-nav"><a href="PiezoBuzzer.html#playTone">playTone</a></li></ul></li><li id="PoweredUP-nav"><a href="PoweredUP.html">PoweredUP</a><ul class='methods'><li data-type="method" id="PoweredUP-getHubByPrimaryMACAddress-nav"><a href="PoweredUP.html#getHubByPrimaryMACAddress">getHubByPrimaryMACAddress</a></li><li data-type="method" id="PoweredUP-getHubByPrimaryMACAddress-nav"><a href="PoweredUP.html#getHubByPrimaryMACAddress">getHubByPrimaryMACAddress</a></li><li data-type="method" id="PoweredUP-getHubByUUID-nav"><a href="PoweredUP.html#getHubByUUID">getHubByUUID</a></li><li data-type="method" id="PoweredUP-getHubByUUID-nav"><a href="PoweredUP.html#getHubByUUID">getHubByUUID</a></li><li data-type="method" id="PoweredUP-getHubs-nav"><a href="PoweredUP.html#getHubs">getHubs</a></li><li data-type="method" id="PoweredUP-getHubs-nav"><a href="PoweredUP.html#getHubs">getHubs</a></li><li data-type="method" id="PoweredUP-getHubsByName-nav"><a href="PoweredUP.html#getHubsByName">getHubsByName</a></li><li data-type="method" id="PoweredUP-getHubsByName-nav"><a href="PoweredUP.html#getHubsByName">getHubsByName</a></li><li data-type="method" id="PoweredUP-getHubsByType-nav"><a href="PoweredUP.html#getHubsByType">getHubsByType</a></li><li data-type="method" id="PoweredUP-getHubsByType-nav"><a href="PoweredUP.html#getHubsByType">getHubsByType</a></li><li data-type="method" id="PoweredUP-scan-nav"><a href="PoweredUP.html#scan">scan</a></li><li data-type="method" id="PoweredUP-scan-nav"><a href="PoweredUP.html#scan">scan</a></li><li data-type="method" id="PoweredUP-stop-nav"><a href="PoweredUP.html#stop">stop</a></li></ul></li><li id="RemoteControl-nav"><a href="RemoteControl.html">RemoteControl</a><ul class='methods'><li data-type="method" id="RemoteControl-createVirtualPort-nav"><a href="RemoteControl.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="RemoteControl-setName-nav"><a href="RemoteControl.html#setName">setName</a></li><li data-type="method" id="RemoteControl-shutdown-nav"><a href="RemoteControl.html#shutdown">shutdown</a></li></ul></li><li id="RemoteControlButton-nav"><a href="RemoteControlButton.html">RemoteControlButton</a></li><li id="SimpleMediumLinearMotor-nav"><a href="SimpleMediumLinearMotor.html">SimpleMediumLinearMotor</a></li><li id="TachoMotor-nav"><a href="TachoMotor.html">TachoMotor</a><ul class='methods'><li data-type="method" id="TachoMotor-brake-nav"><a href="TachoMotor.html#brake">brake</a></li><li data-type="method" id="TachoMotor-rampPower-nav"><a href="TachoMotor.html#rampPower">rampPower</a></li><li data-type="method" id="TachoMotor-rotateByDegrees-nav"><a href="TachoMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TachoMotor-setAccelerationTime-nav"><a href="TachoMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TachoMotor-setBrakingStyle-nav"><a href="TachoMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TachoMotor-setDecelerationTime-nav"><a href="TachoMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TachoMotor-setMaxPower-nav"><a href="TachoMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TachoMotor-setPower-nav"><a href="TachoMotor.html#setPower">setPower</a></li><li data-type="method" id="TachoMotor-setSpeed-nav"><a href="TachoMotor.html#setSpeed">setSpeed</a></li><li data-type="method" id="TachoMotor-stop-nav"><a href="TachoMotor.html#stop">stop</a></li></ul></li><li id="Technic3x3ColorLightMatrix-nav"><a href="Technic3x3ColorLightMatrix.html">Technic3x3ColorLightMatrix</a><ul class='methods'><li data-type="method" id="Technic3x3ColorLightMatrix-setMatrix-nav"><a href="Technic3x3ColorLightMatrix.html#setMatrix">setMatrix</a></li></ul></li><li id="TechnicColorSensor-nav"><a href="TechnicColorSensor.html">TechnicColorSensor</a><ul class='methods'><li data-type="method" id="TechnicColorSensor-setBrightness-nav"><a href="TechnicColorSensor.html#setBrightness">setBrightness</a></li></ul></li><li id="TechnicDistanceSensor-nav"><a href="TechnicDistanceSensor.html">TechnicDistanceSensor</a><ul class='methods'><li data-type="method" id="TechnicDistanceSensor-setBrightness-nav"><a href="TechnicDistanceSensor.html#setBrightness">setBrightness</a></li></ul></li><li id="TechnicForceSensor-nav"><a href="TechnicForceSensor.html">TechnicForceSensor</a></li><li id="TechnicLargeAngularMotor-nav"><a href="TechnicLargeAngularMotor.html">TechnicLargeAngularMotor</a><ul class='methods'><li data-type="method" id="TechnicLargeAngularMotor-gotoAngle-nav"><a href="TechnicLargeAngularMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicLargeAngularMotor-gotoRealZero-nav"><a href="TechnicLargeAngularMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicLargeAngularMotor-resetZero-nav"><a href="TechnicLargeAngularMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicLargeAngularMotor-rotateByDegrees-nav"><a href="TechnicLargeAngularMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicLargeAngularMotor-setAccelerationTime-nav"><a href="TechnicLargeAngularMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicLargeAngularMotor-setBrakingStyle-nav"><a href="TechnicLargeAngularMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicLargeAngularMotor-setDecelerationTime-nav"><a href="TechnicLargeAngularMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicLargeAngularMotor-setMaxPower-nav"><a href="TechnicLargeAngularMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicLargeAngularMotor-setSpeed-nav"><a href="TechnicLargeAngularMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TechnicLargeLinearMotor-nav"><a href="TechnicLargeLinearMotor.html">TechnicLargeLinearMotor</a><ul class='methods'><li data-type="method" id="TechnicLargeLinearMotor-gotoAngle-nav"><a href="TechnicLargeLinearMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicLargeLinearMotor-gotoRealZero-nav"><a href="TechnicLargeLinearMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicLargeLinearMotor-resetZero-nav"><a href="TechnicLargeLinearMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicLargeLinearMotor-rotateByDegrees-nav"><a href="TechnicLargeLinearMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicLargeLinearMotor-setAccelerationTime-nav"><a href="TechnicLargeLinearMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicLargeLinearMotor-setBrakingStyle-nav"><a href="TechnicLargeLinearMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicLargeLinearMotor-setDecelerationTime-nav"><a href="TechnicLargeLinearMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicLargeLinearMotor-setMaxPower-nav"><a href="TechnicLargeLinearMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicLargeLinearMotor-setSpeed-nav"><a href="TechnicLargeLinearMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TechnicMediumAngularMotor-nav"><a href="TechnicMediumAngularMotor.html">TechnicMediumAngularMotor</a><ul class='methods'><li data-type="method" id="TechnicMediumAngularMotor-gotoAngle-nav"><a href="TechnicMediumAngularMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicMediumAngularMotor-gotoRealZero-nav"><a href="TechnicMediumAngularMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicMediumAngularMotor-resetZero-nav"><a href="TechnicMediumAngularMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicMediumAngularMotor-rotateByDegrees-nav"><a href="TechnicMediumAngularMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicMediumAngularMotor-setAccelerationTime-nav"><a href="TechnicMediumAngularMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicMediumAngularMotor-setBrakingStyle-nav"><a href="TechnicMediumAngularMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicMediumAngularMotor-setDecelerationTime-nav"><a href="TechnicMediumAngularMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicMediumAngularMotor-setMaxPower-nav"><a href="TechnicMediumAngularMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicMediumAngularMotor-setSpeed-nav"><a href="TechnicMediumAngularMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TechnicMediumHub-nav"><a href="TechnicMediumHub.html">TechnicMediumHub</a><ul class='methods'><li data-type="method" id="TechnicMediumHub-createVirtualPort-nav"><a href="TechnicMediumHub.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="TechnicMediumHub-setName-nav"><a href="TechnicMediumHub.html#setName">setName</a></li><li data-type="method" id="TechnicMediumHub-shutdown-nav"><a href="TechnicMediumHub.html#shutdown">shutdown</a></li></ul></li><li id="TechnicMediumHubAccelerometerSensor-nav"><a href="TechnicMediumHubAccelerometerSensor.html">TechnicMediumHubAccelerometerSensor</a></li><li id="TechnicMediumHubGyroSensor-nav"><a href="TechnicMediumHubGyroSensor.html">TechnicMediumHubGyroSensor</a></li><li id="TechnicMediumHubTiltSensor-nav"><a href="TechnicMediumHubTiltSensor.html">TechnicMediumHubTiltSensor</a><ul class='methods'><li data-type="method" id="TechnicMediumHubTiltSensor-setImpactCount-nav"><a href="TechnicMediumHubTiltSensor.html#setImpactCount">setImpactCount</a></li><li data-type="method" id="TechnicMediumHubTiltSensor-setImpactHoldoff-nav"><a href="TechnicMediumHubTiltSensor.html#setImpactHoldoff">setImpactHoldoff</a></li><li data-type="method" id="TechnicMediumHubTiltSensor-setImpactThreshold-nav"><a href="TechnicMediumHubTiltSensor.html#setImpactThreshold">setImpactThreshold</a></li></ul></li><li id="TechnicSmallAngularMotor-nav"><a href="TechnicSmallAngularMotor.html">TechnicSmallAngularMotor</a><ul class='methods'><li data-type="method" id="TechnicSmallAngularMotor-gotoAngle-nav"><a href="TechnicSmallAngularMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicSmallAngularMotor-gotoRealZero-nav"><a href="TechnicSmallAngularMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicSmallAngularMotor-resetZero-nav"><a href="TechnicSmallAngularMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicSmallAngularMotor-rotateByDegrees-nav"><a href="TechnicSmallAngularMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicSmallAngularMotor-setAccelerationTime-nav"><a href="TechnicSmallAngularMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicSmallAngularMotor-setBrakingStyle-nav"><a href="TechnicSmallAngularMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicSmallAngularMotor-setDecelerationTime-nav"><a href="TechnicSmallAngularMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicSmallAngularMotor-setMaxPower-nav"><a href="TechnicSmallAngularMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicSmallAngularMotor-setSpeed-nav"><a href="TechnicSmallAngularMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TechnicXLargeLinearMotor-nav"><a href="TechnicXLargeLinearMotor.html">TechnicXLargeLinearMotor</a><ul class='methods'><li data-type="method" id="TechnicXLargeLinearMotor-gotoAngle-nav"><a href="TechnicXLargeLinearMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicXLargeLinearMotor-gotoRealZero-nav"><a href="TechnicXLargeLinearMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicXLargeLinearMotor-resetZero-nav"><a href="TechnicXLargeLinearMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicXLargeLinearMotor-rotateByDegrees-nav"><a href="TechnicXLargeLinearMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setAccelerationTime-nav"><a href="TechnicXLargeLinearMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setBrakingStyle-nav"><a href="TechnicXLargeLinearMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setDecelerationTime-nav"><a href="TechnicXLargeLinearMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setMaxPower-nav"><a href="TechnicXLargeLinearMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setSpeed-nav"><a href="TechnicXLargeLinearMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TiltSensor-nav"><a href="TiltSensor.html">TiltSensor</a></li><li id="TrainMotor-nav"><a href="TrainMotor.html">TrainMotor</a><ul class='methods'><li data-type="method" id="TrainMotor-brake-nav"><a href="TrainMotor.html#brake">brake</a></li><li data-type="method" id="TrainMotor-rampPower-nav"><a href="TrainMotor.html#rampPower">rampPower</a></li><li data-type="method" id="TrainMotor-setPower-nav"><a href="TrainMotor.html#setPower">setPower</a></li><li data-type="method" id="TrainMotor-stop-nav"><a href="TrainMotor.html#stop">stop</a></li></ul></li><li id="VoltageSensor-nav"><a href="VoltageSensor.html">VoltageSensor</a></li><li id="WeDo2SmartHub-nav"><a href="WeDo2SmartHub.html">WeDo2SmartHub</a><ul class='methods'><li data-type="method" id="WeDo2SmartHub-setName-nav"><a href="WeDo2SmartHub.html#setName">setName</a></li><li data-type="method" id="WeDo2SmartHub-shutdown-nav"><a href="WeDo2SmartHub.html#shutdown">shutdown</a></li></ul></li></ul><h3 id="global-nav"><a href="global.html">Global</a></h3>
77
+ </nav>
87
78
 
88
- <article>
89
- <div class="container-overview">
90
-
91
-
92
- <hr>
93
- <dt>
94
- <h4 class="name" id="WeDo2SmartHub"><span class="type-signature"></span>new WeDo2SmartHub()</h4>
79
+ <div id="main">
95
80
 
81
+ <h1 class="page-title">
82
+ WeDo2SmartHub
83
+ </h1>
96
84
 
97
- </dt>
98
- <dd>
99
85
 
100
86
 
101
- <div class="description">
102
- <p>The WeDo2SmartHub is emitted if the discovered device is a WeDo 2.0 Smart Hub.</p>
103
- </div>
104
-
105
87
 
88
+ <section>
89
+ <header>
106
90
 
91
+ <h2>
92
+
93
+ WeDo2SmartHub
94
+
95
+ </h2>
107
96
 
97
+
108
98
 
99
+ </header>
109
100
 
110
-
111
-
101
+ <article>
102
+ <div class="container-overview">
103
+
104
+
112
105
 
113
-
114
- <dl class="details">
115
-
116
106
 
117
-
107
+
118
108
 
119
-
109
+ <span class='name-container'>
110
+ <a class="link-icon" href="#WeDo2SmartHub">
111
+ <svg height="20" width="20" style="fill: black;">
112
+ <use xlink:href="#linkIcon"></use>
113
+ </svg>
114
+ </a>
115
+ <h4 class="name" id="WeDo2SmartHub">
116
+ <span class="type-signature"></span>new WeDo2SmartHub<span class="signature">()</span><span class="type-signature"></span>
117
+ </h4>
118
+ </span>
120
119
 
121
-
120
+
122
121
 
123
-
124
122
 
125
-
126
123
 
127
-
124
+ <div class="description">
125
+ <p>The WeDo2SmartHub is emitted if the discovered device is a WeDo 2.0 Smart Hub.</p>
126
+ </div>
128
127
 
129
-
130
128
 
131
-
132
129
 
133
-
134
130
 
135
-
136
131
 
137
-
138
132
 
139
-
140
133
 
141
134
 
142
135
 
143
-
144
- <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
145
- <dd class="tag-source">
146
- <ul class="dummy">
147
- <li>
148
- <a href="hubs_wedo2smarthub.js.html">hubs/wedo2smarthub.js</a>,
149
- <a href="hubs_wedo2smarthub.js.html#sunlight-1-line-28">line 28</a>
150
- </li>
151
- </ul>
152
- </dd>
153
-
154
136
 
155
-
137
+ <dl class="details">
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
156
160
 
157
-
161
+
158
162
 
159
-
163
+
164
+ <dt class="tag-source">Source:</dt>
165
+ <dd class="tag-source">
166
+ <ul class="dummy">
167
+ <li>
168
+ <a href="hubs_wedo2smarthub.js.html">hubs/wedo2smarthub.js</a>, <a href="hubs_wedo2smarthub.js.html#line28">line 28</a>
169
+ </li>
170
+ </ul>
171
+ </dd>
172
+
173
+
174
+
175
+
176
+
177
+
178
+
160
179
  </dl>
161
180
 
162
181
 
163
-
164
182
 
165
-
166
183
 
167
-
168
184
 
169
-
170
185
 
171
-
172
186
 
173
-
174
187
 
175
-
176
- </dd>
177
188
 
178
-
189
+
190
+
191
+
192
+
193
+
194
+
179
195
  </div>
180
196
 
181
197
 
182
- <h3 class="subsection-title">Extends</h3>
198
+ <h3 class="subsection-title">Extends</h3>
183
199
 
184
-
200
+
185
201
 
186
202
 
187
- <ul>
188
- <li><a href="BaseHub.html">BaseHub</a></li>
189
- </ul>
203
+ <ul>
204
+ <li><a href="BaseHub.html">BaseHub</a></li>
205
+ </ul>
190
206
 
191
207
 
192
208
 
@@ -195,1754 +211,1629 @@
195
211
 
196
212
 
197
213
 
198
-
214
+
199
215
 
200
216
 
201
217
 
202
218
 
203
219
  <h3 class="subsection-title">Members</h3>
204
220
 
205
- <dl>
221
+
206
222
 
207
- <hr>
208
- <dt class="name" id="batteryLevel">
209
- <h4 id="batteryLevel"><span class="type-signature">&lt;readonly> </span>batteryLevel<span class="type-signature"></span></h4>
210
223
 
211
-
212
- </dt>
213
- <dd>
214
-
224
+ <h4 class="name" id="batteryLevel">
225
+ <span class="type-signature">(readonly) </span>batteryLevel<span class="type-signature"></span>
226
+ </h4>
227
+
215
228
 
216
-
217
229
 
218
-
219
- <dl class="details">
220
-
221
230
 
222
- <h5 class="subsection-title">Properties:</h5>
223
231
 
224
- <dl>
225
232
 
226
- <table class="props table table-striped">
227
- <thead>
233
+
234
+ <h5 class="subsection-title">Properties:</h5>
235
+
236
+
237
+
238
+ <table class="props">
239
+ <thead>
228
240
  <tr>
229
-
241
+
230
242
  <th>Name</th>
231
-
243
+
232
244
 
233
- <th>Type</th>
245
+ <th>Type</th>
234
246
 
235
-
247
+
236
248
 
237
-
249
+
238
250
 
239
- <th class="last">Description</th>
251
+ <th class="last">Description</th>
240
252
  </tr>
241
- </thead>
253
+ </thead>
242
254
 
243
- <tbody>
255
+ <tbody>
244
256
 
245
257
 
246
- <tr>
247
-
248
- <td class="name"><code>batteryLevel</code></td>
249
-
258
+ <tr>
259
+
260
+ <td class="name"><code>batteryLevel</code></td>
261
+
250
262
 
251
- <td class="type">
252
-
253
-
254
- <span class="param-type">number</span>
263
+ <td class="type">
264
+
265
+
266
+ <span class="param-type">
267
+ number
268
+ </span>
255
269
 
270
+
256
271
 
257
272
 
258
-
259
- </td>
273
+
274
+ </td>
260
275
 
261
-
276
+
262
277
 
263
-
278
+
264
279
 
265
- <td class="description last"><p>Battery level of the hub (Percentage between 0-100)</p></td>
266
- </tr>
280
+ <td class="description last">
281
+ <p>Battery level of the hub (Percentage between 0-100)</p>
282
+ </td>
283
+ </tr>
267
284
 
268
-
269
- </tbody>
285
+
286
+ </tbody>
270
287
  </table>
271
- </dl>
272
288
 
273
-
274
289
 
275
-
276
290
 
277
-
278
291
 
279
-
280
- <dt class="inherited-from method-doc-label method-doc-details-label">Inherited From:</dt>
281
- <dd class="inherited-from">
282
- <ul class="dummy">
283
- <li>
284
- <a href="BaseHub.html#batteryLevel">BaseHub#batteryLevel</a>
285
- </li>
286
- </ul>
287
- </dd>
288
-
292
+ <dl class="details">
289
293
 
290
-
294
+
291
295
 
292
-
296
+
293
297
 
294
-
298
+
299
+ <dt class="inherited-from">Inherited From:</dt>
300
+ <dd class="inherited-from">
301
+ <ul class="dummy">
302
+ <li>
303
+ <a href="BaseHub.html#batteryLevel">BaseHub#batteryLevel</a>
304
+ </li>
305
+ </ul>
306
+ </dd>
307
+
295
308
 
296
-
309
+
297
310
 
298
-
311
+
299
312
 
300
-
313
+
301
314
 
302
-
315
+
303
316
 
304
-
317
+
305
318
 
306
-
319
+
307
320
 
321
+
308
322
 
323
+
309
324
 
310
-
311
- <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
312
- <dd class="tag-source">
313
- <ul class="dummy">
314
- <li>
315
- <a href="hubs_basehub.js.html">hubs/basehub.js</a>,
316
- <a href="hubs_basehub.js.html#sunlight-1-line-141">line 141</a>
317
- </li>
318
- </ul>
319
- </dd>
320
-
325
+
321
326
 
322
-
327
+
328
+ <dt class="tag-source">Source:</dt>
329
+ <dd class="tag-source">
330
+ <ul class="dummy">
331
+ <li>
332
+ <a href="hubs_basehub.js.html">hubs/basehub.js</a>, <a href="hubs_basehub.js.html#line143">line 143</a>
333
+ </li>
334
+ </ul>
335
+ </dd>
336
+
337
+
338
+
323
339
 
324
-
340
+
325
341
 
326
-
342
+
327
343
  </dl>
328
344
 
329
345
 
330
-
331
- </dd>
332
346
 
347
+
348
+
349
+
350
+
333
351
 
334
352
 
335
- <hr>
336
- <dt class="name" id="firmwareVersion">
337
- <h4 id="firmwareVersion"><span class="type-signature">&lt;readonly> </span>firmwareVersion<span class="type-signature"></span></h4>
338
353
 
339
-
340
- </dt>
341
- <dd>
342
-
354
+ <h4 class="name" id="firmwareVersion">
355
+ <span class="type-signature">(readonly) </span>firmwareVersion<span class="type-signature"></span>
356
+ </h4>
357
+
358
+
343
359
 
344
-
345
360
 
346
-
347
- <dl class="details">
348
-
349
361
 
350
- <h5 class="subsection-title">Properties:</h5>
351
362
 
352
- <dl>
353
363
 
354
- <table class="props table table-striped">
355
- <thead>
364
+ <h5 class="subsection-title">Properties:</h5>
365
+
366
+
367
+
368
+ <table class="props">
369
+ <thead>
356
370
  <tr>
357
-
371
+
358
372
  <th>Name</th>
359
-
373
+
360
374
 
361
- <th>Type</th>
375
+ <th>Type</th>
362
376
 
363
-
377
+
364
378
 
365
-
379
+
366
380
 
367
- <th class="last">Description</th>
381
+ <th class="last">Description</th>
368
382
  </tr>
369
- </thead>
383
+ </thead>
370
384
 
371
- <tbody>
385
+ <tbody>
372
386
 
373
387
 
374
- <tr>
375
-
376
- <td class="name"><code>firmwareVersion</code></td>
377
-
388
+ <tr>
389
+
390
+ <td class="name"><code>firmwareVersion</code></td>
391
+
378
392
 
379
- <td class="type">
380
-
381
-
382
- <span class="param-type">string</span>
393
+ <td class="type">
394
+
395
+
396
+ <span class="param-type">
397
+ string
398
+ </span>
383
399
 
400
+
384
401
 
385
402
 
386
-
387
- </td>
403
+
404
+ </td>
388
405
 
389
-
406
+
390
407
 
391
-
408
+
392
409
 
393
- <td class="description last"><p>Firmware version of the hub</p></td>
394
- </tr>
410
+ <td class="description last">
411
+ <p>Firmware version of the hub</p>
412
+ </td>
413
+ </tr>
395
414
 
396
-
397
- </tbody>
415
+
416
+ </tbody>
398
417
  </table>
399
- </dl>
400
418
 
401
-
402
419
 
403
-
404
420
 
405
-
406
421
 
407
-
408
- <dt class="inherited-from method-doc-label method-doc-details-label">Inherited From:</dt>
409
- <dd class="inherited-from">
410
- <ul class="dummy">
411
- <li>
412
- <a href="BaseHub.html#firmwareVersion">BaseHub#firmwareVersion</a>
413
- </li>
414
- </ul>
415
- </dd>
416
-
422
+ <dl class="details">
417
423
 
418
-
424
+
419
425
 
420
-
426
+
421
427
 
422
-
428
+
429
+ <dt class="inherited-from">Inherited From:</dt>
430
+ <dd class="inherited-from">
431
+ <ul class="dummy">
432
+ <li>
433
+ <a href="BaseHub.html#firmwareVersion">BaseHub#firmwareVersion</a>
434
+ </li>
435
+ </ul>
436
+ </dd>
437
+
423
438
 
424
-
439
+
440
+
441
+
425
442
 
426
-
443
+
427
444
 
428
-
445
+
429
446
 
430
-
447
+
431
448
 
432
-
449
+
433
450
 
434
-
451
+
435
452
 
453
+
436
454
 
455
+
437
456
 
438
-
439
- <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
440
- <dd class="tag-source">
441
- <ul class="dummy">
442
- <li>
443
- <a href="hubs_basehub.js.html">hubs/basehub.js</a>,
444
- <a href="hubs_basehub.js.html#sunlight-1-line-113">line 113</a>
445
- </li>
446
- </ul>
447
- </dd>
448
-
457
+
458
+ <dt class="tag-source">Source:</dt>
459
+ <dd class="tag-source">
460
+ <ul class="dummy">
461
+ <li>
462
+ <a href="hubs_basehub.js.html">hubs/basehub.js</a>, <a href="hubs_basehub.js.html#line115">line 115</a>
463
+ </li>
464
+ </ul>
465
+ </dd>
466
+
449
467
 
450
-
468
+
451
469
 
452
-
470
+
453
471
 
454
-
472
+
455
473
  </dl>
456
474
 
457
475
 
458
-
459
- </dd>
460
476
 
477
+
478
+
479
+
480
+
461
481
 
462
482
 
463
- <hr>
464
- <dt class="name" id="hardwareVersion">
465
- <h4 id="hardwareVersion"><span class="type-signature">&lt;readonly> </span>hardwareVersion<span class="type-signature"></span></h4>
466
483
 
467
-
468
- </dt>
469
- <dd>
470
-
484
+ <h4 class="name" id="hardwareVersion">
485
+ <span class="type-signature">(readonly) </span>hardwareVersion<span class="type-signature"></span>
486
+ </h4>
487
+
488
+
489
+
471
490
 
472
-
473
491
 
474
-
475
- <dl class="details">
476
-
477
492
 
478
- <h5 class="subsection-title">Properties:</h5>
479
493
 
480
- <dl>
494
+ <h5 class="subsection-title">Properties:</h5>
481
495
 
482
- <table class="props table table-striped">
483
- <thead>
496
+
497
+
498
+ <table class="props">
499
+ <thead>
484
500
  <tr>
485
-
501
+
486
502
  <th>Name</th>
487
-
503
+
488
504
 
489
- <th>Type</th>
505
+ <th>Type</th>
490
506
 
491
-
507
+
492
508
 
493
-
509
+
494
510
 
495
- <th class="last">Description</th>
511
+ <th class="last">Description</th>
496
512
  </tr>
497
- </thead>
513
+ </thead>
498
514
 
499
- <tbody>
515
+ <tbody>
500
516
 
501
517
 
502
- <tr>
503
-
504
- <td class="name"><code>hardwareVersion</code></td>
505
-
518
+ <tr>
519
+
520
+ <td class="name"><code>hardwareVersion</code></td>
521
+
506
522
 
507
- <td class="type">
508
-
509
-
510
- <span class="param-type">string</span>
523
+ <td class="type">
524
+
525
+
526
+ <span class="param-type">
527
+ string
528
+ </span>
511
529
 
530
+
512
531
 
513
532
 
514
-
515
- </td>
533
+
534
+ </td>
516
535
 
517
-
536
+
518
537
 
519
-
538
+
520
539
 
521
- <td class="description last"><p>Hardware version of the hub</p></td>
522
- </tr>
540
+ <td class="description last">
541
+ <p>Hardware version of the hub</p>
542
+ </td>
543
+ </tr>
523
544
 
524
-
525
- </tbody>
545
+
546
+ </tbody>
526
547
  </table>
527
- </dl>
528
548
 
529
-
530
549
 
531
-
532
550
 
533
-
534
551
 
535
-
536
- <dt class="inherited-from method-doc-label method-doc-details-label">Inherited From:</dt>
537
- <dd class="inherited-from">
538
- <ul class="dummy">
539
- <li>
540
- <a href="BaseHub.html#hardwareVersion">BaseHub#hardwareVersion</a>
541
- </li>
542
- </ul>
543
- </dd>
544
-
552
+ <dl class="details">
545
553
 
546
-
554
+
547
555
 
548
-
556
+
549
557
 
550
-
558
+
559
+ <dt class="inherited-from">Inherited From:</dt>
560
+ <dd class="inherited-from">
561
+ <ul class="dummy">
562
+ <li>
563
+ <a href="BaseHub.html#hardwareVersion">BaseHub#hardwareVersion</a>
564
+ </li>
565
+ </ul>
566
+ </dd>
567
+
551
568
 
552
-
569
+
570
+
571
+
553
572
 
554
-
573
+
555
574
 
556
-
575
+
557
576
 
558
-
577
+
559
578
 
560
-
579
+
561
580
 
562
-
581
+
563
582
 
583
+
564
584
 
585
+
565
586
 
566
-
567
- <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
568
- <dd class="tag-source">
569
- <ul class="dummy">
570
- <li>
571
- <a href="hubs_basehub.js.html">hubs/basehub.js</a>,
572
- <a href="hubs_basehub.js.html#sunlight-1-line-120">line 120</a>
573
- </li>
574
- </ul>
575
- </dd>
576
-
587
+
588
+ <dt class="tag-source">Source:</dt>
589
+ <dd class="tag-source">
590
+ <ul class="dummy">
591
+ <li>
592
+ <a href="hubs_basehub.js.html">hubs/basehub.js</a>, <a href="hubs_basehub.js.html#line122">line 122</a>
593
+ </li>
594
+ </ul>
595
+ </dd>
596
+
577
597
 
578
-
598
+
579
599
 
580
-
600
+
581
601
 
582
-
602
+
583
603
  </dl>
584
604
 
585
605
 
586
-
587
- </dd>
588
606
 
607
+
608
+
609
+
610
+
589
611
 
590
612
 
591
- <hr>
592
- <dt class="name" id="name">
593
- <h4 id="name"><span class="type-signature">&lt;readonly> </span>name<span class="type-signature"></span></h4>
594
613
 
595
-
596
- </dt>
597
- <dd>
598
-
614
+ <h4 class="name" id="name">
615
+ <span class="type-signature">(readonly) </span>name<span class="type-signature"></span>
616
+ </h4>
617
+
599
618
 
600
-
601
619
 
602
-
603
- <dl class="details">
604
-
605
620
 
606
- <h5 class="subsection-title">Properties:</h5>
607
621
 
608
- <dl>
609
622
 
610
- <table class="props table table-striped">
611
- <thead>
623
+
624
+ <h5 class="subsection-title">Properties:</h5>
625
+
626
+
627
+
628
+ <table class="props">
629
+ <thead>
612
630
  <tr>
613
-
631
+
614
632
  <th>Name</th>
615
-
633
+
616
634
 
617
- <th>Type</th>
635
+ <th>Type</th>
618
636
 
619
-
637
+
620
638
 
621
-
639
+
622
640
 
623
- <th class="last">Description</th>
641
+ <th class="last">Description</th>
624
642
  </tr>
625
- </thead>
643
+ </thead>
626
644
 
627
- <tbody>
645
+ <tbody>
628
646
 
629
647
 
630
- <tr>
631
-
632
- <td class="name"><code>name</code></td>
633
-
648
+ <tr>
649
+
650
+ <td class="name"><code>name</code></td>
651
+
634
652
 
635
- <td class="type">
636
-
637
-
638
- <span class="param-type">string</span>
653
+ <td class="type">
654
+
655
+
656
+ <span class="param-type">
657
+ string
658
+ </span>
639
659
 
660
+
640
661
 
641
662
 
642
-
643
- </td>
663
+
664
+ </td>
644
665
 
645
-
666
+
646
667
 
647
-
668
+
648
669
 
649
- <td class="description last"><p>Name of the hub</p></td>
650
- </tr>
670
+ <td class="description last">
671
+ <p>Name of the hub</p>
672
+ </td>
673
+ </tr>
651
674
 
652
-
653
- </tbody>
675
+
676
+ </tbody>
654
677
  </table>
655
- </dl>
656
678
 
657
-
658
679
 
659
-
660
680
 
661
-
662
681
 
663
-
664
- <dt class="inherited-from method-doc-label method-doc-details-label">Inherited From:</dt>
665
- <dd class="inherited-from">
666
- <ul class="dummy">
667
- <li>
668
- <a href="BaseHub.html#name">BaseHub#name</a>
669
- </li>
670
- </ul>
671
- </dd>
672
-
682
+ <dl class="details">
673
683
 
674
-
684
+
675
685
 
676
-
686
+
677
687
 
678
-
688
+
689
+ <dt class="inherited-from">Inherited From:</dt>
690
+ <dd class="inherited-from">
691
+ <ul class="dummy">
692
+ <li>
693
+ <a href="BaseHub.html#name">BaseHub#name</a>
694
+ </li>
695
+ </ul>
696
+ </dd>
697
+
679
698
 
680
-
699
+
700
+
701
+
681
702
 
682
-
703
+
683
704
 
684
-
705
+
685
706
 
686
-
707
+
687
708
 
688
-
709
+
689
710
 
690
-
711
+
691
712
 
713
+
692
714
 
715
+
693
716
 
694
-
695
- <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
696
- <dd class="tag-source">
697
- <ul class="dummy">
698
- <li>
699
- <a href="hubs_basehub.js.html">hubs/basehub.js</a>,
700
- <a href="hubs_basehub.js.html#sunlight-1-line-92">line 92</a>
701
- </li>
702
- </ul>
703
- </dd>
704
-
717
+
718
+ <dt class="tag-source">Source:</dt>
719
+ <dd class="tag-source">
720
+ <ul class="dummy">
721
+ <li>
722
+ <a href="hubs_basehub.js.html">hubs/basehub.js</a>, <a href="hubs_basehub.js.html#line94">line 94</a>
723
+ </li>
724
+ </ul>
725
+ </dd>
726
+
705
727
 
706
-
728
+
707
729
 
708
-
730
+
709
731
 
710
-
732
+
711
733
  </dl>
712
734
 
713
735
 
714
-
715
- </dd>
716
736
 
737
+
738
+
739
+
740
+
717
741
 
718
742
 
719
- <hr>
720
- <dt class="name" id="ports">
721
- <h4 id="ports"><span class="type-signature">&lt;readonly> </span>ports<span class="type-signature"></span></h4>
722
743
 
723
-
724
- </dt>
725
- <dd>
726
-
744
+ <h4 class="name" id="ports">
745
+ <span class="type-signature">(readonly) </span>ports<span class="type-signature"></span>
746
+ </h4>
747
+
748
+
727
749
 
728
-
729
750
 
730
-
731
- <dl class="details">
732
-
733
751
 
734
- <h5 class="subsection-title">Properties:</h5>
735
752
 
736
- <dl>
737
753
 
738
- <table class="props table table-striped">
739
- <thead>
754
+ <h5 class="subsection-title">Properties:</h5>
755
+
756
+
757
+
758
+ <table class="props">
759
+ <thead>
740
760
  <tr>
741
-
761
+
742
762
  <th>Name</th>
743
-
763
+
744
764
 
745
- <th>Type</th>
765
+ <th>Type</th>
746
766
 
747
-
767
+
748
768
 
749
-
769
+
750
770
 
751
- <th class="last">Description</th>
771
+ <th class="last">Description</th>
752
772
  </tr>
753
- </thead>
773
+ </thead>
754
774
 
755
- <tbody>
775
+ <tbody>
756
776
 
757
777
 
758
- <tr>
759
-
760
- <td class="name"><code>ports</code></td>
761
-
778
+ <tr>
779
+
780
+ <td class="name"><code>ports</code></td>
781
+
762
782
 
763
- <td class="type">
764
-
765
-
766
- <span class="param-type">Array.&lt;string></span>
783
+ <td class="type">
784
+
785
+
786
+ <span class="param-type">
787
+ Array.&lt;string>
788
+ </span>
767
789
 
790
+
768
791
 
769
792
 
770
-
771
- </td>
793
+
794
+ </td>
772
795
 
773
-
796
+
774
797
 
775
-
798
+
776
799
 
777
- <td class="description last"><p>Array of port names</p></td>
778
- </tr>
800
+ <td class="description last">
801
+ <p>Array of port names</p>
802
+ </td>
803
+ </tr>
779
804
 
780
-
781
- </tbody>
805
+
806
+ </tbody>
782
807
  </table>
783
- </dl>
784
808
 
785
-
786
809
 
787
-
788
810
 
789
-
790
811
 
791
-
792
- <dt class="inherited-from method-doc-label method-doc-details-label">Inherited From:</dt>
793
- <dd class="inherited-from">
794
- <ul class="dummy">
795
- <li>
796
- <a href="BaseHub.html#ports">BaseHub#ports</a>
797
- </li>
798
- </ul>
799
- </dd>
800
-
812
+ <dl class="details">
801
813
 
802
-
814
+
803
815
 
804
-
816
+
805
817
 
806
-
818
+
819
+ <dt class="inherited-from">Inherited From:</dt>
820
+ <dd class="inherited-from">
821
+ <ul class="dummy">
822
+ <li>
823
+ <a href="BaseHub.html#ports">BaseHub#ports</a>
824
+ </li>
825
+ </ul>
826
+ </dd>
827
+
807
828
 
808
-
829
+
809
830
 
810
-
831
+
811
832
 
812
-
833
+
813
834
 
814
-
835
+
815
836
 
816
-
837
+
817
838
 
818
-
839
+
819
840
 
841
+
820
842
 
843
+
821
844
 
822
-
823
- <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
824
- <dd class="tag-source">
825
- <ul class="dummy">
826
- <li>
827
- <a href="hubs_basehub.js.html">hubs/basehub.js</a>,
828
- <a href="hubs_basehub.js.html#sunlight-1-line-106">line 106</a>
829
- </li>
830
- </ul>
831
- </dd>
832
-
845
+
846
+
847
+
848
+ <dt class="tag-source">Source:</dt>
849
+ <dd class="tag-source">
850
+ <ul class="dummy">
851
+ <li>
852
+ <a href="hubs_basehub.js.html">hubs/basehub.js</a>, <a href="hubs_basehub.js.html#line108">line 108</a>
853
+ </li>
854
+ </ul>
855
+ </dd>
856
+
833
857
 
834
-
858
+
835
859
 
836
-
860
+
837
861
 
838
-
862
+
839
863
  </dl>
840
864
 
841
865
 
842
-
843
- </dd>
844
866
 
867
+
868
+
869
+
870
+
845
871
 
846
872
 
847
- <hr>
848
- <dt class="name" id="primaryMACAddress">
849
- <h4 id="primaryMACAddress"><span class="type-signature">&lt;readonly> </span>primaryMACAddress<span class="type-signature"></span></h4>
850
873
 
851
-
852
- </dt>
853
- <dd>
854
-
874
+ <h4 class="name" id="primaryMACAddress">
875
+ <span class="type-signature">(readonly) </span>primaryMACAddress<span class="type-signature"></span>
876
+ </h4>
877
+
878
+
855
879
 
856
-
857
880
 
858
-
859
- <dl class="details">
860
-
861
881
 
862
- <h5 class="subsection-title">Properties:</h5>
863
882
 
864
- <dl>
865
883
 
866
- <table class="props table table-striped">
867
- <thead>
884
+ <h5 class="subsection-title">Properties:</h5>
885
+
886
+
887
+
888
+ <table class="props">
889
+ <thead>
868
890
  <tr>
869
-
891
+
870
892
  <th>Name</th>
871
-
893
+
872
894
 
873
- <th>Type</th>
895
+ <th>Type</th>
874
896
 
875
-
897
+
876
898
 
877
-
899
+
878
900
 
879
- <th class="last">Description</th>
901
+ <th class="last">Description</th>
880
902
  </tr>
881
- </thead>
903
+ </thead>
882
904
 
883
- <tbody>
905
+ <tbody>
884
906
 
885
907
 
886
- <tr>
887
-
888
- <td class="name"><code>primaryMACAddress</code></td>
889
-
908
+ <tr>
909
+
910
+ <td class="name"><code>primaryMACAddress</code></td>
911
+
890
912
 
891
- <td class="type">
892
-
893
-
894
- <span class="param-type">string</span>
913
+ <td class="type">
914
+
915
+
916
+ <span class="param-type">
917
+ string
918
+ </span>
895
919
 
920
+
896
921
 
897
922
 
898
-
899
- </td>
923
+
924
+ </td>
900
925
 
901
-
926
+
902
927
 
903
-
928
+
904
929
 
905
- <td class="description last"><p>Primary MAC address of the hub</p></td>
906
- </tr>
930
+ <td class="description last">
931
+ <p>Primary MAC address of the hub</p>
932
+ </td>
933
+ </tr>
907
934
 
908
-
909
- </tbody>
935
+
936
+ </tbody>
910
937
  </table>
911
- </dl>
912
938
 
913
-
914
939
 
915
-
916
940
 
917
-
918
941
 
919
-
920
- <dt class="inherited-from method-doc-label method-doc-details-label">Inherited From:</dt>
921
- <dd class="inherited-from">
922
- <ul class="dummy">
923
- <li>
924
- <a href="BaseHub.html#primaryMACAddress">BaseHub#primaryMACAddress</a>
925
- </li>
926
- </ul>
927
- </dd>
928
-
942
+ <dl class="details">
929
943
 
930
-
944
+
931
945
 
932
-
946
+
933
947
 
934
-
948
+
949
+ <dt class="inherited-from">Inherited From:</dt>
950
+ <dd class="inherited-from">
951
+ <ul class="dummy">
952
+ <li>
953
+ <a href="BaseHub.html#primaryMACAddress">BaseHub#primaryMACAddress</a>
954
+ </li>
955
+ </ul>
956
+ </dd>
957
+
935
958
 
936
-
959
+
937
960
 
938
-
961
+
939
962
 
940
-
963
+
941
964
 
942
-
965
+
943
966
 
944
-
967
+
945
968
 
946
-
969
+
947
970
 
971
+
948
972
 
973
+
949
974
 
950
-
951
- <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
952
- <dd class="tag-source">
953
- <ul class="dummy">
954
- <li>
955
- <a href="hubs_basehub.js.html">hubs/basehub.js</a>,
956
- <a href="hubs_basehub.js.html#sunlight-1-line-127">line 127</a>
957
- </li>
958
- </ul>
959
- </dd>
960
-
975
+
961
976
 
962
-
977
+
978
+ <dt class="tag-source">Source:</dt>
979
+ <dd class="tag-source">
980
+ <ul class="dummy">
981
+ <li>
982
+ <a href="hubs_basehub.js.html">hubs/basehub.js</a>, <a href="hubs_basehub.js.html#line129">line 129</a>
983
+ </li>
984
+ </ul>
985
+ </dd>
986
+
963
987
 
964
-
988
+
965
989
 
966
-
990
+
991
+
992
+
967
993
  </dl>
968
994
 
969
995
 
970
-
971
- </dd>
972
996
 
997
+
998
+
999
+
1000
+
973
1001
 
974
1002
 
975
- <hr>
976
- <dt class="name" id="rssi">
977
- <h4 id="rssi"><span class="type-signature">&lt;readonly> </span>rssi<span class="type-signature"></span></h4>
978
1003
 
979
-
980
- </dt>
981
- <dd>
982
-
1004
+ <h4 class="name" id="rssi">
1005
+ <span class="type-signature">(readonly) </span>rssi<span class="type-signature"></span>
1006
+ </h4>
983
1007
 
984
-
985
1008
 
986
-
987
- <dl class="details">
988
-
989
1009
 
990
- <h5 class="subsection-title">Properties:</h5>
991
1010
 
992
- <dl>
993
1011
 
994
- <table class="props table table-striped">
995
- <thead>
1012
+
1013
+
1014
+ <h5 class="subsection-title">Properties:</h5>
1015
+
1016
+
1017
+
1018
+ <table class="props">
1019
+ <thead>
996
1020
  <tr>
997
-
1021
+
998
1022
  <th>Name</th>
999
-
1023
+
1000
1024
 
1001
- <th>Type</th>
1025
+ <th>Type</th>
1002
1026
 
1003
-
1027
+
1004
1028
 
1005
-
1029
+
1006
1030
 
1007
- <th class="last">Description</th>
1031
+ <th class="last">Description</th>
1008
1032
  </tr>
1009
- </thead>
1033
+ </thead>
1010
1034
 
1011
- <tbody>
1035
+ <tbody>
1012
1036
 
1013
1037
 
1014
- <tr>
1015
-
1016
- <td class="name"><code>rssi</code></td>
1017
-
1038
+ <tr>
1039
+
1040
+ <td class="name"><code>rssi</code></td>
1041
+
1018
1042
 
1019
- <td class="type">
1020
-
1021
-
1022
- <span class="param-type">number</span>
1043
+ <td class="type">
1044
+
1045
+
1046
+ <span class="param-type">
1047
+ number
1048
+ </span>
1023
1049
 
1050
+
1024
1051
 
1025
1052
 
1026
-
1027
- </td>
1053
+
1054
+ </td>
1028
1055
 
1029
-
1056
+
1030
1057
 
1031
-
1058
+
1032
1059
 
1033
- <td class="description last"><p>Signal strength of the hub</p></td>
1034
- </tr>
1060
+ <td class="description last">
1061
+ <p>Signal strength of the hub</p>
1062
+ </td>
1063
+ </tr>
1035
1064
 
1036
-
1037
- </tbody>
1065
+
1066
+ </tbody>
1038
1067
  </table>
1039
- </dl>
1040
1068
 
1041
-
1042
1069
 
1043
-
1044
1070
 
1045
-
1046
1071
 
1047
-
1048
- <dt class="inherited-from method-doc-label method-doc-details-label">Inherited From:</dt>
1049
- <dd class="inherited-from">
1050
- <ul class="dummy">
1051
- <li>
1052
- <a href="BaseHub.html#rssi">BaseHub#rssi</a>
1053
- </li>
1054
- </ul>
1055
- </dd>
1056
-
1072
+ <dl class="details">
1057
1073
 
1058
-
1074
+
1059
1075
 
1060
-
1076
+
1061
1077
 
1062
-
1078
+
1079
+ <dt class="inherited-from">Inherited From:</dt>
1080
+ <dd class="inherited-from">
1081
+ <ul class="dummy">
1082
+ <li>
1083
+ <a href="BaseHub.html#rssi">BaseHub#rssi</a>
1084
+ </li>
1085
+ </ul>
1086
+ </dd>
1087
+
1063
1088
 
1064
-
1089
+
1090
+
1091
+
1065
1092
 
1066
-
1093
+
1067
1094
 
1068
-
1095
+
1069
1096
 
1070
-
1097
+
1071
1098
 
1072
-
1099
+
1073
1100
 
1074
-
1101
+
1075
1102
 
1103
+
1076
1104
 
1105
+
1077
1106
 
1078
-
1079
- <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
1080
- <dd class="tag-source">
1081
- <ul class="dummy">
1082
- <li>
1083
- <a href="hubs_basehub.js.html">hubs/basehub.js</a>,
1084
- <a href="hubs_basehub.js.html#sunlight-1-line-148">line 148</a>
1085
- </li>
1086
- </ul>
1087
- </dd>
1088
-
1107
+
1108
+ <dt class="tag-source">Source:</dt>
1109
+ <dd class="tag-source">
1110
+ <ul class="dummy">
1111
+ <li>
1112
+ <a href="hubs_basehub.js.html">hubs/basehub.js</a>, <a href="hubs_basehub.js.html#line150">line 150</a>
1113
+ </li>
1114
+ </ul>
1115
+ </dd>
1116
+
1089
1117
 
1090
-
1118
+
1091
1119
 
1092
-
1120
+
1093
1121
 
1094
-
1122
+
1095
1123
  </dl>
1096
1124
 
1097
1125
 
1098
-
1099
- </dd>
1100
1126
 
1127
+
1128
+
1129
+
1130
+
1101
1131
 
1102
1132
 
1103
- <hr>
1104
- <dt class="name" id="type">
1105
- <h4 id="type"><span class="type-signature">&lt;readonly> </span>type<span class="type-signature"></span></h4>
1106
1133
 
1107
-
1108
- </dt>
1109
- <dd>
1110
-
1134
+ <h4 class="name" id="type">
1135
+ <span class="type-signature">(readonly) </span>type<span class="type-signature"></span>
1136
+ </h4>
1137
+
1138
+
1139
+
1111
1140
 
1112
-
1113
1141
 
1114
-
1115
- <dl class="details">
1116
-
1117
1142
 
1118
- <h5 class="subsection-title">Properties:</h5>
1119
1143
 
1120
- <dl>
1144
+ <h5 class="subsection-title">Properties:</h5>
1121
1145
 
1122
- <table class="props table table-striped">
1123
- <thead>
1146
+
1147
+
1148
+ <table class="props">
1149
+ <thead>
1124
1150
  <tr>
1125
-
1151
+
1126
1152
  <th>Name</th>
1127
-
1153
+
1128
1154
 
1129
- <th>Type</th>
1155
+ <th>Type</th>
1130
1156
 
1131
-
1157
+
1132
1158
 
1133
-
1159
+
1134
1160
 
1135
- <th class="last">Description</th>
1161
+ <th class="last">Description</th>
1136
1162
  </tr>
1137
- </thead>
1163
+ </thead>
1138
1164
 
1139
- <tbody>
1165
+ <tbody>
1140
1166
 
1141
1167
 
1142
- <tr>
1143
-
1144
- <td class="name"><code>type</code></td>
1145
-
1168
+ <tr>
1169
+
1170
+ <td class="name"><code>type</code></td>
1171
+
1146
1172
 
1147
- <td class="type">
1148
-
1149
-
1150
- <span class="param-type">string</span>
1173
+ <td class="type">
1174
+
1175
+
1176
+ <span class="param-type">
1177
+ string
1178
+ </span>
1151
1179
 
1180
+
1152
1181
 
1153
1182
 
1154
-
1155
- </td>
1183
+
1184
+ </td>
1156
1185
 
1157
-
1186
+
1158
1187
 
1159
-
1188
+
1160
1189
 
1161
- <td class="description last"><p>Hub type</p></td>
1162
- </tr>
1190
+ <td class="description last">
1191
+ <p>Hub type</p>
1192
+ </td>
1193
+ </tr>
1163
1194
 
1164
-
1165
- </tbody>
1195
+
1196
+ </tbody>
1166
1197
  </table>
1167
- </dl>
1168
1198
 
1169
-
1170
1199
 
1171
-
1172
1200
 
1173
-
1174
1201
 
1175
-
1176
- <dt class="inherited-from method-doc-label method-doc-details-label">Inherited From:</dt>
1177
- <dd class="inherited-from">
1178
- <ul class="dummy">
1179
- <li>
1180
- <a href="BaseHub.html#type">BaseHub#type</a>
1181
- </li>
1182
- </ul>
1183
- </dd>
1184
-
1202
+ <dl class="details">
1185
1203
 
1186
-
1204
+
1187
1205
 
1188
-
1206
+
1189
1207
 
1190
-
1208
+
1209
+ <dt class="inherited-from">Inherited From:</dt>
1210
+ <dd class="inherited-from">
1211
+ <ul class="dummy">
1212
+ <li>
1213
+ <a href="BaseHub.html#type">BaseHub#type</a>
1214
+ </li>
1215
+ </ul>
1216
+ </dd>
1217
+
1191
1218
 
1192
-
1219
+
1220
+
1221
+
1193
1222
 
1194
-
1223
+
1195
1224
 
1196
-
1225
+
1197
1226
 
1198
-
1227
+
1199
1228
 
1200
-
1229
+
1201
1230
 
1202
-
1231
+
1203
1232
 
1233
+
1204
1234
 
1235
+
1205
1236
 
1206
-
1207
- <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
1208
- <dd class="tag-source">
1209
- <ul class="dummy">
1210
- <li>
1211
- <a href="hubs_basehub.js.html">hubs/basehub.js</a>,
1212
- <a href="hubs_basehub.js.html#sunlight-1-line-99">line 99</a>
1213
- </li>
1214
- </ul>
1215
- </dd>
1216
-
1237
+
1238
+ <dt class="tag-source">Source:</dt>
1239
+ <dd class="tag-source">
1240
+ <ul class="dummy">
1241
+ <li>
1242
+ <a href="hubs_basehub.js.html">hubs/basehub.js</a>, <a href="hubs_basehub.js.html#line101">line 101</a>
1243
+ </li>
1244
+ </ul>
1245
+ </dd>
1246
+
1217
1247
 
1218
-
1248
+
1219
1249
 
1220
-
1250
+
1221
1251
 
1222
-
1252
+
1223
1253
  </dl>
1224
1254
 
1225
1255
 
1226
-
1227
- </dd>
1228
1256
 
1257
+
1258
+
1259
+
1260
+
1229
1261
 
1230
1262
 
1231
- <hr>
1232
- <dt class="name" id="uuid">
1233
- <h4 id="uuid"><span class="type-signature">&lt;readonly> </span>uuid<span class="type-signature"></span></h4>
1234
1263
 
1235
-
1236
- </dt>
1237
- <dd>
1238
-
1264
+ <h4 class="name" id="uuid">
1265
+ <span class="type-signature">(readonly) </span>uuid<span class="type-signature"></span>
1266
+ </h4>
1267
+
1268
+
1269
+
1239
1270
 
1240
-
1241
1271
 
1242
-
1243
- <dl class="details">
1244
-
1245
1272
 
1246
- <h5 class="subsection-title">Properties:</h5>
1247
1273
 
1248
- <dl>
1274
+ <h5 class="subsection-title">Properties:</h5>
1249
1275
 
1250
- <table class="props table table-striped">
1251
- <thead>
1276
+
1277
+
1278
+ <table class="props">
1279
+ <thead>
1252
1280
  <tr>
1253
-
1281
+
1254
1282
  <th>Name</th>
1255
-
1283
+
1256
1284
 
1257
- <th>Type</th>
1285
+ <th>Type</th>
1258
1286
 
1259
-
1287
+
1260
1288
 
1261
-
1289
+
1262
1290
 
1263
- <th class="last">Description</th>
1291
+ <th class="last">Description</th>
1264
1292
  </tr>
1265
- </thead>
1293
+ </thead>
1266
1294
 
1267
- <tbody>
1295
+ <tbody>
1268
1296
 
1269
1297
 
1270
- <tr>
1271
-
1272
- <td class="name"><code>uuid</code></td>
1273
-
1298
+ <tr>
1299
+
1300
+ <td class="name"><code>uuid</code></td>
1301
+
1274
1302
 
1275
- <td class="type">
1276
-
1277
-
1278
- <span class="param-type">string</span>
1303
+ <td class="type">
1304
+
1305
+
1306
+ <span class="param-type">
1307
+ string
1308
+ </span>
1279
1309
 
1310
+
1280
1311
 
1281
1312
 
1282
-
1283
- </td>
1313
+
1314
+ </td>
1284
1315
 
1285
-
1316
+
1286
1317
 
1287
-
1318
+
1288
1319
 
1289
- <td class="description last"><p>UUID of the hub</p></td>
1290
- </tr>
1320
+ <td class="description last">
1321
+ <p>UUID of the hub</p>
1322
+ </td>
1323
+ </tr>
1291
1324
 
1292
-
1293
- </tbody>
1325
+
1326
+ </tbody>
1294
1327
  </table>
1295
- </dl>
1296
1328
 
1297
-
1298
-
1299
-
1300
1329
 
1301
-
1302
1330
 
1303
-
1304
- <dt class="inherited-from method-doc-label method-doc-details-label">Inherited From:</dt>
1305
- <dd class="inherited-from">
1306
- <ul class="dummy">
1307
- <li>
1308
- <a href="BaseHub.html#uuid">BaseHub#uuid</a>
1309
- </li>
1310
- </ul>
1311
- </dd>
1312
-
1313
1331
 
1314
-
1332
+ <dl class="details">
1315
1333
 
1316
-
1334
+
1317
1335
 
1318
-
1336
+
1319
1337
 
1320
-
1338
+
1339
+ <dt class="inherited-from">Inherited From:</dt>
1340
+ <dd class="inherited-from">
1341
+ <ul class="dummy">
1342
+ <li>
1343
+ <a href="BaseHub.html#uuid">BaseHub#uuid</a>
1344
+ </li>
1345
+ </ul>
1346
+ </dd>
1347
+
1321
1348
 
1322
-
1349
+
1323
1350
 
1324
-
1351
+
1325
1352
 
1326
-
1353
+
1327
1354
 
1328
-
1355
+
1329
1356
 
1330
-
1357
+
1331
1358
 
1359
+
1332
1360
 
1361
+
1333
1362
 
1334
-
1335
- <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
1336
- <dd class="tag-source">
1337
- <ul class="dummy">
1338
- <li>
1339
- <a href="hubs_basehub.js.html">hubs/basehub.js</a>,
1340
- <a href="hubs_basehub.js.html#sunlight-1-line-134">line 134</a>
1341
- </li>
1342
- </ul>
1343
- </dd>
1344
-
1363
+
1345
1364
 
1346
-
1365
+
1347
1366
 
1348
-
1367
+
1368
+ <dt class="tag-source">Source:</dt>
1369
+ <dd class="tag-source">
1370
+ <ul class="dummy">
1371
+ <li>
1372
+ <a href="hubs_basehub.js.html">hubs/basehub.js</a>, <a href="hubs_basehub.js.html#line136">line 136</a>
1373
+ </li>
1374
+ </ul>
1375
+ </dd>
1376
+
1349
1377
 
1350
-
1351
- </dl>
1378
+
1352
1379
 
1380
+
1353
1381
 
1354
-
1355
- </dd>
1382
+
1383
+ </dl>
1356
1384
 
1357
- </dl>
1358
-
1359
1385
 
1360
-
1361
- <h3 class="subsection-title">Methods</h3>
1362
1386
 
1363
- <dl>
1364
-
1365
- <hr>
1366
- <dt>
1367
- <h4 class="name" id="setName"><span class="type-signature"></span>setName(name)</h4>
1368
-
1369
-
1370
- </dt>
1371
- <dd>
1372
1387
 
1373
-
1374
- <div class="description">
1375
- <p>Set the name of the Hub.</p>
1376
- </div>
1377
-
1378
1388
 
1379
-
1380
1389
 
1390
+
1391
+
1381
1392
 
1382
1393
 
1383
1394
 
1384
-
1385
- <h5>Parameters:</h5>
1386
-
1395
+ <h3 class="subsection-title">Methods</h3>
1387
1396
 
1388
- <table class="params table table-striped">
1389
- <thead>
1390
- <tr>
1391
-
1392
- <th>Name</th>
1397
+
1393
1398
 
1394
1399
 
1395
- <th>Type</th>
1396
-
1397
-
1398
1400
 
1399
-
1401
+
1400
1402
 
1401
- <th class="last">Description</th>
1402
- </tr>
1403
- </thead>
1403
+ <span class='name-container'>
1404
+ <a class="link-icon" href="#setName">
1405
+ <svg height="20" width="20" style="fill: black;">
1406
+ <use xlink:href="#linkIcon"></use>
1407
+ </svg>
1408
+ </a>
1409
+ <h4 class="name" id="setName">
1410
+ <span class="type-signature"></span>setName<span class="signature">(name)</span><span class="type-signature"> &rarr; {Promise}</span>
1411
+ </h4>
1412
+ </span>
1404
1413
 
1405
- <tbody>
1406
-
1414
+
1407
1415
 
1408
- <tr>
1409
-
1410
- <td class="name"><code>name</code></td>
1411
-
1412
1416
 
1413
- <td class="type">
1414
-
1415
-
1416
- <span class="param-type">string</span>
1417
1417
 
1418
+ <div class="description">
1419
+ <p>Set the name of the Hub.</p>
1420
+ </div>
1418
1421
 
1419
1422
 
1420
-
1421
- </td>
1422
1423
 
1423
-
1424
1424
 
1425
-
1426
1425
 
1427
- <td class="description last"><p>New name of the hub (14 characters or less, ASCII only).</p></td>
1428
- </tr>
1429
1426
 
1430
-
1431
- </tbody>
1432
- </table>
1433
1427
 
1434
-
1428
+ <h5>Parameters:</h5>
1429
+
1435
1430
 
1436
-
1437
- <dl class="details">
1438
-
1431
+ <table class="params">
1432
+ <thead>
1433
+ <tr>
1434
+
1435
+ <th>Name</th>
1436
+
1439
1437
 
1440
-
1438
+ <th>Type</th>
1441
1439
 
1442
-
1440
+
1443
1441
 
1444
-
1442
+
1445
1443
 
1446
-
1444
+ <th class="last">Description</th>
1445
+ </tr>
1446
+ </thead>
1447
1447
 
1448
+ <tbody>
1448
1449
 
1450
+ <tr>
1451
+
1452
+ <td class="name"><code>name</code></td>
1453
+
1449
1454
 
1450
-
1455
+ <td class="type">
1456
+
1457
+
1458
+ <span class="param-type">
1459
+ string
1460
+ </span>
1451
1461
 
1452
1462
 
1453
1463
 
1454
-
1455
1464
 
1456
-
1465
+
1466
+ </td>
1457
1467
 
1458
-
1468
+
1459
1469
 
1460
-
1470
+
1461
1471
 
1462
-
1472
+ <td class="description last">
1473
+ <p>New name of the hub (14 characters or less, ASCII only).</p>
1474
+
1475
+ </td>
1476
+ </tr>
1463
1477
 
1478
+
1479
+ </tbody>
1480
+ </table>
1464
1481
 
1465
1482
 
1466
-
1467
- <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
1468
- <dd class="tag-source">
1469
- <ul class="dummy">
1470
- <li>
1471
- <a href="hubs_wedo2smarthub.js.html">hubs/wedo2smarthub.js</a>,
1472
- <a href="hubs_wedo2smarthub.js.html#sunlight-1-line-107">line 107</a>
1473
- </li>
1474
- </ul>
1475
- </dd>
1476
-
1477
1483
 
1478
-
1479
1484
 
1480
-
1481
1485
 
1482
-
1483
- </dl>
1486
+ <dl class="details">
1484
1487
 
1488
+
1485
1489
 
1486
-
1490
+
1487
1491
 
1488
-
1492
+
1489
1493
 
1490
-
1494
+
1491
1495
 
1492
-
1496
+
1493
1497
 
1494
-
1498
+
1495
1499
 
1496
-
1497
- <h5>Returns:</h5>
1498
-
1499
-
1500
- <div class="param-desc">
1501
- <p>Resolved upon successful issuance of command.</p>
1502
- </div>
1500
+
1503
1501
 
1502
+
1504
1503
 
1504
+
1505
1505
 
1506
- <dl>
1507
- <dt>
1508
- Type
1509
- </dt>
1510
- <dd>
1511
-
1512
- <span class="param-type">Promise</span>
1506
+
1513
1507
 
1508
+
1514
1509
 
1510
+
1515
1511
 
1512
+
1513
+ <dt class="tag-source">Source:</dt>
1514
+ <dd class="tag-source">
1515
+ <ul class="dummy">
1516
+ <li>
1517
+ <a href="hubs_wedo2smarthub.js.html">hubs/wedo2smarthub.js</a>, <a href="hubs_wedo2smarthub.js.html#line107">line 107</a>
1518
+ </li>
1519
+ </ul>
1516
1520
  </dd>
1517
- </dl>
1521
+
1518
1522
 
1523
+
1519
1524
 
1520
-
1525
+
1521
1526
 
1522
-
1523
- </dd>
1527
+
1528
+ </dl>
1524
1529
 
1525
-
1526
-
1527
- <hr>
1528
- <dt>
1529
- <h4 class="name" id="shutdown"><span class="type-signature"></span>shutdown()</h4>
1530
-
1531
-
1532
- </dt>
1533
- <dd>
1534
1530
 
1535
-
1536
- <div class="description">
1537
- <p>Shutdown the Hub.</p>
1538
- </div>
1539
-
1540
1531
 
1541
-
1542
1532
 
1543
-
1544
1533
 
1545
-
1546
-
1547
1534
 
1548
-
1549
- <dl class="details">
1550
-
1551
1535
 
1552
-
1553
1536
 
1554
-
1555
1537
 
1556
-
1557
1538
 
1558
-
1559
1539
 
1560
-
1561
1540
 
1562
-
1563
1541
 
1564
-
1565
1542
 
1566
-
1543
+
1544
+
1567
1545
 
1568
-
1569
1546
 
1570
-
1547
+
1571
1548
 
1572
-
1549
+ <span class='name-container'>
1550
+ <a class="link-icon" href="#shutdown">
1551
+ <svg height="20" width="20" style="fill: black;">
1552
+ <use xlink:href="#linkIcon"></use>
1553
+ </svg>
1554
+ </a>
1555
+ <h4 class="name" id="shutdown">
1556
+ <span class="type-signature"></span>shutdown<span class="signature">()</span><span class="type-signature"> &rarr; {Promise}</span>
1557
+ </h4>
1558
+ </span>
1573
1559
 
1574
-
1560
+
1575
1561
 
1576
1562
 
1577
1563
 
1578
-
1579
- <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
1580
- <dd class="tag-source">
1581
- <ul class="dummy">
1582
- <li>
1583
- <a href="hubs_wedo2smarthub.js.html">hubs/wedo2smarthub.js</a>,
1584
- <a href="hubs_wedo2smarthub.js.html#sunlight-1-line-99">line 99</a>
1585
- </li>
1586
- </ul>
1587
- </dd>
1588
-
1564
+ <div class="description">
1565
+ <p>Shutdown the Hub.</p>
1566
+ </div>
1589
1567
 
1590
-
1591
1568
 
1592
-
1593
1569
 
1594
-
1595
- </dl>
1596
1570
 
1597
1571
 
1598
-
1599
1572
 
1600
-
1601
1573
 
1602
-
1603
1574
 
1604
-
1605
1575
 
1606
-
1607
1576
 
1608
-
1609
- <h5>Returns:</h5>
1610
-
1611
-
1612
- <div class="param-desc">
1613
- <p>Resolved upon successful disconnect.</p>
1614
- </div>
1577
+ <dl class="details">
1615
1578
 
1579
+
1616
1580
 
1581
+
1617
1582
 
1618
- <dl>
1619
- <dt>
1620
- Type
1621
- </dt>
1622
- <dd>
1623
-
1624
- <span class="param-type">Promise</span>
1583
+
1625
1584
 
1585
+
1626
1586
 
1587
+
1627
1588
 
1628
- </dd>
1629
- </dl>
1589
+
1630
1590
 
1591
+
1631
1592
 
1632
-
1593
+
1633
1594
 
1634
-
1635
- </dd>
1595
+
1636
1596
 
1637
- </dl>
1638
-
1597
+
1639
1598
 
1640
-
1599
+
1641
1600
 
1642
-
1643
- <h3 class="subsection-title">Events</h3>
1601
+
1644
1602
 
1645
- <dl>
1646
-
1647
- <hr>
1648
- <dt>
1649
- <h4 class="name" id="event:button">button</h4>
1650
-
1651
-
1652
- </dt>
1653
- <dd>
1603
+
1604
+ <dt class="tag-source">Source:</dt>
1605
+ <dd class="tag-source">
1606
+ <ul class="dummy">
1607
+ <li>
1608
+ <a href="hubs_wedo2smarthub.js.html">hubs/wedo2smarthub.js</a>, <a href="hubs_wedo2smarthub.js.html#line99">line 99</a>
1609
+ </li>
1610
+ </ul>
1611
+ </dd>
1612
+
1654
1613
 
1655
-
1656
- <div class="description">
1657
- <p>Emits when a button is pressed.</p>
1658
- </div>
1659
-
1614
+
1660
1615
 
1661
-
1616
+
1662
1617
 
1663
-
1618
+
1619
+ </dl>
1664
1620
 
1665
-
1666
-
1667
- <h5>Parameters:</h5>
1668
-
1669
1621
 
1670
- <table class="params table table-striped">
1671
- <thead>
1672
- <tr>
1673
-
1674
- <th>Name</th>
1675
-
1676
1622
 
1677
- <th>Type</th>
1678
1623
 
1679
-
1680
1624
 
1681
-
1682
1625
 
1683
- <th class="last">Description</th>
1684
- </tr>
1685
- </thead>
1686
1626
 
1687
- <tbody>
1688
-
1689
1627
 
1690
- <tr>
1691
-
1692
- <td class="name"><code>button</code></td>
1693
-
1694
1628
 
1695
- <td class="type">
1696
-
1697
-
1698
- <span class="param-type">string</span>
1699
1629
 
1700
1630
 
1701
1631
 
1702
-
1703
- </td>
1704
1632
 
1705
-
1706
1633
 
1707
-
1634
+
1635
+
1708
1636
 
1709
- <td class="description last"></td>
1710
- </tr>
1637
+
1711
1638
 
1712
1639
 
1640
+ <h3 class="subsection-title">Events</h3>
1713
1641
 
1714
- <tr>
1715
-
1716
- <td class="name"><code>state</code></td>
1717
-
1642
+
1643
+
1718
1644
 
1719
- <td class="type">
1720
-
1721
-
1722
- <span class="param-type">ButtonState</span>
1723
1645
 
1646
+
1724
1647
 
1648
+ <span class='name-container'>
1649
+ <a class="link-icon" href="#event:button">
1650
+ <svg height="20" width="20" style="fill: black;">
1651
+ <use xlink:href="#linkIcon"></use>
1652
+ </svg>
1653
+ </a>
1654
+ <h4 class="name" id="event:button">
1655
+ <span class="type-signature"></span>button<span class="type-signature"></span>
1656
+ </h4>
1657
+ </span>
1725
1658
 
1726
-
1727
- </td>
1659
+
1728
1660
 
1729
-
1730
1661
 
1731
-
1732
1662
 
1733
- <td class="description last"></td>
1734
- </tr>
1663
+ <div class="description">
1664
+ <p>Emits when a button is pressed.</p>
1665
+ </div>
1735
1666
 
1736
-
1737
- </tbody>
1738
- </table>
1739
1667
 
1740
-
1741
1668
 
1742
-
1743
- <dl class="details">
1744
-
1745
1669
 
1746
-
1747
1670
 
1748
-
1749
1671
 
1750
-
1751
1672
 
1752
-
1673
+ <h5>Parameters:</h5>
1674
+
1753
1675
 
1754
-
1676
+ <table class="params">
1677
+ <thead>
1678
+ <tr>
1679
+
1680
+ <th>Name</th>
1681
+
1755
1682
 
1756
-
1683
+ <th>Type</th>
1757
1684
 
1758
-
1685
+
1759
1686
 
1760
-
1687
+
1761
1688
 
1762
-
1689
+ <th class="last">Description</th>
1690
+ </tr>
1691
+ </thead>
1763
1692
 
1764
-
1693
+ <tbody>
1694
+
1695
+ <tr>
1696
+
1697
+ <td class="name"><code>button</code></td>
1698
+
1765
1699
 
1766
-
1700
+ <td class="type">
1701
+
1702
+
1703
+ <span class="param-type">
1704
+ string
1705
+ </span>
1767
1706
 
1768
-
1707
+
1769
1708
 
1770
1709
 
1710
+
1711
+ </td>
1771
1712
 
1772
-
1773
- <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
1774
- <dd class="tag-source">
1775
- <ul class="dummy">
1776
- <li>
1777
- <a href="hubs_wedo2smarthub.js.html">hubs/wedo2smarthub.js</a>,
1778
- <a href="hubs_wedo2smarthub.js.html#sunlight-1-line-182">line 182</a>
1779
- </li>
1780
- </ul>
1781
- </dd>
1782
-
1713
+
1783
1714
 
1784
-
1715
+
1785
1716
 
1786
-
1717
+ <td class="description last">
1718
+
1719
+
1720
+ </td>
1721
+ </tr>
1787
1722
 
1788
-
1789
- </dl>
1723
+
1724
+ <tr>
1725
+
1726
+ <td class="name"><code>state</code></td>
1727
+
1790
1728
 
1729
+ <td class="type">
1730
+
1731
+
1732
+ <span class="param-type">
1733
+ <a href="global.html#ButtonState">ButtonState</a>
1734
+ </span>
1791
1735
 
1792
1736
 
1793
1737
 
1794
-
1795
1738
 
1796
-
1739
+
1740
+ </td>
1797
1741
 
1798
-
1742
+
1799
1743
 
1800
-
1744
+
1801
1745
 
1802
-
1746
+ <td class="description last">
1747
+
1748
+
1749
+ </td>
1750
+ </tr>
1803
1751
 
1804
1752
 
1805
- </dd>
1753
+ </tbody>
1754
+ </table>
1755
+
1806
1756
 
1807
- </dl>
1808
-
1809
- </article>
1810
1757
 
1811
- </section>
1812
1758
 
1813
1759
 
1760
+ <dl class="details">
1814
1761
 
1762
+
1815
1763
 
1816
- </div>
1817
- </div>
1764
+
1818
1765
 
1819
- <div class="clearfix"></div>
1766
+
1820
1767
 
1821
-
1822
- <div class="col-md-3">
1823
- <div id="toc" class="col-md-3 hidden-xs hidden-sm hidden-md"></div>
1824
- </div>
1825
-
1768
+
1826
1769
 
1827
- </div>
1828
- </div>
1770
+
1829
1771
 
1772
+
1830
1773
 
1831
- <div class="modal fade" id="searchResults">
1832
- <div class="modal-dialog">
1833
- <div class="modal-content">
1834
- <div class="modal-header">
1835
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
1836
- <h4 class="modal-title">Search results</h4>
1837
- </div>
1838
- <div class="modal-body"></div>
1839
- <div class="modal-footer">
1840
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
1841
- </div>
1842
- </div><!-- /.modal-content -->
1843
- </div><!-- /.modal-dialog -->
1844
- </div>
1774
+
1775
+
1776
+
1777
+
1778
+
1845
1779
 
1780
+
1846
1781
 
1847
- <footer>
1782
+
1848
1783
 
1784
+
1849
1785
 
1850
- <span class="copyright">
1851
- node-poweredup by Nathan Kellenicki licensed under the MIT license.
1852
- </span>
1786
+
1787
+ <dt class="tag-source">Source:</dt>
1788
+ <dd class="tag-source">
1789
+ <ul class="dummy">
1790
+ <li>
1791
+ <a href="hubs_wedo2smarthub.js.html">hubs/wedo2smarthub.js</a>, <a href="hubs_wedo2smarthub.js.html#line182">line 182</a>
1792
+ </li>
1793
+ </ul>
1794
+ </dd>
1795
+
1853
1796
 
1854
- <span class="jsdoc-message">
1855
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a>
1856
-
1857
- on Tue Apr 6th 2021
1858
-
1859
- using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
1860
- </span>
1861
- </footer>
1797
+
1862
1798
 
1863
- <script src="scripts/docstrap.lib.js"></script>
1864
- <script src="scripts/toc.js"></script>
1799
+
1865
1800
 
1866
- <script type="text/javascript" src="scripts/fulltext-search-ui.js"></script>
1801
+
1802
+ </dl>
1867
1803
 
1868
1804
 
1869
- <script>
1870
- $( function () {
1871
- $( "[id*='$']" ).each( function () {
1872
- var $this = $( this );
1873
1805
 
1874
- $this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) );
1875
- } );
1876
1806
 
1877
- $( ".tutorial-section pre, .readme-section pre, pre.prettyprint.source" ).each( function () {
1878
- var $this = $( this );
1879
1807
 
1880
- var example = $this.find( "code" );
1881
- exampleText = example.html();
1882
- var lang = /{@lang (.*?)}/.exec( exampleText );
1883
- if ( lang && lang[1] ) {
1884
- exampleText = exampleText.replace( lang[0], "" );
1885
- example.html( exampleText );
1886
- lang = lang[1];
1887
- } else {
1888
- var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/);
1889
- lang = langClassMatch ? langClassMatch[1] : "javascript";
1890
- }
1891
1808
 
1892
- if ( lang ) {
1893
1809
 
1894
- $this
1895
- .addClass( "sunlight-highlight-" + lang )
1896
- .addClass( "linenums" )
1897
- .html( example.html() );
1898
1810
 
1899
- }
1900
- } );
1901
1811
 
1902
- Sunlight.highlightAll( {
1903
- lineNumbers : true,
1904
- showMenu : true,
1905
- enableDoclinks : true
1906
- } );
1907
1812
 
1908
- $.catchAnchorLinks( {
1909
- navbarOffset: 10
1910
- } );
1911
- $( "#toc" ).toc( {
1912
- anchorName : function ( i, heading, prefix ) {
1913
- return $( heading ).attr( "id" ) || ( prefix + i );
1914
- },
1915
- selectors : "#toc-content h1,#toc-content h2,#toc-content h3,#toc-content h4",
1916
- showAndHide : false,
1917
- smoothScrolling: true
1918
- } );
1919
1813
 
1920
- $( "#main span[id^='toc']" ).addClass( "toc-shim" );
1921
- $( '.dropdown-toggle' ).dropdown();
1922
1814
 
1923
- $( "table" ).each( function () {
1924
- var $this = $( this );
1925
- $this.addClass('table');
1926
- } );
1927
1815
 
1928
- } );
1929
- </script>
1930
1816
 
1817
+
1818
+
1819
+ </article>
1820
+ </section>
1931
1821
 
1932
1822
 
1933
- <!--Navigation and Symbol Display-->
1934
1823
 
1935
1824
 
1936
- <!--Google Analytics-->
1825
+ </div>
1937
1826
 
1827
+ <br class="clear">
1938
1828
 
1829
+ <footer>
1830
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a>
1831
+ </footer>
1939
1832
 
1940
- <script type="text/javascript">
1941
- $(document).ready(function() {
1942
- SearcherDisplay.init();
1943
- });
1944
- </script>
1833
+ <script src="scripts/linenumber.js"></script>
1834
+ <script src="scripts/pagelocation.js"></script>
1945
1835
 
1836
+
1946
1837
 
1947
1838
  </body>
1948
1839
  </html>