bt-sensors-plugin-sk 1.2.6-beta → 1.2.6-beta-2
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/.vscode/settings.json +2 -0
- package/README.md +7 -1
- package/Screenshot 2025-06-12 at 9.33.57/342/200/257AM.png +0 -0
- package/bt-sensors-plugin-sk copy.json +170 -0
- package/bt-sensors-plugin-sk.json.bak +121 -0
- package/classLoader.js +6 -6
- package/development/FakeBTDevice.js +57 -0
- package/development/package.json +5 -0
- package/diff.txt +2860 -0
- package/index.js +5 -2
- package/package.json +1 -1
- package/public/159.js +1 -1
- package/public/540.js +1 -1
- package/public/698.js +14 -0
- package/public/{681.js.LICENSE.txt → 698.js.LICENSE.txt} +0 -2
- package/public/847.js +1 -0
- package/public/images/eco-worthy.webp +0 -0
- package/public/main.js +1 -1
- package/public/remoteEntry.js +1 -1
- package/sensor_classes/EcoWorthy.js +160 -0
- package/sensor_classes/EctiveBMS.js +0 -1
- package/sensor_classes/GobiusCTankMeter.js +1 -1
- package/sensor_classes/VictronBatteryMonitor.js +2 -2
- package/src/components/PluginConfigurationPanel.js +50 -16
- package/test.txt +805 -0
- package/vsl_patch_17_06_25.patch +13 -0
- package/public/681.js +0 -8
- package/public/764.js +0 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
diff --git a/sensor_classes/VictronSmartLithium.js b/sensor_classes/VictronSmartLithium.js
|
|
2
|
+
index 0ed70ad..2988374 100644
|
|
3
|
+
--- a/sensor_classes/VictronSmartLithium.js
|
|
4
|
+
+++ b/sensor_classes/VictronSmartLithium.js
|
|
5
|
+
@@ -50,7 +50,7 @@ class VictronSmartLithium extends VictronSensor{
|
|
6
|
+
(buff)=>{return buff.readUInt16LE(4)})
|
|
7
|
+
.default="electrical.batteries.{batteryID}.errors"
|
|
8
|
+
|
|
9
|
+
- for (let i=0;i++;i<8){
|
|
10
|
+
+ for (let i=0;i<8; i++){
|
|
11
|
+
this.addMetadatum(`cell${i+1}Voltage`,'V', `cell ${i+1} voltage`)
|
|
12
|
+
.default=`electrical.batteries.{batteryID}.cell${i+1}.voltage`
|
|
13
|
+
}
|