JSPM

homebridge-xbox-one-lirc

0.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q46190F
  • License MIT

Homebridge plugin to manage the power state of an Xbox One using LiRC

Package Exports

  • homebridge-xbox-one-lirc

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (homebridge-xbox-one-lirc) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

homebridge-xbox-one

Homebridge plugin to manage the power state of an Xbox One using LiRC (IR).

Installation

You must have a working LiRC configuration. Please see LiRC documentation for information.

npm install -g homebridge-xbox-one-lirc

Configuration

Add this to your ~/.homebridge/config.json as an accessory:

{
  "accessory": "Xbox",
  "name": "Xbox",
  "ipAddress": "<Xbox IP address>"
}

Getting your Xbox One's IP address

This module does it's best to determine if your Xbox One is on or not using a ping request. Because of how the Xbox One is designed it's difficult to reliably determine if it is on or off. If you use standby mode (not power saving mode) your Xbox will wake and appear on the network quite often.

For it to work at all, I recommend you force your Xbox One to use a static IP (okay) or configure your router (better) to reserve and IP for your Xbox One based on it's MAC address. To get your MAC address or set the IP nn your Xbox, go to Settings > Network > Network Settings > Advanced Settings and configure appropriately. Use this IP in the config as discussed above.