Socket
Socket
Sign inDemoInstall

node-red-contrib-terneo

Package Overview
Dependencies
7
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

LICENSE

6

package.json
{
"name": "node-red-contrib-terneo",
"version": "1.0.0",
"version": "1.0.1",
"description": "Terneo thermostats connectivity nodes for node-red",

@@ -26,3 +26,3 @@ "dependencies": {

"email": "kutovoy.s@gmail.com",
"license": "GPL-3.0",
"license": "MIT",
"bugs": {

@@ -32,2 +32,2 @@ "url": "https://github.com/kutovoys/node-red-contrib-terneo/issues"

"homepage": "https://github.com/kutovoys/node-red-contrib-terneo#readme"
}
}

@@ -30,3 +30,4 @@ # node-red-contrib-terneo

`curl -i -X POST https://my.hmarex.com/api/login/ -H 'Accept-Language: en' -H 'Content-Type: application/json' --data-raw '{"email": "myterneo@gmail.com", "password": "myterneo2018"}'` Change email and password for yours.
- Save result
- Polling time: Timeout in seconds for refresh data from thermostat.
4. Save result

@@ -38,2 +39,2 @@ ## Policy

----
GPL-3.0
MIT

@@ -8,4 +8,5 @@ module.exports = function (RED) {

this.auth = n.auth;
this.poll = n.poll;
}
RED.nodes.registerType("terneo-host", TerneoHostNode);
}

@@ -10,2 +10,3 @@ module.exports = function (RED) {

var auth = this.server.auth;
var poll = this.server.poll;
var node = this;

@@ -29,3 +30,3 @@ //функция получения телеметрии - на выходе полный json

} catch (err) {
node.error('Ошибка запроса телеметрии')
node.error('Error request telemetry')
}

@@ -51,3 +52,3 @@ }

} catch (err) {
node.error('Ошибка запроса параметров')
node.error('Error request pamametrs')
}

@@ -96,7 +97,7 @@ }

} catch (err) {
node.error('Ошибка в преобразовании данных')
node.error('Error prepare data for HomeKit')
}
}
try {
setInterval(transform, 30000, )
setInterval(transform, poll*1000, )
} catch (err) {

@@ -103,0 +104,0 @@ node.error(err)

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc