Implementa la struttura base del plugin MEB per i pannelli solari
This commit is contained in:
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
.DS_Store
|
||||
.env
|
||||
|
||||
node_modules/
|
||||
.claude
|
||||
26
package.json
Normal file
26
package.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"name": "meb-solars",
|
||||
"version": "1.0.0",
|
||||
"main": "src/index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"signalk-plugin-enabled-by-default": true,
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
},
|
||||
"keywords": [
|
||||
"signalk-node-server-plugin",
|
||||
"signalk-category-utility",
|
||||
"signalk-plugin",
|
||||
"daly",
|
||||
"bms",
|
||||
"battery"
|
||||
],
|
||||
"dependencies": {
|
||||
"serialport": "^10.2.2"
|
||||
},
|
||||
"author": "MEB Team",
|
||||
"license": "ISC",
|
||||
"description": "Un plugin per ottenere dati dai pannelli solari posti sulla barca"
|
||||
}
|
||||
21
src/index.js
Normal file
21
src/index.js
Normal file
@@ -0,0 +1,21 @@
|
||||
module.exports = function (app) {
|
||||
|
||||
const plugin = {
|
||||
id: 'meb-solars',
|
||||
name: "MEB Solary Panels",
|
||||
description: ""
|
||||
};
|
||||
|
||||
plugin.schema = {
|
||||
|
||||
};
|
||||
|
||||
plugin.start = async function(options = {}) {
|
||||
|
||||
};
|
||||
|
||||
plugin.
|
||||
|
||||
|
||||
return plugin;
|
||||
}
|
||||
Reference in New Issue
Block a user