homebridge-alexa 0.6.6 → 0.6.9-beta.0
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.
- package/.eslintrc +31 -0
- package/.github/npm-version-script.js +92 -0
- package/.github/workflows/Build and Publish.yml +92 -0
- package/CHANGELOG.md +8 -0
- package/Installation.md +1 -2
- package/README.md +3 -47
- package/Troubleshooting.md +3 -32
- package/lib/alexaActions.js +82 -38
- package/lib/alexaMessages.js +13 -13
- package/package.json +10 -9
- package/alexaDiscovery.json +0 -3016
package/.eslintrc
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"parser": "@typescript-eslint/parser",
|
|
3
|
+
"extends": [
|
|
4
|
+
"eslint:recommended",
|
|
5
|
+
"plugin:@typescript-eslint/eslint-recommended",
|
|
6
|
+
"plugin:@typescript-eslint/recommended", // uses the recommended rules from the @typescript-eslint/eslint-plugin
|
|
7
|
+
"plugin:jest/recommended" // enables eslint-plugin-jest
|
|
8
|
+
],
|
|
9
|
+
"parserOptions": {
|
|
10
|
+
"ecmaVersion": 2018,
|
|
11
|
+
"sourceType": "module"
|
|
12
|
+
},
|
|
13
|
+
"ignorePatterns": [
|
|
14
|
+
"bin/",
|
|
15
|
+
"lib/"
|
|
16
|
+
],
|
|
17
|
+
"rules": {
|
|
18
|
+
"quotes": ["error", "double"],
|
|
19
|
+
"indent": ["error", 2, { "SwitchCase": 1 }],
|
|
20
|
+
"linebreak-style": ["error", "unix"],
|
|
21
|
+
"semi": ["error", "always"],
|
|
22
|
+
|
|
23
|
+
"comma-dangle": ["error", "always-multiline"],
|
|
24
|
+
"dot-notation": "error",
|
|
25
|
+
"eqeqeq": ["error", "always", {"null": "ignore"}],
|
|
26
|
+
"curly": ["error", "all"],
|
|
27
|
+
"brace-style": ["error"],
|
|
28
|
+
|
|
29
|
+
"@typescript-eslint/no-non-null-assertion": "off" // currently disabled, hap-nodejs has some bad typing (like getCharacteristic) for this to be enabled
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
#!/bin/env node
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This scripts queries the npm registry to pull out the latest version for a given tag.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
const fs = require("fs");
|
|
8
|
+
const semver = require("semver");
|
|
9
|
+
const child_process = require("child_process");
|
|
10
|
+
const assert = require("assert");
|
|
11
|
+
|
|
12
|
+
const BRANCH_VERSION_PATTERN = /^([A-Za-z]*)-(\d+.\d+.\d+)$/
|
|
13
|
+
|
|
14
|
+
// Load the contents of the package.json file
|
|
15
|
+
const packageJSON = JSON.parse(fs.readFileSync("package.json", "utf8"));
|
|
16
|
+
|
|
17
|
+
let refArgument = process.argv[2];
|
|
18
|
+
let tagArgument = process.argv[3] || "latest";
|
|
19
|
+
|
|
20
|
+
if (refArgument == null) {
|
|
21
|
+
console.error("ref argument is missing");
|
|
22
|
+
console.error("Usage: npm-version-script.js <ref> [tag]");
|
|
23
|
+
process.exit(1);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Queries the NPM registry for the latest version for the provided tag.
|
|
28
|
+
* @param tag The tag to query for.
|
|
29
|
+
* @returns {string} Returns the version.
|
|
30
|
+
*/
|
|
31
|
+
function getTagVersionFromNpm(tag) {
|
|
32
|
+
try {
|
|
33
|
+
return child_process.execSync(`npm info ${packageJSON.name} version --tag="${tag}"`).toString("utf8").trim();
|
|
34
|
+
} catch (e) {
|
|
35
|
+
console.error(`Failed to query the npm registry for the latest version for tag: ${tag}`);
|
|
36
|
+
throw e;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
function desiredTargetVersion(ref) {
|
|
41
|
+
// ref is a GitHub action ref string
|
|
42
|
+
if (ref.startsWith("refs/pull/")) {
|
|
43
|
+
throw Error("The version script was executed inside a PR!");
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
assert(ref.startsWith("refs/heads/"))
|
|
47
|
+
let branchName = ref.slice("refs/heads/".length);
|
|
48
|
+
|
|
49
|
+
let results = branchName.match(BRANCH_VERSION_PATTERN);
|
|
50
|
+
if (results != null) {
|
|
51
|
+
if (results[1] !== tagArgument) {
|
|
52
|
+
console.warn(`The base branch name (${results[1]}) differs from the tag name ${tagArgument}`);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
return results[2];
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// legacy mode were we use the `betaVersion` property in the package.json
|
|
59
|
+
if (branchName === "beta" && packageJSON.betaVersion) {
|
|
60
|
+
return packageJSON.betaVersion
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// legacy mode were we use the `alphaVersion` property in the package.json
|
|
64
|
+
if (branchName === "alpha" && packageJSON.alphaVersion) {
|
|
65
|
+
return packageJSON.alphaVersion
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
throw new Error(`Malformed branch name for ref: ${ref}. Can't derive the base version. Use a branch name like: beta-x.x.x or alpha-x.x.x`);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// derive the base version from the branch ref
|
|
72
|
+
const baseVersion = desiredTargetVersion(refArgument);
|
|
73
|
+
|
|
74
|
+
// query the npm registry for the latest version of the provided tag name
|
|
75
|
+
const latestReleasedVersion = getTagVersionFromNpm(tagArgument); // e.g. 0.7.0-beta.12
|
|
76
|
+
const latestReleaseBase = semver.inc(latestReleasedVersion, "patch"); // will produce 0.7.0 (removing the preid, needed for the equality check below)
|
|
77
|
+
|
|
78
|
+
let publishTag;
|
|
79
|
+
if (semver.eq(baseVersion, latestReleaseBase)) { // check if we are releasing another version for the latest beta or alpha
|
|
80
|
+
publishTag = latestReleasedVersion; // set the current latest beta or alpha to be incremented
|
|
81
|
+
} else {
|
|
82
|
+
publishTag = baseVersion; // start of with a new beta or alpha version
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// save the package.json
|
|
86
|
+
packageJSON.version = publishTag;
|
|
87
|
+
fs.writeFileSync("package.json", JSON.stringify(packageJSON, null, 2));
|
|
88
|
+
|
|
89
|
+
// perform the same change to the package-lock.json
|
|
90
|
+
const packageLockJSON = JSON.parse(fs.readFileSync("package-lock.json", "utf8"));
|
|
91
|
+
packageLockJSON.version = publishTag;
|
|
92
|
+
fs.writeFileSync("package-lock.json", JSON.stringify(packageLockJSON, null, 2));
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
name: "Build"
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [beta-*.*.*, beta]
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
get_tags:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
|
|
12
|
+
steps:
|
|
13
|
+
# checkout repo
|
|
14
|
+
- uses: actions/checkout@v4
|
|
15
|
+
|
|
16
|
+
# get branch / tag name
|
|
17
|
+
- name: Get Branch / Tag Name
|
|
18
|
+
id: get_branch
|
|
19
|
+
run: |
|
|
20
|
+
export BRANCH_NAME=$(if [[ ${GITHUB_REF} =~ "refs/tags/" ]]; then echo ${GITHUB_REF/refs\/tags\//}; else echo ${GITHUB_REF/refs\/heads\//}; fi)
|
|
21
|
+
echo $BRANCH_NAME
|
|
22
|
+
echo "BRANCH_NAME=${BRANCH_NAME}" >> $GITHUB_OUTPUT
|
|
23
|
+
|
|
24
|
+
# generate the image tag
|
|
25
|
+
- name: Get Image Tag
|
|
26
|
+
id: get_tag
|
|
27
|
+
run: |
|
|
28
|
+
export TARGET_IMAGE_TAG=$(if [ "${{ steps.get_branch.outputs.BRANCH_NAME }}" = "main" ]; then echo "main"; else echo "${{ steps.get_branch.outputs.BRANCH_NAME }}" | awk -F- '{ print $1 }'; fi)
|
|
29
|
+
echo $TARGET_IMAGE_TAG
|
|
30
|
+
echo "TARGET_IMAGE_TAG=${TARGET_IMAGE_TAG}" >> $GITHUB_OUTPUT
|
|
31
|
+
|
|
32
|
+
outputs:
|
|
33
|
+
BRANCH_NAME: ${{ steps.get_branch.outputs.BRANCH_NAME }}
|
|
34
|
+
TARGET_IMAGE_TAG: ${{ steps.get_tag.outputs.TARGET_IMAGE_TAG }}
|
|
35
|
+
|
|
36
|
+
create_documentation:
|
|
37
|
+
runs-on: ubuntu-latest
|
|
38
|
+
|
|
39
|
+
steps:
|
|
40
|
+
# checkout repo
|
|
41
|
+
- uses: actions/checkout@v4
|
|
42
|
+
with:
|
|
43
|
+
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
|
|
44
|
+
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
|
|
45
|
+
|
|
46
|
+
- uses: actions/setup-node@v3
|
|
47
|
+
with:
|
|
48
|
+
node-version: lts/*
|
|
49
|
+
|
|
50
|
+
- name: Retrieve github-markdown-toc
|
|
51
|
+
run: |
|
|
52
|
+
wget -q https://raw.githubusercontent.com/ekalinin/github-markdown-toc/master/gh-md-toc
|
|
53
|
+
chmod a+x gh-md-toc
|
|
54
|
+
|
|
55
|
+
- name: Create Table of Contents
|
|
56
|
+
run: |
|
|
57
|
+
npm run-script document
|
|
58
|
+
|
|
59
|
+
- name: Commit files
|
|
60
|
+
run: |
|
|
61
|
+
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
|
62
|
+
git config --local user.name "github-actions[bot]"
|
|
63
|
+
git commit -a -m "Update TOC"
|
|
64
|
+
|
|
65
|
+
- name: Push changes
|
|
66
|
+
uses: ad-m/github-push-action@master
|
|
67
|
+
with:
|
|
68
|
+
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
69
|
+
branch: ${{ github.ref }}
|
|
70
|
+
|
|
71
|
+
publish_release:
|
|
72
|
+
needs: [get_tags, create_documentation]
|
|
73
|
+
name: Publish Release Version
|
|
74
|
+
if: ${{ needs.get_tags.outputs.BRANCH_NAME == 'main' }}
|
|
75
|
+
uses: homebridge/.github/.github/workflows/npm-publish.yml@latest
|
|
76
|
+
with:
|
|
77
|
+
install_cmd: npm ci
|
|
78
|
+
secrets:
|
|
79
|
+
npm_auth_token: ${{ secrets.npm_token }}
|
|
80
|
+
|
|
81
|
+
publish_test:
|
|
82
|
+
needs: [get_tags, create_documentation]
|
|
83
|
+
name: Publish Test Version - ${{ needs.get_tags.outputs.BRANCH_NAME }}
|
|
84
|
+
if: ${{ needs.get_tags.outputs.BRANCH_NAME != 'main' }}
|
|
85
|
+
uses: homebridge/.github/.github/workflows/npm-publish.yml@latest
|
|
86
|
+
with:
|
|
87
|
+
tag: ${{ needs.get_tags.outputs.TARGET_IMAGE_TAG }}
|
|
88
|
+
dynamically_adjust_version: true
|
|
89
|
+
npm_version_command: 'pre'
|
|
90
|
+
pre_id: ${{ needs.get_tags.outputs.TARGET_IMAGE_TAG }}
|
|
91
|
+
secrets:
|
|
92
|
+
npm_auth_token: ${{ secrets.npm_token }}
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/).
|
|
4
4
|
|
|
5
|
+
## 0.6.7 (2023-09-27)
|
|
6
|
+
|
|
7
|
+
## [Version 0.6.7](https://github.com/northernman54/homebridge-alexa/compare/v0.6.6...v0.6.7)
|
|
8
|
+
|
|
9
|
+
#### Changes
|
|
10
|
+
|
|
11
|
+
- Fix for issue #579, AC can't change temperature
|
|
12
|
+
|
|
5
13
|
## 0.6.6 (2023-07-07)
|
|
6
14
|
|
|
7
15
|
## [Version 0.6.6](https://github.com/northernman54/homebridge-alexa/compare/v0.6.5...v0.6.6)
|
package/Installation.md
CHANGED
|
@@ -26,7 +26,6 @@ Installation and Configuration of Homebridge Alexa
|
|
|
26
26
|
* [keepalive - Cloud Server Connection Keepalive](#keepalive---cloud-server-connection-keepalive)
|
|
27
27
|
* [refresh - Accessory Cache Refresh Interval](#refresh---accessory-cache-refresh-interval)
|
|
28
28
|
* [filter - Homebridge Instance Filter](#filter---homebridge-instance-filter)
|
|
29
|
-
* [mergeServiceName - Alternate device naming](#mergeservicename---alternate-device-naming)
|
|
30
29
|
* [blind](#blind)
|
|
31
30
|
* [door](#door)
|
|
32
31
|
* [Speaker Settings](#speaker-settings)
|
|
@@ -41,7 +40,7 @@ Installation and Configuration of Homebridge Alexa
|
|
|
41
40
|
* [Discover Devices](#discover-devices)
|
|
42
41
|
|
|
43
42
|
<!-- Created by https://github.com/ekalinin/github-markdown-toc -->
|
|
44
|
-
<!-- Added by: sgracey, at:
|
|
43
|
+
<!-- Added by: sgracey, at: Tue 3 Jan 2023 10:41:47 EST -->
|
|
45
44
|
|
|
46
45
|
<!--te-->
|
|
47
46
|
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<img src="docs/homebridge.png" height="200">
|
|
7
7
|
</p>
|
|
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. 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). 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.
|
|
10
10
|
|
|
11
11
|
# Note to users of the service
|
|
12
12
|
|
|
@@ -37,54 +37,10 @@ Country availability - The plugin is available in these countries, English (AU),
|
|
|
37
37
|
|
|
38
38
|
# Table of Contents
|
|
39
39
|
<!--ts-->
|
|
40
|
-
|
|
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)
|
|
40
|
+
|
|
85
41
|
|
|
86
42
|
<!-- Created by https://github.com/ekalinin/github-markdown-toc -->
|
|
87
|
-
<!-- Added by: sgracey, at:
|
|
43
|
+
<!-- Added by: sgracey, at: Wed 27 Sep 2023 19:52:24 EDT -->
|
|
88
44
|
|
|
89
45
|
<!--te-->
|
|
90
46
|
|
package/Troubleshooting.md
CHANGED
|
@@ -1,45 +1,16 @@
|
|
|
1
1
|
**Troubleshooting Tips**
|
|
2
2
|
|
|
3
3
|
<!--ts-->
|
|
4
|
-
|
|
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>](#--bad-login-or-password-in-your-configjson-for-httpswwwhomebridgeca)
|
|
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 -> 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)
|
|
4
|
+
|
|
35
5
|
|
|
36
6
|
<!-- Created by https://github.com/ekalinin/github-markdown-toc -->
|
|
37
|
-
<!-- Added by: sgracey, at:
|
|
7
|
+
<!-- Added by: sgracey, at: Wed 27 Sep 2023 19:52:25 EDT -->
|
|
38
8
|
|
|
39
9
|
<!--te-->
|
|
40
10
|
|
|
41
11
|
# Initial Setup
|
|
42
12
|
|
|
13
|
+
|
|
43
14
|
## [Alexa] ERROR: ( homebridge-alexa) Login to homebridge.ca failed, please validate your credentials in config.json and restart homebridge.
|
|
44
15
|
|
|
45
16
|
### - Bad login or password in your config.json for https://www.homebridge.ca
|