homebridge-alexa 0.6.9-beta.13 → 0.6.9-beta.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -71,7 +71,7 @@ jobs:
71
71
  git config --local user.email "github-actions[bot]@users.noreply.github.com"
72
72
  git config --local user.name "github-actions[bot]"
73
73
  git add *
74
- git commit -a -m "Update TOC"
74
+ git commit -a -m "Update TOC" || true
75
75
 
76
76
  - name: Push changes
77
77
  uses: ad-m/github-push-action@master
package/CHANGELOG.md CHANGED
@@ -8,7 +8,7 @@ All notable changes to this project will be documented in this file. This projec
8
8
 
9
9
  #### Changes
10
10
 
11
- - Enables HK Thermostat type accessory to turn off #605 ( Tks @banboobee )
11
+ - Enables HK Thermostat type accessory to turn off and on #605 ( Tks @banboobee ). Default behaviour for `Turn On` is to set the thermostat mode to Cool. This is changable in the Advanced settings menu, with the option `Thermostat Turn On Behaviour`.
12
12
  - Updates to package dependencies
13
13
 
14
14
  ## 0.6.8 (2023-12-13)
package/Installation.md CHANGED
@@ -2,7 +2,43 @@ Installation and Configuration of Homebridge Alexa
2
2
  ==================================================
3
3
 
4
4
  <!--ts-->
