re #4 playing around with xively and switched to retrofit for rest calls