Open MarkM500 opened 3 years ago
Hi, I run Homebridge on a synology. Have a problem Error: EACCESS, with permission denied to mkdir.
Here my log: [My Pioneer AVR] Initializing pioneerAvrAccessory accessory... [1/5/2021, 2:01:52 PM] [My Pioneer AVR] Discovering inputs (node:562) UnhandledPromiseRejectionWarning: Error: EACCES: permission denied, mkdir '/root/.pioneerAvr' at Function.module.exports.loopWhile (/homebridge/node_modules/homebridge-pioneer-avr/node_modules/deasync/index.js:71:23) at Function.sleep (/homebridge/node_modules/homebridge-pioneer-avr/node_modules/deasync/index.js:41:18) at Socket. (/homebridge/node_modules/homebridge-pioneer-avr/telnet-avr.js:25:25) at Object.onceWrapper (events.js:421:28) at Socket.emit (events.js:327:22) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1132:10) at Function.module.exports.loopWhile (/homebridge/node_modules/homebridge-pioneer-avr/node_modules/deasync/index.js:71:23) at Function.sleep (/homebridge/node_modules/homebridge-pioneer-avr/node_modules/deasync/index.js:41:18) at pioneerAvrAccessory.getServices (/homebridge/node_modules/homebridge-pioneer-avr/index.js:317:28) at Server.createHAPAccessory (/usr/local/lib/node_modules/homebridge/src/server.ts:448:41) (Use node --trace-warnings ... to show where the warning was created) (node:562) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:562) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. [1/5/2021, 2:01:53 PM] [My Pioneer AVR] Web Interface enabled [1/5/2021, 2:01:53 PM] [My Pioneer AVR] Add input n°0 - Name: MULTI CH IN Id: 12 Type: 0 [1/5/2021, 2:01:53 PM] [My Pioneer AVR] Add input n°1 - Name: USB-DAC Id: 13 Type: 0 [1/5/2021, 2:01:53 PM] [My Pioneer AVR] Add input n°2 - Name: DVR/BDR Id: 15 Type: 3 [1/5/2021, 2:01:54 PM] [My Pioneer AVR] Add input n°3 - Name: iPod/USB Id: 17 Type: 9 [1/5/2021, 2:01:54 PM] [My Pioneer AVR] Add input n°4 - Name: HDMI1 Id: 19 Type: 3 [1/5/2021, 2:01:54 PM] [My Pioneer AVR] Add input n°5 - Name: HDMI2 Id: 20 Type: 3 [1/5/2021, 2:01:54 PM] [My Pioneer AVR] Add input n°6 - Name: APPLE TV Id: 21 Type: 3 [1/5/2021, 2:01:55 PM] [My Pioneer AVR] Add input n°7 - Name: HDMI4 Id: 22 Type: 3 [1/5/2021, 2:01:55 PM] [My Pioneer AVR] Add input n°8 - Name: HDMI5 Id: 23 Type: 3 [1/5/2021, 2:01:55 PM] [My Pioneer AVR] Add input n°9 - Name: HDMI6 Id: 24 Type: 3 [1/5/2021, 2:01:55 PM] [My Pioneer AVR] Add input n°10 - Name: BD Id: 25 Type: 3 [1/5/2021, 2:01:56 PM] [My Pioneer AVR] Add input n°11 - Name: ADAPTER PORT Id: 33 Type: 0 [1/5/2021, 2:01:56 PM] [My Pioneer AVR] Add input n°12 - Name: HDMI 7 Id: 34 Type: 3 [1/5/2021, 2:01:57 PM] [My Pioneer AVR] Add input n°13 - Name: INTERNET RADIO Id: 38 Type: 2 [1/5/2021, 2:01:57 PM] [My Pioneer AVR] Add input n°14 - Name: PANDORA Id: 41 Type: 0 [1/5/2021, 2:01:57 PM] [My Pioneer AVR] Add input n°15 - Name: MEDIA SERVER Id: 44 Type: 0 [1/5/2021, 2:01:57 PM] [My Pioneer AVR] Add input n°16 - Name: FAVORITES Id: 45 Type: 0 [1/5/2021, 2:01:58 PM] [My Pioneer AVR] Add input n°17 - Name: Spotify Id: 57 Type: 0 [1/5/2021, 2:01:58 PM] [My Pioneer AVR] Add input n°18 - Name: PHONO Id: 00 Type: 0 [1/5/2021, 2:01:58 PM] [My Pioneer AVR] Add input n°19 - Name: CD Id: 01 Type: 0 [1/5/2021, 2:01:59 PM] [My Pioneer AVR] Add input n°20 - Name: TUNER Id: 02 Type: 2 [1/5/2021, 2:03:12 PM] [My Pioneer AVR] Add input n°21 - Name: DVD Id: 04 Type: 0 [1/5/2021, 2:03:13 PM] [My Pioneer AVR] Add input n°22 - Name: TV Id: 05 Type: 3 [1/5/2021, 2:03:13 PM] [My Pioneer AVR] Add input n°23 - Name: SAT/CBL Id: 06 Type: 3
node --trace-warnings ...
--unhandled-rejections=strict
the config: { "accessory": "pioneerAvrAccessory", "model": "VSX-924", "name": "My Pioneer AVR", "description": "VSX-924", "host": "192.168.178.43", "port": 23 },
is that a problem with homebridge and the permission to the directories or do I have a problem with the plugin?
Hope you can help me.
It would be a very nice plugin to control the VSX.
Thanks in advance. Mark
Hi, I run Homebridge on a synology. Have a problem Error: EACCESS, with permission denied to mkdir.
Here my log: [My Pioneer AVR] Initializing pioneerAvrAccessory accessory... [1/5/2021, 2:01:52 PM] [My Pioneer AVR] Discovering inputs (node:562) UnhandledPromiseRejectionWarning: Error: EACCES: permission denied, mkdir '/root/.pioneerAvr' at Function.module.exports.loopWhile (/homebridge/node_modules/homebridge-pioneer-avr/node_modules/deasync/index.js:71:23) at Function.sleep (/homebridge/node_modules/homebridge-pioneer-avr/node_modules/deasync/index.js:41:18) at Socket. (/homebridge/node_modules/homebridge-pioneer-avr/telnet-avr.js:25:25)
at Object.onceWrapper (events.js:421:28)
at Socket.emit (events.js:327:22)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1132:10)
at Function.module.exports.loopWhile (/homebridge/node_modules/homebridge-pioneer-avr/node_modules/deasync/index.js:71:23)
at Function.sleep (/homebridge/node_modules/homebridge-pioneer-avr/node_modules/deasync/index.js:41:18)
at pioneerAvrAccessory.getServices (/homebridge/node_modules/homebridge-pioneer-avr/index.js:317:28)
at Server.createHAPAccessory (/usr/local/lib/node_modules/homebridge/src/server.ts:448:41)
(Use
node --trace-warnings ...
to show where the warning was created) (node:562) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:562) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. [1/5/2021, 2:01:53 PM] [My Pioneer AVR] Web Interface enabled [1/5/2021, 2:01:53 PM] [My Pioneer AVR] Add input n°0 - Name: MULTI CH IN Id: 12 Type: 0 [1/5/2021, 2:01:53 PM] [My Pioneer AVR] Add input n°1 - Name: USB-DAC Id: 13 Type: 0 [1/5/2021, 2:01:53 PM] [My Pioneer AVR] Add input n°2 - Name: DVR/BDR Id: 15 Type: 3 [1/5/2021, 2:01:54 PM] [My Pioneer AVR] Add input n°3 - Name: iPod/USB Id: 17 Type: 9 [1/5/2021, 2:01:54 PM] [My Pioneer AVR] Add input n°4 - Name: HDMI1 Id: 19 Type: 3 [1/5/2021, 2:01:54 PM] [My Pioneer AVR] Add input n°5 - Name: HDMI2 Id: 20 Type: 3 [1/5/2021, 2:01:54 PM] [My Pioneer AVR] Add input n°6 - Name: APPLE TV Id: 21 Type: 3 [1/5/2021, 2:01:55 PM] [My Pioneer AVR] Add input n°7 - Name: HDMI4 Id: 22 Type: 3 [1/5/2021, 2:01:55 PM] [My Pioneer AVR] Add input n°8 - Name: HDMI5 Id: 23 Type: 3 [1/5/2021, 2:01:55 PM] [My Pioneer AVR] Add input n°9 - Name: HDMI6 Id: 24 Type: 3 [1/5/2021, 2:01:55 PM] [My Pioneer AVR] Add input n°10 - Name: BD Id: 25 Type: 3 [1/5/2021, 2:01:56 PM] [My Pioneer AVR] Add input n°11 - Name: ADAPTER PORT Id: 33 Type: 0 [1/5/2021, 2:01:56 PM] [My Pioneer AVR] Add input n°12 - Name: HDMI 7 Id: 34 Type: 3 [1/5/2021, 2:01:57 PM] [My Pioneer AVR] Add input n°13 - Name: INTERNET RADIO Id: 38 Type: 2 [1/5/2021, 2:01:57 PM] [My Pioneer AVR] Add input n°14 - Name: PANDORA Id: 41 Type: 0 [1/5/2021, 2:01:57 PM] [My Pioneer AVR] Add input n°15 - Name: MEDIA SERVER Id: 44 Type: 0 [1/5/2021, 2:01:57 PM] [My Pioneer AVR] Add input n°16 - Name: FAVORITES Id: 45 Type: 0 [1/5/2021, 2:01:58 PM] [My Pioneer AVR] Add input n°17 - Name: Spotify Id: 57 Type: 0 [1/5/2021, 2:01:58 PM] [My Pioneer AVR] Add input n°18 - Name: PHONO Id: 00 Type: 0 [1/5/2021, 2:01:58 PM] [My Pioneer AVR] Add input n°19 - Name: CD Id: 01 Type: 0 [1/5/2021, 2:01:59 PM] [My Pioneer AVR] Add input n°20 - Name: TUNER Id: 02 Type: 2 [1/5/2021, 2:03:12 PM] [My Pioneer AVR] Add input n°21 - Name: DVD Id: 04 Type: 0 [1/5/2021, 2:03:13 PM] [My Pioneer AVR] Add input n°22 - Name: TV Id: 05 Type: 3 [1/5/2021, 2:03:13 PM] [My Pioneer AVR] Add input n°23 - Name: SAT/CBL Id: 06 Type: 3the config: { "accessory": "pioneerAvrAccessory", "model": "VSX-924", "name": "My Pioneer AVR", "description": "VSX-924", "host": "192.168.178.43", "port": 23 },
is that a problem with homebridge and the permission to the directories or do I have a problem with the plugin?
Hope you can help me.
It would be a very nice plugin to control the VSX.
Thanks in advance. Mark