bt-sensors-plugin-sk 1.1.0-beta.2.2.6 → 1.1.0
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.
- package/README.md +9 -39
- package/package.json +1 -1
- package/sensor_classes/DEVELOPMENT.md +6 -1
package/README.md
CHANGED
|
@@ -1,33 +1,19 @@
|
|
|
1
1
|
# Bluetooth Sensors for [Signal K](http://www.signalk.org)
|
|
2
2
|
|
|
3
|
-
##
|
|
4
|
-
### What's New
|
|
5
|
-
Fix to 2.2.3 scan and connect issues. Added Transport option to Config page. Default is Bluetooth LE (was Auto in 2.2.3).
|
|
3
|
+
## RELEASE 1.1.0
|
|
6
4
|
|
|
7
|
-
##
|
|
8
|
-
### What's New
|
|
9
|
-
Support for [JBD/Jiabaida/Xiaoxiang Battery management systems](https://jiabaida-bms.com/), IBeacon and clone devices courtesy of [Arjen R](https://github.com/ArjenR).
|
|
10
|
-
|
|
11
|
-
### What's New for Developers
|
|
12
|
-
Runtime loading of external device modules. See (https://github.com/naugehyde/bt-sensors-plugin-sk/discussions/26)
|
|
13
|
-
## BETA 2.2.2
|
|
14
|
-
### What's New
|
|
15
|
-
Support for Lancol Battery Meters, Kilovault HLX+ smart batteries courtesy of [sdlee1963](https://github.com/sdlee1963) and baseline support for BTHome devices as well as support for the ShellySBHT003C enviromental sensor courtesy of [Sebastian Haas](https://github.com/sebastianhaas)
|
|
16
|
-
|
|
17
|
-
Fixed incorrect reporting of Victron Battery Monitor -> aux temperature values.
|
|
18
|
-
|
|
19
|
-
## BETA 2.2.1
|
|
20
|
-
|
|
21
|
-
### What's New
|
|
5
|
+
## WHAT IT IS
|
|
22
6
|
|
|
23
|
-
|
|
7
|
+
BT Sensors Plugin for Signalk is a lightweight BLE (Bluetooth Low Energy) framework for listening and connecting to Bluetooth sensors on your boat and sending deltas to Signalk paths with the values the sensors reports. <br>
|
|
24
8
|
|
|
9
|
+
The Plugin currently supports every documented Victron device (AC Charger, Battery Monitor, DC-DC Converter, DC Energy Meter, GX Device, Inverter, Inverter RS, Lynx Smart BMS, Orion XS, Smart Battery Protect, Smart Lithium and VE Bus), [Lancol Battery Meters ](https://www.lancol.com/product/12v-bluetooth-4-0-battery-tester-micro-10-c/), [Kilovault HLX+ smart batteries ](https://sunwatts.com/content/manual/KiloVault_HLX_PLUS_Datasheet_06252021%20%281%29.pdf?srsltid=AfmBOooY-cGnC_Qm6V1T9Vg5oZzBCJurS0AOGoWqWeyy-dwz2vA-l1Jb), Xiaomi devices, [ATC devices](https://github.com/atc1441/ATC_MiThermometer), RuuviTags, Renogy BMS, Ultrasonic Wind Meters, SwitchBotTH and Meterplus, Aranet 2/4 environmental sensors, Govee 50/51xx sensors, ShellySBHT003C enviromental sensor,
|
|
10
|
+
[JBD/Jiabaida/Xiaoxiang Battery management systems](https://jiabaida-bms.com/), IBeacon and clone devices, and Inkbird thermometers.
|
|
25
11
|
|
|
26
|
-
|
|
12
|
+
A typical use case is a Bluetooth thermometer like the Xiaomi LYWSD03MMC, an inexpensive Bluetooth thermometer that runs on a 3V watch battery that can report the current temperature and humidity in your refrigerator or cabin or wherever you want to stick it (no judgement.) <br>
|
|
27
13
|
|
|
28
|
-
|
|
14
|
+
The reported temperature can then be displayed on a Signalk app like Kip, WilhelmSK or, with appropiate mapping to NMEA-2000, a NMEA 2000 Multi-function display.
|
|
29
15
|
|
|
30
|
-
|
|
16
|
+
It's pretty easy to write and deploy your own sensor class for any currently unsupported sensor. More on that in [the development README](./sensor_classes/DEVELOPMENT.md).
|
|
31
17
|
|
|
32
18
|
### RENOGY NOTES
|
|
33
19
|
|
|
@@ -35,19 +21,6 @@ The class of Renogy Devices cannot be reliably identified from their Bluetooth a
|
|
|
35
21
|
|
|
36
22
|
On the plugin config page, You will need to select the device from the Device dropdown, then select the appropriate class from the Class dropdown. After that, you will need to hit the Submit button. On restart of the plugin, the plugin should recognize the device. If you've selected the appropriate class (RenogyRoverClient for example), you should see configs for paths. <br>
|
|
37
23
|
|
|
38
|
-
|
|
39
|
-
## WHAT IT IS
|
|
40
|
-
|
|
41
|
-
BT Sensors Plugin for Signalk is a lightweight BLE (Bluetooth Low Energy) framework for listening and connecting to Bluetooth sensors on your boat and sending deltas to Signalk paths with the values the sensors reports. <br>
|
|
42
|
-
|
|
43
|
-
The Plugin currently supports every documented Victron device (AC Charger, Battery Monitor, DC-DC Converter, DC Energy Meter, GX Device, Inverter, Inverter RS, Lynx Smart BMS, Orion XS, Smart Battery Protect, Smart Lithium and VE Bus), [Lancol Battery Meters ](https://www.lancol.com/product/12v-bluetooth-4-0-battery-tester-micro-10-c/), [Kilovault HLX+ smart batteries ](https://sunwatts.com/content/manual/KiloVault_HLX_PLUS_Datasheet_06252021%20%281%29.pdf?srsltid=AfmBOooY-cGnC_Qm6V1T9Vg5oZzBCJurS0AOGoWqWeyy-dwz2vA-l1Jb), Xiaomi devices, [ATC devices](https://github.com/atc1441/ATC_MiThermometer), RuuviTags, Renogy BMS, Ultrasonic Wind Meters, SwitchBotTH and Meterplus, Aranet 2/4 environmental sensors, Govee 50/51xx sensors, and Inkbird thermometers.
|
|
44
|
-
|
|
45
|
-
A typical use case is a Bluetooth thermometer like the Xiaomi LYWSD03MMC, an inexpensive Bluetooth thermometer that runs on a 3V watch battery that can report the current temperature and humidity in your refrigerator or cabin or wherever you want to stick it (no judgement.) <br>
|
|
46
|
-
|
|
47
|
-
The reported temperature can then be displayed on a Signalk app like Kip, WilhelmSK or, with appropiate mapping to NMEA-2000, a NMEA 2000 Multi-function display.
|
|
48
|
-
|
|
49
|
-
It's pretty easy to write and deploy your own sensor class for any currently unsupported sensor. More on that in [the development README](./sensor_classes/DEVELOPMENT.md).
|
|
50
|
-
|
|
51
24
|
## WHO IS IT FOR
|
|
52
25
|
|
|
53
26
|
Signalk users with a Linux boat-puter (Windows and MacOS are NOT currently supported) and Bluetooth sensors they'd like to integrate into their Signalk datastream.
|
|
@@ -62,9 +35,8 @@ Signalk users with a Linux boat-puter (Windows and MacOS are NOT currently suppo
|
|
|
62
35
|
|
|
63
36
|
## INSTALLATION
|
|
64
37
|
|
|
65
|
-
NOTE: If you're running the 1.0.3 release, you will have to reconfigure your devices.<br>
|
|
66
|
-
|
|
67
38
|
### Signalk Appstore
|
|
39
|
+
|
|
68
40
|
The plugin is currently available in the Signalk Appstore. <br>
|
|
69
41
|
|
|
70
42
|
### NPM
|
|
@@ -80,8 +52,6 @@ If you want to install directly from source (this is mostly of interest to custo
|
|
|
80
52
|
<pre> cd ~/[some_dir]
|
|
81
53
|
git clone https://github.com/naugehyde/bt-sensors-plugin-sk
|
|
82
54
|
cd bt-sensors-plugin-sk
|
|
83
|
-
git switch '1.1.0'
|
|
84
|
-
git pull
|
|
85
55
|
npm i
|
|
86
56
|
[sudo] npm link
|
|
87
57
|
cd [signalk_home]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bt-sensors-plugin-sk",
|
|
3
|
-
"version": "1.1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Bluetooth Sensors for Signalk -- support for Victron devices, RuuviTag, Xiaomi, ATC and Inkbird, Ultrasonic wind meters, Mopeka tank readers, Renogy Battery and Solar Controllers, Aranet4 environment sensors, SwitchBot temp and humidity sensors, KilovaultHLXPlus smart batteries, and Govee GVH51xx temp sensors",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"dependencies": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# BLUETOOTH SENSOR CLASS DEVELOPMENT (OUT OF DATE AS OF 1.1.0
|
|
1
|
+
# BLUETOOTH SENSOR CLASS DEVELOPMENT (OUT OF DATE AS OF 1.1.0 release, NEW VERSION COMING IN 1.2.0)
|
|
2
2
|
|
|
3
3
|
The goal of this project is to support as many mariner-useful sensors as possible. If there's anything we can do to make sensor class development easier, please let us know.<br><br>
|
|
4
4
|
|
|
@@ -146,6 +146,11 @@ module.exports=ATC</pre>
|
|
|
146
146
|
|
|
147
147
|
The big difference here is in the connect() method. All it does is wait on propertiesChanged and when that event occurs, the device object parses the buffer and emits the data. NOTE: Both classes have the same metadata, so the ATC class "borrows" the metadata from the LYWSD03MMC class.<br>
|
|
148
148
|
|
|
149
|
+
## DEVICE MODULES
|
|
150
|
+
|
|
151
|
+
To learn more about runtime loading of device modules, see (https://github.com/naugehyde/bt-sensors-plugin-sk/discussions/26)
|
|
152
|
+
|
|
153
|
+
|
|
149
154
|
## LET US KNOW
|
|
150
155
|
|
|
151
156
|
When you're done working on your class and satisified that it's functioning properly, commit and request a merge (more git talk).<br>
|