-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error on aeSX RangeError [ERR_OUT_OF_RANGE] #43
Comments
I changed the config features from both true to both false: [2018-5-12 18:05:07] [DACP] Initializing DACP platform... /root/.nvm/versions/node/v10.1.0/lib/node_modules/homebridge-dacp/src/DacpAccessory.js:61 |
Same issue here:
Config:
|
Just got this error also, HomeKit shows Not Supported as a status |
Yep, +1 on this, haven't figured out a way around it as of yet. |
Same here, with Home showing Not Supported. [7/7/2018, 6:22:35 AM] [DACP] It's an AppleTV6,2 named Great Room Established connection to 192.168.1.84:3689 with session ID 3 Config: |
same here |
Same here |
hello, I have that issue me too. |
Hello, me too. |
Seeing this error in the log files as well. However, I do _not_have an AppleTV. The Homebridge system is on an old netbook I have and is connecting to my desktop computer's iTunes installation (Windows 7). Ubuntu 18.04 LTS
Upon startup I see this in the /var/log/homebridge.log file:
|
same here, controlling iTunes on mac from homebridge on RPi ZeroW |
found out about this plugin recently and tried to set it up and ran into this issue. Is there a way to get the plugin working? Sounds like there's a bunch of new properties in the DACP protocol that isn't supported... Are other people still able to control itunes with these errors? |
after finding the PR with the changes that fix the bytelength error, I implemented the changes (with an additional change to line 929). I can now control itunes play/pause using the alternate-playpause-switch. Not sure if there's a way to control skipping in itunes. oh well, better than nothing =) |
[2018-5-12 17:59:07] [DACP] The accessory AppleTV is announced as 10.0.1.84:3689.
[2018-5-12 17:59:07] [DACP] It's an AppleTV6,2 named Apple TV
[2018-5-12 17:59:07] [DACP] Attempting to reconnect to AppleTV in 0.1 seconds.
[2018-5-12 17:59:07] [DACP] Connecting to AppleTV (10.0.1.84:3689)
[2018-5-12 17:59:07] [DACP] Creating status connection to 10.0.1.84:3689
Established connection to 10.0.1.84:3689 with session ID 2
error on aeSX
RangeError [ERR_OUT_OF_RANGE]: The value of "byteLength" is out of range. It must be >= 1 and <= 6. Received 8
at boundsError (internal/buffer.js:55:9)
at Buffer.readIntBE (internal/buffer.js:330:3)
at _decode (/root/.nvm/versions/node/v10.1.0/lib/node_modules/homebridge-dacp/src/daap/Decoder.js:927:26)
at _decode (/root/.nvm/versions/node/v10.1.0/lib/node_modules/homebridge-dacp/src/daap/Decoder.js:933:19)
at Object.decode (/root/.nvm/versions/node/v10.1.0/lib/node_modules/homebridge-dacp/src/daap/Decoder.js:963:10)
at Request.request [as _callback] (/root/.nvm/versions/node/v10.1.0/lib/node_modules/homebridge-dacp/src/dacp/DacpConnection.js:145:29)
at Request.self.callback (/root/.nvm/versions/node/v10.1.0/lib/node_modules/homebridge-dacp/node_modules/request/request.js:186:22)
at Request.emit (events.js:182:13)
at Request. (/root/.nvm/versions/node/v10.1.0/lib/node_modules/homebridge-dacp/node_modules/request/request.js:1163:10)
at Request.emit (events.js:182:13)
at IncomingMessage. (/root/.nvm/versions/node/v10.1.0/lib/node_modules/homebridge-dacp/node_modules/request/request.js:1085:12)
at Object.onceWrapper (events.js:273:13)
at IncomingMessage.emit (events.js:187:15)
at endReadableNT (_stream_readable.js:1086:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
[2018-5-12 17:59:08] [DACP] Connected to Apple TV
After that the Apple TV does not appear in HomeKit. Please help. Thank you!
The text was updated successfully, but these errors were encountered: