Meteor.publish("dailyMeasuresBySensor", (sensorId, dayStart, dayEnd) => {
    check(sensorId, String);
    check(dayStart, String);
    check(dayEnd, String);
    return ReadingsDailyAggregates.find({
        sensorId,
        day: {
            $gte: dayStart,
            $lte: dayEnd
        }
    })
});

Meteor.publish("dailyMeasuresBySensor", (sensorId, source, dayStart, dayEnd) => {
    check(sensorId, String);
    check(source, String);
    check(dayStart, String);
    check(dayEnd, String);
    return ReadingsDailyAggregates.find({
        sensorId,
        source,
        day: {
            $gte: dayStart,
            $lte: dayEnd
        }
    })
});

Change publication of sensor-daily-aggregates to include source.
Change publication of sensor-daily-aggregates to include source.
