first commit

This commit is contained in:
2025-12-30 14:38:50 +01:00
commit 05325f031b
4 changed files with 43 additions and 0 deletions

12
nodes/xilica-ping.js Normal file
View File

@@ -0,0 +1,12 @@
module.exports = function(RED) {
function XilicaPing(config) {
RED.nodes.createNode(this, config);
this.on("input", (msg, send, done) => {
msg.payload = "xilica-ping node is alive";
send(msg);
done();
});
}
RED.nodes.registerType("xilica-ping", XilicaPing);
};