Don't see any other way to do it. If you plan on doing it regularly it would be worth routing some wires outside the carpet... :)