Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

heatmiser

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

heatmiser - npm Package Compare versions

Comparing version 0.0.6 to 1.0.0

14

lib/heatmiser.js

@@ -253,3 +253,15 @@ var net = require('net');

if (model != 'TM1') {
items.push(dcb_entry(23, data[key] == 'frost' ? 1 : 0));
var frost = false
switch(data[key]) {
case 'frost':
case 'frost_protection':
frost = true
break;
case 'heating':
frost = false
break;
default:
throw "run_mode not valid [heating, frost_protection]: " + data[key]
}
items.push(dcb_entry(23, frost ? 1 : 0));
}

@@ -256,0 +268,0 @@ break;

2

package.json
{
"name": "heatmiser",
"version": "0.0.6",
"version": "1.0.0",
"description": "A node.js app that talks to heatmiser wifi thermostats",

@@ -5,0 +5,0 @@ "main": "lib/heatmiser.js",

@@ -112,3 +112,3 @@ #!/usr/bin/env node

var dcb = {
runmode: 'frost'
runmode: 'frost_protection'
}

@@ -115,0 +115,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc