Best Nintendo Switch/Xbox One sensor

The easiest way is probably to plug them both into a smart power plug that tells you power usage (I use TP-110’s for this). I’m using an XBox One add-on, but it (or maybe more accurately the REST server it uses) doesn’t seem that reliable, and if I use it to turn the XBox on/off I have to restart the add-on to get it to continue working.