node-red-contrib-modbus
Advanced tools
Comparing version 0.10.1 to 0.10.2
@@ -141,3 +141,3 @@ /** | ||
try { | ||
let modbusLogLevel = 'info' | ||
let modbusLogLevel = 'warn' | ||
if (RED.settings.verbose) { | ||
@@ -147,2 +147,4 @@ modbusLogLevel = 'debug' | ||
node.log('modbusLogLevel: ' + modbusLogLevel) | ||
if (node.clienttype === 'tcp') { | ||
@@ -149,0 +151,0 @@ node.client = modbus.client.tcp.complete({ |
@@ -310,3 +310,2 @@ /** | ||
function buildMessage (values, response) { | ||
setNodeStatusTo('connected') | ||
return [{payload: values}, {payload: response}] | ||
@@ -313,0 +312,0 @@ } |
@@ -103,5 +103,10 @@ /** | ||
let modbusLogLevel = 'warn' | ||
if (RED.settings.verbose) { | ||
modbusLogLevel = 'debug' | ||
} | ||
let ModbusServer = stampit().refs({ | ||
'logLabel': 'ModbusServer', | ||
'logLevel': 'debug', | ||
'logLevel': modbusLogLevel, | ||
'logEnabled': node.logEnabled, | ||
@@ -108,0 +113,0 @@ 'port': node.serverPort, |
@@ -254,3 +254,2 @@ /** | ||
function buildMessage (values, response) { | ||
setNodeStatusTo('connected') | ||
return [{payload: values}, {payload: response}] | ||
@@ -257,0 +256,0 @@ } |
{ | ||
"name": "node-red-contrib-modbus", | ||
"tag": "0.10-alpha-2", | ||
"version": "0.10.1", | ||
"tag": "0.10-alpha-3", | ||
"version": "0.10.2", | ||
"description": "Node-RED original nodes to communicate via Modbus TCP and Serial (RTU).", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
155092
2095