Skip to content

Commit

Permalink
v2.6.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjdhjd committed Dec 7, 2024
1 parent 66bb3aa commit e50c568
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 78 deletions.
4 changes: 4 additions & 0 deletions docs/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file. This project uses [semantic versioning](https://semver.org/).

## 2.6.2 (2024-12-07)
* Fix: address a regression in device discovery on startup.
* Housekeeping.

## 2.6.1 (2024-12-06)
* Fix: address a regression in device discovery on startup.
* Housekeeping.
Expand Down
142 changes: 71 additions & 71 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "homebridge-ratgdo",
"displayName": "Homebridge Ratgdo",
"version": "2.6.1",
"version": "2.6.2",
"description": "HomeKit integration using Ratgdo and Konnected devices for LiftMaster and Chamberlain garage door openers, without requiring myQ.",
"license": "ISC",
"repository": {
Expand Down Expand Up @@ -43,15 +43,15 @@
"devDependencies": {
"@stylistic/eslint-plugin": "^2.11.0",
"@types/eventsource": "^1.1.15",
"@types/node": "^22.9.3",
"eslint": "9.15.0",
"@types/node": "^22.10.1",
"eslint": "9.16.0",
"homebridge": "^1.8.4",
"shx": "^0.3.4",
"typescript": "^5.7.2",
"typescript-eslint": "^8.15.0"
"typescript-eslint": "^8.17.0"
},
"dependencies": {
"@adobe/fetch": "^4.1.9",
"@adobe/fetch": "^4.1.10",
"@homebridge/plugin-ui-utils": "^2.0.0",
"bonjour-service": "^1.3.0",
"eventsource": "^2.0.2",
Expand Down
5 changes: 3 additions & 2 deletions src/ratgdo-platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,9 @@ export class RatgdoPlatform implements DynamicPlatformPlugin {
type: string
}

// We're only interested in Ratgdo devices with valid IP addresses. Otherwise, we're done.
if(!RATGDO_AUTODISCOVERY_PROJECT_NAMES.map(project => (service.txt as Record<string, string>).project_name?.match(project)) || !service.addresses) {
// We're only interested in Ratgdo devices with valid MAC and IP addresses. Otherwise, we're done.
if(!service.txt?.mac || !service.addresses ||
!RATGDO_AUTODISCOVERY_PROJECT_NAMES.map(project => (service.txt as Record<string, string>)?.project_name?.match(project))) {

return;
}
Expand Down

0 comments on commit e50c568

Please sign in to comment.