50 Commits

Author SHA1 Message Date
Leo Bonnargent
89ad6fe39b Use primaryMACAddress naming for consistency 2019-11-13 23:30:45 +01:00
Leo Bonnargent
655b21c0e9 Merge branch 'master' into macaddress 2019-11-13 23:26:02 +01:00
64e5743893
Merge pull request #45 from nutki/pr-8
Extended port information requests
2019-11-13 14:16:02 -08:00
Michal Szafranski
e72f3f72f5 improved port information switching 2019-11-13 22:47:42 +01:00
Léo Bonnargent
1d575cf63c
code optimization from @nutki
Co-Authored-By: Michał Szafrański <szafranski@gmail.com>
2019-11-13 22:13:49 +01:00
Leo Bonnargent
7c23bd437f Better MAC address paring
- as per @dlech suggestion
2019-11-13 21:38:59 +01:00
Leo Bonnargent
e65c8eb71e Merge branch 'master' into macaddress 2019-11-13 21:27:04 +01:00
Leo Bonnargent
abbbd218ee Add mac address to hub/lpf2hub
- should close nathankellenicki/node-poweredup/issues/46
2019-11-13 20:58:20 +01:00
Michal Szafranski
5f13c98529 Moved toBin and toHex to utils 2019-11-12 20:41:18 +01:00
Michal Szafranski
3ab3f97122 report hw/sw versions for discovered devices 2019-11-12 09:09:02 +01:00
Michal Szafranski
8346988604 fix device type read regression 2019-11-12 09:07:46 +01:00
Michal Szafranski
8e144c8311 more verbose port information output 2019-11-12 09:06:42 +01:00
Michal Szafranski
243d65699f Extended port information requests 2019-11-12 09:03:38 +01:00
Michal Szafranski
545e8ee177 remove unused _padMessage 2019-11-12 08:47:24 +01:00
Michal Szafranski
d2f71aa993 Voltage readout added for duplo train and fixed for PUP remote 2019-11-12 08:47:05 +01:00
0fbd27d41f Fixed bug with retrieving hardware versions
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2019-11-11 17:03:54 -08:00
8ff0664641 Made Control+ tilt and accelerometer behave like normal devices 2019-11-11 11:16:49 -08:00
6315f54a23 Fixed double disconnect bug, added hardware versions
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2019-11-10 20:40:59 -08:00
491a8ab340 Merge branch 'pr-3' of github.com:nutki/node-poweredup 2019-11-10 12:26:57 -08:00
2797081091
Merge pull request #33 from nutki/pr-1
allow RGB led control for the duplo train hub
2019-11-10 12:19:48 -08:00
77c470f616
Merge pull request #31 from churchs19/master
Updating noble dependency to @abandonware/noble for Node >= 10.0 support
2019-11-10 12:14:39 -08:00
Michal Szafranski
172c1b826c Firmware version is encoded with BCD 2019-11-05 22:08:33 +01:00
Michal Szafranski
1e40bdd537 Fix setLEDColor regression 2019-11-03 14:44:44 +01:00
Michal Szafranski
c7a5efcc78 Fix and simplify tilt sensor reading 2019-11-02 17:41:11 +01:00
Michal Szafranski
05daa648cb allow RGB led control for the duplo train hub 2019-11-02 17:29:46 +01:00
Shane Church
e5bba46b80 Updated references to @abandonware/noble since noble is no longer maintained
Allows building on Node.js >= 10
2019-10-13 08:38:58 -05:00
732c3626b5 Added ability to reset absolute zero
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2019-08-07 13:22:57 -07:00
6651b79188 Support for tilt, accel, temp on Control+ Hub
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2019-08-07 11:04:51 -07:00
373737ddaf Port info debug reporting
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2019-08-06 17:48:53 -07:00
cc1571dc26 Added initial support for LEGO Technic CONTROL+
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2019-08-06 14:52:14 -07:00
7b61b6981a Updated for latest Boost Move Hub firmware
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2019-08-02 21:11:31 -07:00
2c08e8b3ee Fixed typescript errors 2019-04-25 21:57:16 -07:00
e959230a22 Correct voltage and current readings 2019-04-25 21:48:10 -07:00
2e6d2b0dbc Library will now throw error if your firmware is too old
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2019-04-15 10:46:32 -07:00
5ad9bc5748 Now supports PUP Hub firmware 1.1.00.0004 - rotation works on Boost tacho motor. Also manual setup of virtual ports.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2019-04-12 15:14:00 -07:00
57ceb4cbcc Fixed race condition on second device 2019-02-07 15:35:48 -08:00
f9b99e0481 Fully abstracted out to BLEDevice 2019-02-06 09:54:28 -08:00
79542acef1 BLEDevice partially working for noble devices 2019-02-05 16:15:09 -08:00
40cd244086 Added shutdown method for LPF2 hubs 2019-01-24 17:04:54 -08:00
cdb2562d20 Debug logging and renamed hardStopMotor to brakeMotor 2019-01-22 11:32:07 -08:00
110f65b291 WeDo 2.0 voltage reporting 2019-01-22 10:32:19 -08:00
adaac287cc Initial pass at wedo2 voltage and current 2019-01-18 17:35:48 -08:00
86e84395e1 Moved to jsdoc 2019-01-18 16:11:55 -08:00
bf7e023697 More reliable battery level reports and voltage reports on LPF2 hubs 2019-01-18 15:14:11 -08:00
47a0f56d0d Now fetches firmware revisions for WeDo 2.0 Smart Hubs 2019-01-18 14:46:31 -08:00
d62f8535a2 Initial pass at getting the firmware version 2019-01-16 11:55:43 -08:00
c6c470e863 Initial pass at getting the firmware version 2019-01-16 11:41:44 -08:00
363eb5f4d0 Fixed bug where calling scan multiple times adds multiple discovery events, closes #10 2019-01-09 11:42:08 -08:00
a4cff9bc74 Updated node_modules 2019-01-03 12:44:05 -08:00
2e7fe13fed File reorg 2019-01-03 10:42:43 -08:00