commit 4fa8923cff94ad360b5d7f47de8651a5470e0e27 Author: Giuseppe Raffa <77052701+sesee3@users.noreply.github.com> Date: Tue May 12 00:51:55 2026 +0200 Implementa la struttura base del plugin MEB per i pannelli solari diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..80f9d72 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +.DS_Store +.env + +node_modules/ +.claude \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..90ef8f0 --- /dev/null +++ b/package.json @@ -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" +} diff --git a/src/index.js b/src/index.js new file mode 100644 index 0000000..bc994b2 --- /dev/null +++ b/src/index.js @@ -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; +} \ No newline at end of file