Skip to content

Commit

Permalink
Merge pull request #77 from homebridge/custom-characteristics
Browse files Browse the repository at this point in the history
Added Custom Characteristics to the example
  • Loading branch information
NorthernMan54 authored Dec 7, 2024
2 parents 9827e8a + 0920a76 commit 83660e0
Show file tree
Hide file tree
Showing 12 changed files with 158 additions and 65 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,5 @@ dist

# Webstorm
.idea

/test/hbConfig
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,5 @@ web_modules/
.yarn/unplugged
.yarn/build-state.yml
.pnp.*

test/
8 changes: 5 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"files.eol": "\n",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"editor.rulers": [140],
"editor.rulers": [
140
],
"eslint.enable": true
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ homebridge -D

### Watch For Changes and Build Automatically

If you want to have your code compile automatically as you make changes, and restart Homebridge automatically between changes, you first need to add your plugin as a platform in `~/.homebridge/config.json`:
If you want to have your code compile automatically as you make changes, and restart Homebridge automatically between changes, you first need to add your plugin as a platform in `./test/hbConfig/config.json`:
```
{
...
Expand Down
4 changes: 2 additions & 2 deletions nodemon.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
],
"ext": "ts",
"ignore": [],
"exec": "tsc && homebridge -I -D",
"exec": "tsc && homebridge -U ./test/hbConfig -D",
"signal": "SIGTERM",
"env": {
"NODE_OPTIONS": "--trace-warnings"
}
}
}
Loading

0 comments on commit 83660e0

Please sign in to comment.