From 61be85e327f94159392fc3140614868e276a48fb Mon Sep 17 00:00:00 2001 From: Giuseppe Raffa <77052701+sesee3@users.noreply.github.com> Date: Tue, 12 May 2026 00:43:32 +0200 Subject: [PATCH] Rinominato il plugin in "MEB Battery BMS" e aggiornato il percorso del modulo DalyProtocol --- index.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/index.js b/index.js index 8d37434..d97d5e5 100644 --- a/index.js +++ b/index.js @@ -1,8 +1,4 @@ -// SignalK plugin — Daly BMS via USB/RS485 (solo USB). -// Polling periodico → delta SignalK. POST read-only on-demand. -'use strict'; - -const DalyProtocol = require('./lib/daly-protocol'); +const DalyProtocol = require('./src/bmscore'); const DEFAULTS = Object.freeze({ device: '/dev/ttyUSB0', @@ -15,8 +11,8 @@ const DEFAULTS = Object.freeze({ module.exports = function (app) { const plugin = { - id: 'signalk-daly-bms', - name: 'Daly BMS (USB)', + id: 'meb-battery', + name: 'MEB Battery BMS', description: 'Legge un BMS Daly via seriale USB/RS485 e pubblica su SignalK' };