Skip to content

Commit

Permalink
Fix photos
Browse files Browse the repository at this point in the history
  • Loading branch information
NorthernMan54 committed Jul 8, 2024
1 parent 0361119 commit 6d69efd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "src/HAP-NodeRed.js",
"scripts": {
"api": "documentation build HAP-NodeRed.js -f md --config docs/documentation.yml > docs/API.md",
"document": "./gh-md-toc --insert README.md; rm README.md.orig.* README.md.toc.*",
"document": "./gh-md-toc --insert --no-backup --hide-footer README.md; rm README.md.orig.* README.md.toc.*",
"watch": "nodemon",
"coverage": "nyc npm t",
"format": "prettier --write {.,test}/*.js *.html *.md",
Expand Down Expand Up @@ -61,7 +61,7 @@
],
"ext": "js,html",
"ignore": [],
"exec": "DEBUG=hapNodeRed ~/npm/bin/node-red",
"exec": "DEBUG=hapNodeRed,hapNodeJSClient ~/npm/bin/node-red",
"signal": "SIGTERM",
"env": {
"NODE_OPTIONS": "--trace-warnings"
Expand Down
3 changes: 2 additions & 1 deletion src/HAP-NodeRed.js
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,8 @@ module.exports = function (RED) {
message = {
"resource-type": "image",
"image-width": 1920,
"image-height": 1080
"image-height": 1080,
"aid": node.hbDevice.aid
};
debug("Control %s ->", device.id, node.fullName, JSON.stringify(message));
homebridge.HAPresourceByDeviceID(device.id, JSON.stringify(message), function (err, status) {
Expand Down

0 comments on commit 6d69efd

Please sign in to comment.