Years, and comparing with last year

Was this winter's boiler colder than the last ones? Did the freezer always run like this in July? Ten years of a tag only help if you can see them at once. Years puts every day of a tag's history on one screen, and Compare with in Trends lays an older window under the one you are looking at.

Both are on every plan.

Last updated

Years: every day on one screen

Open Years in the Explorer's menu, from a tag's sheet under Tags, or from the line on the Overview that says how far back your history goes. It shows one tag at a time - choose another at the top - with a row for each year and a mark for each day, from the first day the tag holds (at most 10 years back) to yesterday. On a narrow screen each mark is a week.

  • A level - a temperature, a pressure - shows each day's average, a meter what it added that day, and an on/off tag how long it was on: each day says its hours on and the share of the day that is, and Month by month adds them up to the hours on in each month.
  • Tap or click a day to read its value, open that day in Trends, or add a note at it. Your notes are marked on the days they are about.
  • Under the calendar: the stretches of days that lie furthest from the tag's range, each a link to Trends; Month by month, each month above the same month a year earlier; and Year over year, each year as a line from January to December, this year in cyan and the years before in grey.

What the colours mean

Once a tag has a range that knows the seasons - learned from a year or more of its own history, the same one the normal range draws in Trends - each day is judged against what is normal for that time of year (an on/off tag is always shaded by its share of the day on):

  • Grey: within the range, or less than half its width past it.
  • Red: well above it.
  • Blue: well below it.
  • The further past, the stronger the colour. A day the range has no value for is left unjudged.

A range holds eight days in ten, so colouring every day outside it would paint a healthy tag a fifth red and blue; the half width keeps colour for days worth a look. Until the tag has such a range, each day is shaded by its value instead, fainter for a lower one, and nothing is called in or out of range. On a narrow screen a week takes the colour of its day furthest from the range.

What an energy meter cost

For a stored energy meter in Wh, kWh or MWh (not a computed meter), Years also says what its energy cost: each year's total and each month in a table like Month by month, worked out hour by hour at the account's electricity price - your own price tag, the Swedish spot price of your area plus your surcharge, or a fixed price, chosen in Settings. A month with hours that had no price says how much of its energy the figure covers. Without a price it says where to set one (Electricity cost).

Compare with last year in Trends

With the time range in Trends, Compare with offers Last year, Two years ago and Previous period. The older window is drawn as a dashed line beside each tag's own, for up to three level tags at a time. The choice is kept in the address, so a link you share opens the same comparison.

A meter and an on/off tag are compared as bars instead, in a card each under the chart: a running total or a state drawn dashed a year back would say little. A meter is compared by what it added - per hour over a range of up to three days, per day up to 93 days, per month beyond that - and an on/off tag by its hours on, per day or per month. Each bar has the older window's bar beside it, paler and dashed, and the card gives both totals: 161 kWh against 91 kWh last year. Up to three such cards are drawn at a time, and any tag that is not compared is named beside Compare with, with the reason. With Show as set to an increase, the meters' older bars are drawn in the chart itself.

  • A window shorter than a month moves back 364 days (728 for two years), so a Monday lies over a Monday: a home or a plant runs by the week, and the same date a year back is another weekday. A longer window moves by the calendar, so January lies over January.
  • Both keep the clock: 08:00 stays over 08:00 across a change to or from summer time. Previous period moves back by the window's own length.
  • The dashed line is read from the hourly averages every plan keeps, and the note under the chart says what it was drawn from. Where the older window lies before the tag's history, or nothing is stored there, the chart says so rather than drawing a line of nothing.
  • An on/off tag does not have to be a machine to be compared: it counts as on while it is above 0. One that is marked as a machine is counted as it is marked, so Trends and Machines show the same hours. A tag that reports only when it changes has hours with no reading of its own: those count as what it last said for as long as its source kept sending other readings, as a machine's held state does, and the card says how many such hours it counted. An hour of which nothing is known, neither a reading nor a held state, counts as neither on nor off, and the card says when a day has such hours.
  • Bars are compared over whole days or months, as many on each side. A day or month that is not over yet is drawn, but left out of both totals, and the card says so.

For heating, Fair winter goes further: it compares January with January with the weather taken out.

Common questions

Which plans have Years and Compare?
All of them, Free included. Both read the hourly and daily history every plan keeps for 10 years, so they cost nothing extra.
Why are most of my days grey?
Because they were ordinary. A tag’s range holds eight days in ten, and a day is coloured only when it lies more than half the range’s width past it, so colour marks the days worth a look, not every wobble.
Why does a new tag show nothing?
Under three weeks of history there is too little to lay out, so Years says when it will have something to show. A tag whose history you brought in from Home Assistant has its years from the start.
Is a coloured day an alert?
No. Years only shows the past. Alerts, including the Unusual one that watches a tag’s normal range, are set up under Alarms.

Try it on the free plan

5 tags, 50,000 readings a day, 14 days at full resolution and ten years of hourly summaries. €0, no card.