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.4 to 0.0.5

7

lib/heatmiser.js

@@ -250,2 +250,3 @@ var net = require('net');

case 'runmode':
case 'run_mode':
// Run mode (controls heating)

@@ -257,5 +258,7 @@ if (model != 'TM1') {

case 'awaymode':
// Away mode (controls hot water)
case 'away_mode':
// Away mode (controls hot water) [true, false]
if (model.match(/(HW|TM1)$/)) {
items.push(dcb_entry(31, data[key] == 'away' ? 1 : 0));
var away = (typeof data[key] == 'boolean') ? data[key] : data[key] == 'away'
items.push(dcb_entry(31, away ? 1 : 0));
}

@@ -262,0 +265,0 @@ break;

{
"name": "heatmiser",
"version": "0.0.4",
"version": "0.0.5",
"description": "A node.js app that talks to heatmiser wifi thermostats",

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

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