Monitoring

The Monitoring tab with the notices and an open notice card

The Monitoring tab collects what the node wants you to look at. It shows notices about the energy balance, the measurement chains, the learning functions and the results of adopted suggestions. It also shows the forecast the node uses for the surplus, the comparison with the previous year, and the values the system has learned. The tab sits before Diagnostics. It needs the permission view_monitoring, see Rights. While a notice is new, the tab shows a dot.

Diagnostics stays a separate tab. It covers devices, services and the broker. Monitoring covers the energy side and what the system has learned.

The learning itself, the suggestions and the effects of adopted suggestions are described on one page, Automations: Suggestions.

Notices

The top left of the tab switches between Notices, Learned values and Forecast. The filter on the right limits the notices to All, Energy, Learning, Suggestions or Results check.

The list has two groups, New and Acknowledged. Select a notice to see its card. The card has the text, the facts of the notice, the evidence if there is one, the recommended steps and the footer with the acknowledgement. On a narrow screen the card opens below the notice, and a second tap closes it again.

Notices come from five sources:

Source Notices
Energy balance The house load is set to measured, but no meter has the role house meter. A battery level exists without a capacity in kWh. Power values have no role. Values were left without a role by a measurement chain.
Measurement chains A finding of a measurement chain, such as a unit error, a frozen value, a contradiction or a sign error. The card shows the time since the finding started.
Learning A finding that belongs to no rule and to no suggestion, for example a fixed shade that reduces the PV power, a battery that is full early or empty before morning, or a rising base load without a switchable device. For a plant with a PV role, a missing location is reported here too while Learn patterns is on. The card shows the direction and height of the shade, the calendar weeks, the loss per year and a daily curve.
Suggestions Every suggestion of the suggestion band. Open suggestion opens it on the Automations page. The chip Suggestions lists only these, All includes them.
Results check The measured result of an adopted suggestion, with the value before and since and its confidence, for eight weeks after the change. Open the rule shows the rule or scenario on the Automations page.

Findings that belong to a rule stay on the rule card in Automations. Findings with a suggestion to apply stay in the suggestion band of Automations.

Acknowledging

Acknowledge moves a notice to the group Acknowledged. Its dot goes away, and the tab only counts the new notices. The notice stays visible while its condition lasts. The footer then shows when and by whom it was acknowledged. When the condition ends, the notice disappears. If it comes back later, it is new again.

The acknowledgement belongs to the node, not to a user. Mark as new again takes the acknowledgement back.

Each notice lists its steps. A step explains what to do and, where it makes sense, a button leads to the place for it:

  • Energy opens the Energy tab, with the rows of the role table marked where that helps.
  • Measurement chain opens the dialog of the chain on the Energy tab.
  • Efficiency and Device map open their tabs.
  • Learned values switches the tab to the learned values.
  • Enter location opens the settings of the Automations page.
  • Open the rule shows the checked rule or scenario on the Automations page.

A step that leads to a place you may not see is hidden, and its text stays. A shade notice names the direction and the height. It also says that nothing needs to be done when the shade cannot be removed, because the remaining surplus and the surplus window already leave it out.

Energy line

The Energy tab no longer shows the notices itself. Instead, the top of the tab has a summary line with a bell. It says how many notices about energy are open, how many of them are new, and it offers Open in monitoring, which opens the tab with the filter Energy. Without open notices the line says that there are no open notices about energy. The line is hidden without the permission view_monitoring.

Forecast

The Forecast view with the status card, the last 14 days and the year comparison

The Forecast view shows how well the node estimates the surplus. At 10:00 each day the node estimates the remaining surplus of the day, the value site/surplus_left_wh. The status card names the rules that use this value. If no rule uses it yet, the card says so.

The status card tells which estimate the node currently follows. It shows one of three states:

  • The node follows its forecast
  • The node currently follows the season median
  • The node is still checking its forecast

Below the title, the card shows the mean deviation of the forecast and of the season median from the measured rest of the day as two bars. It also says on how many of the last 14 days the forecast was closer.

Below the status card, the last 14 days appear as pairs. The forecast is drawn hollow, the measured value filled, and the season median as a dashed mark. A dot marks each day on which the forecast was closer. Arrow keys choose a day.

After 14 finished days the node compares the forecast with the season median, until then the forecast applies. If the median has been at least as accurate as the forecast over the last 14 days, the median is published instead, marked as an estimate.

Year comparison

The Year comparison sits under the Forecast view. It shows weekly values from the season memory: PV, consumption, feed-in, base load and outdoor temperature. Choose the value with the selector Figure.

The current year is drawn as an area, the previous year dashed, and a third year dotted. Weeks taken from the energy statistics are hatched. A gap appears as a band, marked as no data.

The headline figure compares the weeks up to now with the same weeks of the previous year. Only weeks that are present in both years count. If weeks are missing in one of the years, the headline says how many were left out. Moving the pointer or finger over the chart shows one week with all years. Arrow keys choose the week as well.

The view needs the permission view_monitoring. A young node shows a note until a previous year exists, because the season memory fills up week by week.

Learned values

A usual day, one run and the system values in the Learned values view

The Learned values view shows what the system has learned. It opens with A usual day, a picture of one day on a 24 hour axis. A label at the top says whether the house is usually active or quiet.

  • The house row shows the night rest as a band.
  • Each device with a usual on and off time shows a bar from on to off. A bar with fewer than 10 learned days is hatched and marked as still learning.
  • A device that only has a run length shows a dashed row, for example “40 min at a time, no fixed time”.
  • A dashed line marks the current time.
  • Moving the pointer or finger over the axis shows which devices are usually on at that time. The arrow keys move the time by 15 minutes.
  • Tapping a row opens the course over the year, the band between on and off per week. It also shows the origin: learned from N days or runs, the certainty, when the value last changed and the value before.

Two more cards follow the picture:

  • One run shows the energy per run on one scale. Detected programs appear as marks, and the power and the run time are shown below.
  • System shows the PV reserve and the remaining surplus of today, each once it is learned. A link leads to the Forecast view.

The PV reserve is marked as an estimate until it comes from the minute values. The table lists all learned values. The keys are the names under which the values are published on MQTT, see Learned values in conditions.

Key Meaning Unit
site/day_start Start of the day, per day type Clock time
site/night_rest Night rest, per day type Clock time
site/house_state House state, for example quiet State
site/pv_reserve_w PV reserve W
site/surplus_left_wh Remaining surplus today Wh
site/base_w Base load of the house at night W
site/battery_full_at Time the battery is usually full Clock time
site/night_wh Energy the house takes from the battery at night Wh
device/<id>/usual_on Usual switch-on time Clock time
device/<id>/usual_off Usual switch-off time Clock time
device/<id>/usual_runtime_s Usual runtime of one run s
device/<id>/op_power_w Typical operating power W
device/<id>/cycle_wh Typical energy of one cycle Wh

<id> is the ID of the device. The five device values appear once per device that has enough data.

If pattern learning is off, the view only shows a note with the button Open learning features, which opens Settings, Learning.

Rights

Right What it allows
view_monitoring Shows the Monitoring tab, its notices, the learned values, the forecast, the year comparison and the energy line
edit_setup Acknowledges a notice and takes the acknowledgement back. Also needed for Delete learned data in the learning settings. Without it the card says that only users with the setup right can acknowledge

A step that leads to a place you may not see is hidden, see Recommended steps. The permissions are set on the users page, see Settings, Users.

Written for Energy Node v0.12.0.

Edit on GitHub