code: function paginate (num, page) {
    num = num || 50;
    page = page - 1 || 0;
    const pageStart = num * page;
    const pageEnd = pageStart + num;
    return R.slice(pageStart, pageEnd);
  }
docs: TODO find out if there's a way to filter by device TODO refactor to allow memoization of the first request