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' };