Rinominato il plugin in "MEB Battery BMS" e aggiornato il percorso del modulo DalyProtocol
This commit is contained in:
10
index.js
10
index.js
@@ -1,8 +1,4 @@
|
|||||||
// SignalK plugin — Daly BMS via USB/RS485 (solo USB).
|
const DalyProtocol = require('./src/bmscore');
|
||||||
// Polling periodico → delta SignalK. POST read-only on-demand.
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
const DalyProtocol = require('./lib/daly-protocol');
|
|
||||||
|
|
||||||
const DEFAULTS = Object.freeze({
|
const DEFAULTS = Object.freeze({
|
||||||
device: '/dev/ttyUSB0',
|
device: '/dev/ttyUSB0',
|
||||||
@@ -15,8 +11,8 @@ const DEFAULTS = Object.freeze({
|
|||||||
|
|
||||||
module.exports = function (app) {
|
module.exports = function (app) {
|
||||||
const plugin = {
|
const plugin = {
|
||||||
id: 'signalk-daly-bms',
|
id: 'meb-battery',
|
||||||
name: 'Daly BMS (USB)',
|
name: 'MEB Battery BMS',
|
||||||
description: 'Legge un BMS Daly via seriale USB/RS485 e pubblica su SignalK'
|
description: 'Legge un BMS Daly via seriale USB/RS485 e pubblica su SignalK'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user