We just needed to position them within a couple cm of each other - there are internal antennas but they are relatively weak.
We were able to wire in a pressure mat, but the code is setup for a latching switch as opposed to a pressure switch (like a pushbutton). So, as of now, if the dog steps on the mat, he will need to step off, then back on again in order to turn the light bulb off. How can we resolve this so that it's on when he's on the mat and off when he's not on it (as a pressure switch is supposed to function)?