Don't hardcode the device ids etc in arduino, instead have them coming from the UI.