hassio-addons icon indicating copy to clipboard operation
hassio-addons copied to clipboard

Failure to link with ip_address specified

Open ghost opened this issue 6 years ago • 2 comments

It's great the IP address config support was added so quickly, but I encountered issues trying to set it up:

Testing configuration at /config
Failed config
  media_player.xboxone: 
    - Invalid config for [media_player.xboxone]: required key not provided @ data['device']. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/media_player.xboxone/
    - platform: xboxone
      ip_address:  XXX
      name: Living Room Xbox On

Obviously /devices shows nothing as the device will not show up there if it belongs to a different subnet/VLAN.

I'll try to see if I can fix this on my end somehow, but it seems like a tracked issue is in order.

ghost avatar Oct 05 '18 19:10 ghost

One thing we could add to the docs:

/device?addr=XXX

Where XXX is the target address. Needs port 5050 and a few other things (mixed TCP/UDP) to work but after that, it enumerates properly!

ghost avatar Oct 05 '18 19:10 ghost

If you could open a PR with the steps you took under the heading “Connecting to an Xbox on a separate subnet”, that would be great.

hunterjm avatar Oct 05 '18 21:10 hunterjm