cosm to xively