diff --git a/shelly/99-shelly.js b/shelly/99-shelly.js index a213828..2835537 100644 --- a/shelly/99-shelly.js +++ b/shelly/99-shelly.js @@ -5,6 +5,7 @@ module.exports = function (RED) { "use strict"; + let config = require('./config/config.json'); const axios = require('axios').default; @@ -23,6 +24,9 @@ module.exports = function (RED) { const fastify = require('fastify'); + const pkg = require('./../package.json'); + RED.log.info('node-red-contrib-shelly version: v' + pkg.version); + let nonceCount = 1; // no operation function