Turn the Xbox One X ON/OFF with homebridge, and will update power status to homebridge as well.
Naturally...
npm install -g terrydemco/homebridge-xbox-one-on-off
Add this to your ~/.homebridge/config.json
as an accessory:
{
"accessory": "Xbox",
"name": "Xbox",
"ipAddress": "<Xbox IP address>",
"liveId": "<Xbox Live ID>"
}
On your Xbox, go to Settings > Network > Network Settings > Advanced Settings
On your Xbox, go to Settings > System > Console info & updates and look under "Xbox Live device ID"