diff --git a/fronius/fronius.html b/fronius/fronius.html index 062bd60..d4ccd85 100644 --- a/fronius/fronius.html +++ b/fronius/fronius.html @@ -28,7 +28,7 @@ - + diff --git a/fronius/fronius.js b/fronius/fronius.js index 51f882f..8a39723 100644 --- a/fronius/fronius.js +++ b/fronius/fronius.js @@ -80,7 +80,7 @@ module.exports = function(RED) { setNodeStatus('red', e); }); } else if (node.querytype === 'powerflow') { - fronius.GetPowerFlowRealtimeDataData(node.options).then(function(json) { // eslint-disable-line + fronius.GetPowerFlowRealtimeData(node.options).then(function(json) { // eslint-disable-line if (!node.isValidHead(json)) { node.setNodeStatus('orange', json.Head.Status.UserMessage); return; @@ -102,7 +102,7 @@ module.exports = function(RED) { node.setNodeStatus('red', e); }); } else if (node.querytype === 'powermeter') { - fronius.GetPowerMeterRealtimeData(node.options).then(function(json) { // eslint-disable-line + fronius.GetMeterRealtimeData(node.options).then(function(json) { // eslint-disable-line if (!node.isValidHead(json)) { node.setNodeStatus('orange', json.Head.Status.UserMessage); return;