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

homebridge-tcc

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homebridge-tcc - npm Package Compare versions

Comparing version 0.2.17 to 0.2.18

58

index.js

@@ -59,3 +59,3 @@ /*jslint node: true */

updateStatus(newAccessory, devices.hb[zone]);
// does user want outside sensors created? if so, only create 1 set

@@ -107,3 +107,3 @@ if ((this.sensors == "all" || this.sensors == "outside") && outsideSensors == 0) {

});
// only attach this to the actual thermostat accessories, not the sensors accessory

@@ -113,4 +113,4 @@ accessory.context.ChangeThermostat = new ChangeThermostat(accessory);

}
// add fakegato logging for
// add fakegato logging for
if (accessory.displayName == "Outside Sensors") {

@@ -125,3 +125,3 @@ debug(accessory);

}
myAccessories.push(accessory);

@@ -140,3 +140,3 @@ //debug(accessory.context)

// debug("accessory", accessory);
if (accessory.getService(Service.Thermostat)) {

@@ -199,3 +199,3 @@ accessory.getService(Service.Thermostat).getCharacteristic(Characteristic.TargetTemperature)

}
// fakegato for outside sensor

@@ -214,7 +214,7 @@ if (accessory.displayName == "Outside Sensors") {

}
// update thermostat
if (accessory.getService(device.Name)) {
var service = accessory.getService(Service.Thermostat);
service.getCharacteristic(Characteristic.Name)

@@ -234,3 +234,3 @@ .updateValue(device.Name);

.updateValue(device.HeatingThresholdTemperature);
// Fakegato Support

@@ -260,6 +260,6 @@ accessory.context.logEventCounter++;

//debug("TccAccessory()",device);
var uuid = UUIDGen.generate(this.name + " - TCC");
var createInsideSensors = false;
// need to get config for this thermostat id

@@ -281,3 +281,3 @@ switch (sensors) {

debug ("createInsideSensors: ",createInsideSensors);
if (!getAccessoryByName(this.name)) {

@@ -298,3 +298,3 @@ this.log("Adding TCC Device (deviceID="+this.ThermostatID+")", this.name);

this.accessory.addService(Service.Thermostat, this.name);
// check if user wants separate temperature and humidity sensors by zone/thermostat

@@ -310,3 +310,3 @@ if (createInsideSensors) {

});
debug("TccAccessory() " + this.name + " insideHumidity = true, existing sensor");

@@ -385,3 +385,3 @@ this.InsideHumidityService = this.accessory.addService(Service.HumiditySensor, this.name + " Humidity", "Inside");

this.log("Existing TCC accessory (deviceID="+this.ThermostatID+")", this.name);
// need to check if accessory/zone/thermostat already exists, but user added temp/humidity sensors then must declare

@@ -392,3 +392,3 @@ this.accessory = getAccessoryByName(this.name);

this.InsideTemperatureService = this.accessory.addService(Service.TemperatureSensor, this.name + " Temperature", "Inside");
this.InsideTemperatureService

@@ -404,3 +404,3 @@ .getCharacteristic(Characteristic.CurrentTemperature)

this.InsideHumidityService = this.accessory.addService(Service.HumiditySensor, this.name + " Humidity", "Inside");
this.InsideHumidityService

@@ -422,5 +422,5 @@ .getCharacteristic(Characteristic.CurrentRelativeHumidity);

//debug("TccSensorsAccessory()",device);
var uuid = UUIDGen.generate(this.name + " - TCC");
if (!getAccessoryByName(this.name)) {

@@ -439,3 +439,3 @@ this.log("Adding TCC Outside Sensors (deviceID="+this.ThermostatID+")", this.name);

.setCharacteristic(Characteristic.FirmwareRevision, require('./package.json').version);
// create outside temp sensor

@@ -450,3 +450,3 @@ debug("TccSensorsAccessory() " + this.name + " outsideTemperature = true, existing sensor");

});
// create outside humidity sensor

@@ -468,3 +468,3 @@ debug("TccSensorsAccessory() " + this.name + " outsideHumidity = true, existing sensor");

this.log("Existing TCC outside sensors accessory (deviceID="+this.ThermostatID+")", this.name);
// need to check if accessory/zone/thermostat already exists, but user added temp/humidity sensors then must declare

@@ -475,3 +475,3 @@ this.accessory = getAccessoryByName("Outside Sensors");

this.OutsideTemperatureService = this.accessory.addService(Service.TemperatureSensor, "Outside Temperature", "Outside");
this.OutsideTemperatureService

@@ -487,3 +487,3 @@ .getCharacteristic(Characteristic.CurrentTemperature)

this.OutsideHumidityService = this.accessory.addService(Service.HumiditySensor, "Outside Humidity", "Outside");
this.OutsideHumidityService

@@ -505,3 +505,3 @@ .getCharacteristic(Characteristic.CurrentRelativeHumidity);

updateStatus(this, thermostat);
callback(null, value);
callback(null);
}).catch((error) => {

@@ -520,3 +520,3 @@ callback(error);

updateStatus(this, thermostat);
callback(null, value);
callback(null);
}).catch((error) => {

@@ -534,3 +534,3 @@ callback(error);

updateStatus(this, thermostat);
callback(null, value);
callback(null);
}).catch((error) => {

@@ -548,3 +548,3 @@ callback(error);

updateStatus(this, thermostat);
callback(null, value);
callback(null);
}).catch((error) => {

@@ -551,0 +551,0 @@ callback(error);

@@ -15,3 +15,3 @@ var inherits = require('util').inherits;

this.setProps({
format: Characteristic.Formats.UINT8,
format: Characteristic.Formats.UINT16,
unit: "mbar",

@@ -18,0 +18,0 @@ minValue: 800,

{
"name": "homebridge-tcc",
"version": "0.2.17",
"version": "0.2.18",
"description": "Honeywell Total Connect Comfort support for Homebridge: https://github.com/nfarina/homebridge",

@@ -5,0 +5,0 @@ "license": "ISC",

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