Using Xbees to control relays