I had to design a replacement plug for the sensor bar, as the original had broken off and gone missing. While I initially considered powering it with an external 7–9V power supply, I decided that drawing power directly from the device itself was the best approach. The job was completed using just the plug, two staples, and some hot glue. I've printed it by using 0.4mm nozzel but I highly recommend 0.2mm one.