device number and actions from app