5
-
5
+ * [Installation and Configuration of Homebridge Alexa](#installation-and-configuration-of-homebridge-alexa)
6
+ * [Setup Instructions](#setup-instructions)
7
+ * [Create Homebridge-Alexa Cloud Services Account](#create-homebridge-alexa-cloud-services-account)
8
+ * [Install and Configure the Plugin](#install-and-configure-the-plugin)
9
+ * [Installation in Homebridge UI](#installation-in-homebridge-ui)
10
+ * [Configuration in Homebridge UI](#configuration-in-homebridge-ui)
11
+ * [Enabling and linking the Homebridge Smart Home Skill](#enabling-and-linking-the-homebridge-smart-home-skill)
12
+ * [Viewing Account Status](#viewing-account-status)
13
+ * [Advanced Setup Instructions, including advanced configuration options](#advanced-setup-instructions-including-advanced-configuration-options)
14
+ * [Prepare Homebridge for plugin installation](#prepare-homebridge-for-plugin-installation)
15
+ * [Install Plugin](#install-plugin)
16
+ * [Create homebridge-alexa account](#create-homebridge-alexa-account)
17
+ * [HomeBridge-alexa plugin configuration](#homebridge-alexa-plugin-configuration)
18
+ * [Required Settings](#required-settings)
19
+ * [Optional Settings](#optional-settings)
20
+ * [debug](#debug)
21
+ * [pin](#pin)
22
+ * [routines](#routines)
23
+ * [deviceList &amp; deviceListHandling - Filtering of devices by name, either allow or allow](#devicelist--devicelisthandling---filtering-of-devices-by-name-either-allow-or-allow)
24
+ * [Advanced Settings](#advanced-settings)
25
+ * [CloudTransport - Cloud Server Connection Transport](#cloudtransport---cloud-server-connection-transport)
26
+ * [keepalive - Cloud Server Connection Keepalive](#keepalive---cloud-server-connection-keepalive)
27
+ * [refresh - Accessory Cache Refresh Interval](#refresh---accessory-cache-refresh-interval)
28
+ * [filter - Homebridge Instance Filter](#filter---homebridge-instance-filter)
29
+ * [mergeServiceName - Alternate device naming](#mergeservicename---alternate-device-naming)
30
+ * [blind](#blind)
31
+ * [door](#door)
32
+ * [Speaker Settings](#speaker-settings)
33
+ * [speakers](#speakers)
34
+ * [Combine Accessories](#combine-accessories)
35
+ * [combine](#combine)
36
+ * [Inputs](#inputs)
37
+ * [Apple TV](#apple-tv)
38
+ * [Yamaha Spotify Controls](#yamaha-spotify-controls)
39
+ * [Initial Testing and confirming configuration](#initial-testing-and-confirming-configuration)
40
+ * [Enable Homebridge smarthome skill and link accounts](#enable-homebridge-smarthome-skill-and-link-accounts)
41
+ * [Discover Devices](#discover-devices)
6
42
  <!--te-->
7
43
 
8
44
  # Setup Instructions
@@ -282,6 +318,25 @@ sudo npm install -g homebridge-alexa
282
318
  ],
283
319
  ```
284
320
 
321
+ #### thermostatTurnOn - Thermostat Turn On Behaviour
322
+ - Set Thermostat mode to either Heat, Cool or Auto when Alexa is asked to turn on a Thermostat. Defaults to Cool.
323
+
324
+ Heat - 1
325
+ Cool - 2
326
+ Auto - 3
327
+
328
+ ```
329
+ "platforms": [
330
+ {
331
+ "platform": "Alexa",
332
+ "name": "Alexa",
333
+ "username": "....",
334
+ "password": "....",
335
+ "thermostatTurnOn": 2
336
+ }
337
+ ],
338
+ ```
339
+
285
340
  #### blind
286
341
  - Enables natural wording for opening and closing blinds, and window coverings. Not supported in all countries. Defaults to false
287
342
 
package/README.md CHANGED
@@ -3,10 +3,10 @@
3
3
  [![NPM Downloads](https://img.shields.io/npm/dm/homebridge-alexa.svg?style=flat)](https://npmjs.org/package/homebridge-alexa)
4
4
 
5
5
  <h1><p align="center">
6
- <img src="docs/echo_5th.jpg" height="200"><b> => </b><img src="docs/homebridge.png" height="200">
6
+ <img src="docs/README_Image.001.jpeg" width="80%" style="vertical-align:middle">
7
7
  </p></h1>
8
8
 
9
- Enable Amazon Alexa to control your homebridge smart home devices and accessories. Please note, that this does **NOT** bring Alexa enabled devices into homebridge, for this please try [homebridge-alexa-smarthome](https://github.com/joeyhage/homebridge-alexa-smarthome). Full support for all Amazon Alexa devices, including the echo 2nd Generation and software based solutions. Uses an Amazon smart home skill based approach for integration between HomeBridge and Amazon Alexa.
9
+ Enable Amazon Alexa to control your homebridge smart home devices and accessories. Please note, that this does **NOT** bring Alexa enabled devices into homebridge, for this please try [homebridge-alexa-smarthome](https://github.com/joeyhage/homebridge-alexa-smarthome).
10
10
 
11
11
  # Note to users of the service
12
12
 
@@ -37,7 +37,51 @@ Country availability - The plugin is available in these countries, English (AU),
37
37
 
38
38
  # Table of Contents
39
39
  <!--ts-->
40
-
40
+ * [Note to users of the service](#note-to-users-of-the-service)
41
+ * [New Users](#new-users)
42
+ * [Availability](#availability)
43
+ * [Features](#features)
44
+ * [Table of Contents](#table-of-contents)
45
+ * [Supported devices](#supported-devices)
46
+ * [HomeKit/Homebridge Devices supported](#homekithomebridge-devices-supported)
47
+ * [Native Support](#native-support)
48
+ * [Supported as Other Types](#supported-as-other-types)
49
+ * [Non-Homebridge Devices](#non-homebridge-devices)
50
+ * [Unsupported device types](#unsupported-device-types)
51
+ * [Alexa Voice Commands](#alexa-voice-commands)
52
+ * [Setup](#setup)
53
+ * [Light bulbs / Switches / Dimmer Switches](#light-bulbs--switches--dimmer-switches)
54
+ * [Color lights](#color-lights)
55
+ * [Color temperature](#color-temperature)
56
+ * [Color Temperatures](#color-temperatures)
57
+ * [Garage door, Blinds and Window Coverings](#garage-door-blinds-and-window-coverings)
58
+ * [Garage Door With door = false](#garage-door-with-door--false)
59
+ * [Window coverings / blinds With blind = false](#window-coverings--blinds-with-blind--false)
60
+ * [Garage Door With blind = true ( Not supported in all countries )](#garage-door-with-blind--true--not-supported-in-all-countries-)
61
+ * [Window coverings / blinds With blind = true ( Not supported in all countries )](#window-coverings--blinds-with-blind--true--not-supported-in-all-countries-)
62
+ * [Thermostat's and Heater / Cooler's](#thermostats-and-heater--coolers)
63
+ * [Lock / Unlock Doors](#lock--unlock-doors)
64
+ * [Temperature sensors](#temperature-sensors)
65
+ * [AppleTV ( homebridge-apple-tv or homebridge-apple-tv-remote )](#appletv--homebridge-apple-tv-or-homebridge-apple-tv-remote-)
66
+ * [HomeKit Television](#homekit-television)
67
+ * [HomeKit Television - Tested plugins](#homekit-television---tested-plugins)
68
+ * [Television Inputs and Channels](#television-inputs-and-channels)
69
+ * [Speakers](#speakers)
70
+ * [Bose SoundLink - Change preset](#bose-soundlink---change-preset)
71
+ * [Yamaha Receiver/Spotify control](#yamaha-receiverspotify-control)
72
+ * [Contact and Motion Sensors](#contact-and-motion-sensors)
73
+ * [Door bell devices](#door-bell-devices)
74
+ * [Installation of homebridge-alexa](#installation-of-homebridge-alexa)
75
+ * [Service Availability and Issues](#service-availability-and-issues)
76
+ * [Homebridge cloud service monitoring ( homebridge.ca )](#homebridge-cloud-service-monitoring--homebridgeca-)
77
+ * [Raising Issues and Troubleshooting](#raising-issues-and-troubleshooting)
78
+ * [Troubleshooting](#troubleshooting)
79
+ * [Known Issues](#known-issues)
80
+ * [Discord Channel](#discord-channel)
81
+ * [Debug logs](#debug-logs)
82
+ * [Homebridge Accessory Dump](#homebridge-accessory-dump)
83
+ * [Roadmap](#roadmap)
84
+ * [Credits](#credits)
41
85
  <!--te-->
42
86
 
43
87
  # Supported devices
@@ -169,6 +213,13 @@ See [example](https://github.com/NorthernMan54/homebridge-alexa/wiki/Garage-Door
169
213
  * Alexa, set thermostat to 20
170
214
  * Alexa, set thermostat to heat/cool/automatic/off
171
215
 
216
+ ### For Thermostat's only
217
+
218
+ * Alexa, turn off thermostat
219
+ * Alexa, turn on thermostat
220
+
221
+ Turn on thermostat sets the thermostat mode to `Cool` by default. This is changable in the Advanced settings menu, with the option `Thermostat Turn On Behaviour`.
222
+
172
223
  Adamo Maisano provided a deeper [comparison](https://github.com/NorthernMan54/homebridge-alexa/wiki/Thermostat-Voice-Control-Comparison) of Thermostat Voice Control [here](https://github.com/NorthernMan54/homebridge-alexa/wiki/Thermostat-Voice-Control-Comparison).
173
224
 
174
225
  ## Lock / Unlock Doors
@@ -1,7 +1,37 @@
1
1
  **Troubleshooting Tips**
2
2
 
3
3
  <!--ts-->
4
-
4
+ * [Initial Setup](#initial-setup)
5
+ * [[Alexa] ERROR: ( homebridge-alexa) Login to homebridge.ca failed, please validate your credentials in config.json and restart homebridge.](#alexa-error--homebridge-alexa-login-to-homebridgeca-failed-please-validate-your-credentials-in-configjson-and-restart-homebridge)
6
+ * [- Bad login or password in your config.json for <a href="https://www.homebridge.ca" rel="nofollow">https://www.homebridge.ca</a>](https://www.homebridge.ca)
7
+ * [[Alexa] ERROR: ( homebridge-alexa) You have an issue with your installation, please review the README.](#alexa-error--homebridge-alexa-you-have-an-issue-with-your-installation-please-review-the-readme)
8
+ * [- Cloud Server DDOS Protection has blocked your IP address](#--cloud-server-ddos-protection-has-blocked-your-ip-address)
9
+ * [- Multiple copies of homebridge-alexa on your network](#--multiple-copies-of-homebridge-alexa-on-your-network)
10
+ * [- VPN Software interfering with homebridge-alexa to homebridge.ca communications](#--vpn-software-interfering-with-homebridge-alexa-to-homebridgeca-communications)
11
+ * [[Alexa] ERROR: ( homebridge-alexa) Stopping Home Skill connection due to excessive reconnects, please review the README.](#alexa-error--homebridge-alexa-stopping-home-skill-connection-due-to-excessive-reconnects-please-review-the-readme)
12
+ * [[Alexa] WARNING: Duplicate device name xxxxx](#alexa-warning-duplicate-device-name-xxxxx)
13
+ * [Initial Setup Messages from DEBUG mode](#initial-setup-messages-from-debug-mode)
14
+ * [alexaHAP HAP Discover failed ... is not running in insecure mode](#alexahap-hap-discover-failed--is-not-running-in-insecure-mode)
15
+ * [HAP Discover failed ..... error code 470](#hap-discover-failed--error-code-470)
16
+ * [Upgraded from old version and am seeing this error message](#upgraded-from-old-version-and-am-seeing-this-error-message)
17
+ * [[Alexa] ERROR: HAP Discovery failed, please review config](#alexa-error-hap-discovery-failed-please-review-config)
18
+ * [alexaLocal ERROR: connect ECONNREFUSED 35.169.132.61:1883 -&gt; ECONNREFUSED](#alexalocal-error-connect-econnrefused-35169132611883----econnrefused)
19
+ * [alexaLocal error { Error: connect ECONNREFUSED 35.169.132.61:8883](#alexalocal-error--error-connect-econnrefused-35169132618883)
20
+ * [Device Discovery](#device-discovery)
21
+ * [Device discovery fails and the plugin logs show no issues.](#device-discovery-fails-and-the-plugin-logs-show-no-issues)
22
+ * [Device discovery fails, and this message is in the logs ERROR: Empty accessory name, parsing failed.](#device-discovery-fails-and-this-message-is-in-the-logs-error-empty-accessory-name-parsing-failed)
23
+ * [Device discovery fails, and this message is in the logs ERROR: Maximum devices/accessories of 300 exceeded.](#device-discovery-fails-and-this-message-is-in-the-logs-error-maximum-devicesaccessories-of-300-exceeded)
24
+ * [Device discovery fails, and this message is in the logs ERROR: Parsing failed, duplicate endpointID.](#device-discovery-fails-and-this-message-is-in-the-logs-error-parsing-failed-duplicate-endpointid)
25
+ * [After restarting homebridge Alexa can't find devices and needs to discover them again. Or you have duplicate devices in Alexa](#after-restarting-homebridge-alexa-cant-find-devices-and-needs-to-discover-them-again--or-you-have-duplicate-devices-in-alexa)
26
+ * [Controlling devices](#controlling-devices)
27
+ * [[Alexa] PowerController TurnOff 192.168.1.226 51826 undefined Error: Homebridge auth failed, invalid PIN](#alexa-powercontroller-turnoff-1921681226-51826-undefined-error-homebridge-auth-failed-invalid-pin)
28
+ * [Event error messages](#event-error-messages)
29
+ * [[Alexa] WARNING: ( homebridge-alexa) Dropped event message, message rate too high.](#alexa-warning--homebridge-alexa-dropped-event-message-message-rate-too-high)
30
+ * [ERROR: Error: getAccessToken No data Error: XXXXXXXXXX](#error--error-getaccesstoken-no-data-error-xxxxxxxxxx)
31
+ * [ERROR: Error: getAccessToken Token not found](#error--error-getaccesstoken-token-not-found)
32
+ * [Unsuccessful event message ( No event gateway token )](#unsuccessful-event-message--no-event-gateway-token-)
33
+ * [Successful event message being sent to Alexa](#successful-event-message-being-sent-to-alexa)
34
+ * [[Alexa] ERROR: Event gateway token refresh error: 400](#alexa-error--event-gateway-token-refresh-error-400)
5
35
  <!--te-->
6
36
 
7
37
  # Initial Setup
@@ -2,7 +2,7 @@
2
2
  "pluginAlias": "Alexa",
3
3
  "pluginType": "platform",
4
4
  "singular": true,
5
- "headerDisplay": "<h1><p align='center'>Allow your Amazon Alexa to control your homebridge devices</H1></p><h1><p align='center'> <img width='18%' src='https://user-images.githubusercontent.com/19808920/210089307-7622bb91-49d0-4d90-b2c3-31118e1a76c0.png'><b> => </b><img width='20%' src='https://user-images.githubusercontent.com/19808920/210090318-9e8ddc2a-a025-40ac-9718-7b5a2aa9a518.png'></p></h1> <br>To setup the service:<br>1 - First <b>create</b> an account on <a href='https://www.homebridge.ca/'>https://www.homebridge.ca/</a>. <br>2 - Then <b>enter</b> the username and password for your account <b>below</b>. <br>3 - <b>Save</b> the settings and <b>restart</b> homebridge. <br>4 - In the Amazon Alexa Application on your smart phone, <b>search</b> for the Homebridge Skill and enable it. When you enable the skill, it will take you to the <b>https://www.homebridge.ca/</b> website to <b>enable</b> and link the skill to the plugin. <br>5 - You can now ask Alexa to <b>`discover devices`</b> and it should discover your homebridge devices.<br><br>Detailed setup instructions are available <a href='https://github.com/NorthernMan54/homebridge-alexa/blob/master/Installation.md#setup-instructions'>here</a>.",
5
+ "headerDisplay": "<h1><p align='center'>Allow your Amazon Alexa to control your homebridge devices</H1></p><h1><p align='center'><img src='https://raw.githubusercontent.com/NorthernMan54/homebridge-alexa/beta-0.6.9/docs/README_Image.001.jpeg' width='80%' style='vertical-align:middle'></p></h1> <br>To setup the service:<br>1 - First <b>create</b> an account on <a href='https://www.homebridge.ca/'>https://www.homebridge.ca/</a>. <br>2 - Then <b>enter</b> the username and password for your account <b>below</b>. <br>3 - <b>Save</b> the settings and <b>restart</b> homebridge. <br>4 - In the Amazon Alexa Application on your smart phone, <b>search</b> for the Homebridge Skill and enable it. When you enable the skill, it will take you to the <b>https://www.homebridge.ca/</b> website to <b>enable</b> and link the skill to the plugin. <br>5 - You can now ask Alexa to <b>`discover devices`</b> and it should discover your homebridge devices.<br><br>Detailed setup instructions are available <a href='https://github.com/NorthernMan54/homebridge-alexa/blob/master/Installation.md#setup-instructions'>here</a>.",
6
6
  "footerDisplay": "Homebridge Alexa Skill: https://www.amazon.com/Northern-Man-54-Homebridge/dp/B07B9QMTFQ",
7
7
  "schema": {
8
8
  "type": "object",
@@ -33,24 +33,28 @@
33
33
  "description": "This needs to match the Homebridge pin set in your config.json file"
34
34
  },
35
35
  "routines": {
36
- "title": " Routines - enables passing of Motion and Contact sensor events to Alexa. For use in the Alexa app to create Routines triggered by these sensors.",
36
+ "title": "Routines",
37
37
  "type": "boolean",
38
- "placeholder": false
38
+ "placeholder": false,
39
+ "description": "Enables passing of Motion and Contact sensor events to Alexa. For use in the Alexa app to create Routines triggered by these sensors."
39
40
  },
40
41
  "blind": {
41
- "title": "Enables natural wording for opening and closing blinds, and window coverings. Not supported in all countries. Defaults to false",
42
+ "title": "Blind",
42
43
  "type": "boolean",
43
- "placeholder": false
44
+ "placeholder": false,
45
+ "description": "Enables natural wording for opening and closing blinds, and window coverings. Not supported in all countries. Defaults to false"
44
46
  },
45
47
  "door": {
46
- "title": "Enables natural wording for opening and closing garage doors. Not supported in all countries. Please note that opening a garage door requires setting a voice pin within the Alexa app. Defaults to false",
48
+ "title": "Door",
47
49
  "type": "boolean",
48
- "placeholder": false
50
+ "placeholder": false,
51
+ "description": "Enables natural wording for opening and closing garage doors. Not supported in all countries. Please note that opening a garage door requires setting a voice pin within the Alexa app. Defaults to false"
49
52
  },
50
53
  "debug": {
51
- "title": "Enable debug level logging to assist in problem investigation",
54
+ "title": "Debug",
52
55
  "type": "boolean",
53
- "placeholder": false
56
+ "placeholder": false,
57
+ "description": "Enable debug level logging to assist in problem investigation."
54
58
  },
55
59
  "refresh": {
56
60
  "title": "Accessory Cache Refresh Interval",
@@ -77,6 +81,32 @@
77
81
  "description": "This is an alternate device naming approach, which combines the internal HomeKit names for a device. It may resolve duplicate device name issues. Do not enable on an existing implementation, as you will lose control of your existing devices.",
78
82
  "placeholder": false
79
83
  },
84
+ "thermostatTurnOn": {
85
+ "title": "Thermostat Turn On Behaviour",
86
+ "description": "Set Thermostat mode to this when Alexa is asked to turn on a Thermostat. Defaults to Cool.",
87
+ "type": "integer",
88
+ "placeholder": 2,
89
+ "oneOf": [
90
+ {
91
+ "title": "Heat",
92
+ "enum": [
93
+ 1
94
+ ]
95
+ },
96
+ {
97
+ "title": "Cool",
98
+ "enum": [
99
+ 2
100
+ ]
101
+ },
102
+ {
103
+ "title": "Auto",
104
+ "enum": [
105
+ 3
106
+ ]
107
+ }
108
+ ]
109
+ },
80
110
  "CloudTransport": {
81
111
  "title": "Cloud Server Connection Transport",
82
112
  "description": "Transport options for cloud server connection. MQTTS - this is the recommended setting. MQTT - this is the original/legacy option. WSS - this is the an alternative transport option.",
@@ -239,7 +269,10 @@
239
269
  "keepalive",
240
270
  "refresh",
241
271
  "filter",
242
- "mergeServiceName"
272
+ "thermostatTurnOn",
273
+ "mergeServiceName",
274
+ "blind",
275
+ "door"
243
276
  ]
244
277
  },
245
278
  {
@@ -128,7 +128,7 @@ function alexaDiscovery(message, callback) {
128
128
  // debug('Homebridge Accessory Instance Dump for', mdnsCache[instance].name);
129
129
  output = output + '\ncurl -X PUT ' + mdnsCache[instance].url + '/accessories --header "Content-Type:Application/json" --header "authorization: ' + this.pin + '"\n';
130
130
  }
131
- debug(output);
131
+ // debug(output);
132
132
  this.log("alexaDiscovery - returned %s devices", response.event.payload.endpoints.length);
133
133
  }
134
134
  if (response.event.payload.endpoints.length > 300) {
@@ -137,8 +137,8 @@ function alexaDiscovery(message, callback) {
137
137
  }
138
138
  // debug("Discovery Response", JSON.stringify(response, null, 2));
139
139
  if (this.debug) {
140
- // const fs = require('fs');
141
- // fs.writeFileSync('alexaDiscovery.json', JSON.stringify(response, null, 2));
140
+ const fs = require('fs');
141
+ fs.writeFileSync('alexaDiscovery.json', JSON.stringify(response, null, 2));
142
142
  }
143
143
  callback(null, response);
144
144
  }.bind(this));
@@ -260,7 +260,8 @@ function _getActions(description, context, devices) {
260
260
  // }
261
261
  break;
262
262
  case "Target Heating Cooling State":
263
- cookie["TurnOn"] = messages.cookieV(2, context); // COOL
263
+ // debug('Target Heating Cooling State', context, this);
264
+ cookie["TurnOn"] = messages.cookieV(context.options.thermostatTurnOn, context); // COOL
264
265
  cookie["TurnOff"] = messages.cookieV(0, context); // OFF
265
266
  case "Target Heater-Cooler State":
266
267
  case "Target Heater Cooler State":
@@ -21,7 +21,8 @@ function Homebridge(devices, context) {
21
21
  speakers: context.speakers,
22
22
  blind: context.blind,
23
23
  door: context.door,
24
- mergeServiceName: context.mergeServiceName
24
+ mergeServiceName: context.mergeServiceName,
25
+ thermostatTurnOn: context.thermostatTurnOn
25
26
  };
26
27
  this.playback = {};
27
28
  devices.accessories.accessories.forEach(function(element) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homebridge-alexa",
3
- "version": "0.6.9-beta.13",
3
+ "version": "0.6.9-beta.15",
4
4
  "description": "Control your Homebridge devices with Amazon Alexa.",
5
5
  "main": "plugin.js",
6
6
  "scripts": {
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "nodemonConfig": {
13
13
  "watch": [],
14
- "ext": "js,json",
14
+ "ext": "js",
15
15
  "ignore": [],
16
16
  "exec": "~/npm/bin/homebridge -D -R -P ~/Code",
17
17
  "signal": "SIGTERM",
@@ -50,7 +50,7 @@
50
50
  "dependencies": {
51
51
  "bottleneck": "2.19.5",
52
52
  "debug": "4.3.4",
53
- "hap-node-client": "0.2.5-beta.5",
53
+ "hap-node-client": "0.2.5-beta.6",
54
54
  "is-my-json-valid": "2.20.6",
55
55
  "mqtt": "5.3.6"
56
56
  },
package/plugin.js CHANGED
@@ -36,6 +36,7 @@ function alexaHome(log, config, api) {
36
36
  this.inputs = config['inputs'] || false; // Array of input devices
37
37
  this.channel = config['channel'] || false; // Array of input devices
38
38
  this.blind = config['blind'] || false; // Use range controller for Blinds
39
+ this.thermostatTurnOn = config['thermostatTurnOn'] || 2; // Use range controller for Blinds
39
40
  this.deviceListHandling = config['deviceListHandling'] || []; // Use ea
40
41
  this.deviceList = config['deviceList'] || []; // Use ea
41
42
  this.door = config['door'] || false; // Use mode controller for Garage Doors
@@ -135,6 +136,7 @@ alexaHome.prototype.didFinishLaunching = function () {
135
136
  Characteristic: Characteristic,
136
137
  inputs: this.inputs,
137
138
  channel: this.channel,
139
+ thermostatTurnOn: this.thermostatTurnOn,
138
140
  blind: this.blind,
139
141
  deviceListHandling: this.deviceListHandling,
140
142
  deviceList: this.deviceList,