[APP][Pro] Energy Dashboard – a live energy display for any screen in your home

Hi all,

I really wanted the energy view of Home Assistant on my Homey, in the style of Homey. So I made an app that turns any screen in the house into a live energy dashboard.

Homey Pro serves the dashboard as a web page on your own network, so a tablet on the wall, a laptop or your phone only needs a browser. No extra computer, cloud account or API key needed. There are also three widgets for Homey’s own Dashboards.

The app is on the test channel and testers are welcome. Install it here:

New in the latest versions (now: 0.2.33)

A lot has been added since the first version of this post, mostly thanks to your questions and diagnoses. What changed per version is further down in this topic. The Yearly bill, Use per hour, the tags for Flows and holidays as off-peak were inspired by the dashboard rikadoo showed on Tweakers, thanks for that!

  • Yearly bill: whether you will pay extra or get money back at your yearly bill. Enter your monthly advance payment and the start of your billing year in the settings. Months that have passed count as measured, the rest of the year is estimated from the same months last year, with your own contract. If the dashboard has not measured a year yet, also enter the use and the final readings on your last yearly bill: everything since the start of your billing year then counts as measured, and the missing months are estimated from your last year, gas spread by degree days. The block also shows a fitting advance payment and, if you enter the end date, how many days your contract still runs.

  • Use per hour: a heat map of your use, solar or the grid per hour over the last 4 weeks, from Homey Energy’s day reports. You see at a glance at which hours your house uses the most. You switch this block and Yearly bill on yourself in edit mode.

  • Tags for Flows: surplus to the grid, solar surplus, home battery (%), off-peak rate now, costs today and tomorrow’s expected solar. For example to switch on the water heater as soon as there is solar surplus.

  • Dutch public holidays count as off-peak, as with most Dutch suppliers (can be turned off in the settings). A single-phase connection is recognised when impossible readings are filtered out.

  • Look back: choose Today or Yesterday and slide the bar at the top to an earlier moment, or click in the Power today chart. The whole dashboard then shows that moment, so you can see for example which device caused a peak.

  • Circuits: the load of each circuit in your fuse box against its fuse, per phase, with the devices that use the most. What the circuits don’t explain is shown per phase as Other. A device on two circuits (such as a two-phase induction hob) counts on both, and devices that are not in Homey can be added with a name and their use. Each circuit has a tag for your Flows, and there is a widget for Homey Dashboards too.

  • Choosing a battery: what your house uses in the evening and at night (while the sun gives less than 200 W) over the past year, and how much of that a home battery of each size and power would cover with your own solar surplus. It reads Homey Energy’s day reports, can import a year of HomeWizard P1 data and fills missing months with a model from the month totals. You switch this block on yourself in edit mode.

  • Meter readings: the readings of your smart meter (import and export per tariff), gas, water and the kWh counter of your solar panels, handy to pass on to your energy supplier.

  • A small (i) on every block: what it shows, where the numbers come from and how they are calculated.

  • The settings are on the dashboard’s web page too (the gear), behind your PIN.

  • Consumers in the settings: choose which devices count, without excluding them in Homey.

  • Prices from Power by the Hour, the battery of every car on the EV charger block, and in the screen menu how fast the flows move.

  • Works on older iPads with iOS 12 as well.

  • Many devices are recognised better, such as HomeWizard Energy Sockets and kWh meters, Shelly meters, Huawei FusionSolar, Zevercloud, Enphase IQ Battery and the Weheat heat pump. Devices you exclude from Energy in Homey, and the summary devices of Power by the Hour, don’t count twice.

Highlight: see where every kWh goes

The block I’m most happy with is Energy flows, a Sankey chart. In one picture it shows where your energy comes from, where it goes and which devices use it. The thickness of each band is the amount of energy, so the big users stand out at once.

  • Left: the sources: solar, grid and home battery.

  • Middle: your home, plus what went out again: exported to the grid and charged into the battery. Here you see at a glance how much of your solar you used yourself.

  • Right: every device with an energy meter in Homey, from the EV charger and heat pump to the fridge and the network cabinet. What the devices don’t account for is shown as Not measured, so the numbers always add up and you see how much is still unknown.

It has two modes. Live shows the power right now in watts, with particles flowing along the bands. Period shows the energy in kWh for today, yesterday, the week, the month or the year. Point at a band to see its exact value.

After a month this is where you find the surprises: the fridge that uses as much as the washing machine, or how much of your solar ends up in the car.

What else it shows

The dashboard is made of blocks that you arrange yourself: drag them, change their width and height, or hide them. Blocks for a home battery, EV charger or heat pump appear by themselves as soon as Homey has a matching device.

Energy now: the live flow between solar, grid, home and home battery. Moving particles show where the power goes; with more power they move faster.

Power today: the power through the day, in the style of the HomeWizard app. Solar you used yourself is at the bottom. Import from the grid is stacked on top, so the top edge is your consumption. Export is stacked on top in the same way, so that top edge is everything your panels produced. Point at the chart for the values at that moment. With the solar forecast on, a dashed line shows the expected solar power. This also works for meters that log no power in Insights: the app then calculates it from the meter readings.

Costs, with your own contract: a fixed contract (normal and off-peak tariff) or a dynamic contract. With a dynamic contract the price per quarter hour is the market price plus energy tax plus your supplier’s markup. You can pick one of nineteen Dutch suppliers to fill in the usual markup, but do check the amounts against your own contract. Prices can also come from Homey Energy (any country, with your own cost formula) or from Power by the Hour. Costs are calculated with the price of each quarter hour, so they match a dynamic contract. The block shows import, export, gas, water and fixed costs, compared with the previous period.

Import and export each have their own price. Homey’s Energy tab uses one price formula for both, but in the Netherlands they differ from 2027: you pay energy tax on import, not on export. The dashboard calculates import with the market price plus energy tax and markup, and export after net metering with only your feed-in compensation (or the market price), minus any feed-in costs. That way the amounts stay right after 2027.

End of net metering: net metering (salderen) ends in the Netherlands on 1 January 2027. Based on your own data of the past year, this block shows roughly what that will cost you per year, and what each kWh is worth that you use yourself instead of exporting.

Home battery: charge level, energy charged and discharged, how much came from solar, and what the battery earns you, with and without net metering. Battery use shows per hour, day or month what it stored and delivered, with every session and its price per day.

Solar energy: the yield per day, week, month or year against the Forecast.Solar forecast (up to ten roof planes), with the performance, yield per kWp, the best day and a line per inverter.

Warnings: devices that stay on longer than you’d expect, standby use that is higher than usual, a meter that stops responding, a negative price while you export, and a quarter hour above your monthly peak. Optionally also in the Homey timeline, at most once a day per warning.

And more:

  • Totals per day, week, month or year: consumption, import, solar, export, gas, water, self-sufficiency and costs, compared with the previous period

  • Charts for electricity, gas and water; gas also per degree day, so a cold month doesn’t look like a bad month

  • Hot water: temperature and estimated shower minutes of your water heater (made with the Atag Lydos Hybrid in mind)

  • Heating and EV charger

  • Use per device, standby use and phase load through the day

  • Monthly peak for the Belgian capacity tariff, and battery use over time

  • Export the chosen period as CSV

It works in light and dark mode, on any screen size, in ten languages (choose at the top right).

Widgets for Homey Dashboards

Energy flows shows live where your power comes from, which rooms use it, and the devices using the most per room. Energy now is a compact version of the live flow between solar, grid, home and battery, with the power now, today’s kWh, or both. Circuits shows the load of the circuits in your fuse box. All three are kept light: Homey only sends a small list of values and the widget draws them itself.

For a tablet on the wall

  • Each screen can have its own layout: save a layout under a name and open the dashboard with ?layout=<name> behind the address.

  • Add the dashboard to the home screen of a tablet or phone to open it like an app, without the browser bar.

  • With the screen icon at the top right: full screen, keep the screen on, how fast the flows move, and night mode (dim the screen or turn it black between two times; a tap wakes it for a minute).

The page moves a few pixels now and then against burn-in, and reloads itself after an app update.

How it works

  • Devices are found automatically through Homey Energy: a P1 meter, solar panels, a home battery, a water heater, heating, an EV charger and a water meter. You can also pick them yourself in the app settings, and choose under Consumers which devices count.

  • History comes from Homey Insights. Prices come from Homey Energy, Power by the Hour or EnergyZero (the Netherlands); the solar forecast from Forecast.Solar and the outside temperature for degree days from Open-Meteo (all free, no account). Nothing about your usage leaves your network.

  • The app settings show the address of the dashboard (by default http://<homey-ip>:8686). You can also open them with the gear on the dashboard.

  • Protect the dashboard with an access code, and editing the layout and the settings with a PIN. Please set an access code if you make the dashboard reachable from outside your home.

Requirements

  • Homey Pro with Homey 12.3 or later

  • A P1 meter for the live and power views; solar panels, a battery and the other devices are optional

  • Dynamic prices from Homey Energy (any country Homey supports), Power by the Hour or EnergyZero (the Netherlands); the supplier list and energy tax in the settings are Dutch

Feedback

Is a device not found or does something look off? Let me know here, or tap the exclamation mark at the top right of the dashboard to share a diagnosis. Tick Include my dashboard there, so I can see exactly what you see.

Support

A few users asked whether they could give something back. That is now possible on Ko-fi, with the button below. The dashboard stays free, a donation is entirely optional.

Support on Ko-fi

Version 0.2.2 is out as a test version, thanks to the first testers:

  • All-electric houses: without gas, gas now disappears from the dashboard by itself when your meter has no gas reading. If your meter keeps passing on a fixed reading, choose No gas (all-electric) at the gas contract.
  • Phase load shows the real load while a phase sends power back (the meter then reports a negative current), in the export color.
  • The Monthly peak block no longer appears by itself for Dutch P1 meters (0.2.1), only when your meter reports a monthly peak (Belgium) or you enter a capacity tariff.
  • Share diagnosis can now include your dashboard (tick Include my dashboard), so I can open your exact dashboard and see what you see, handy for display problems. Without that tick the report stays anonymous.

A question for everyone with a hybrid inverter with a battery (Huawei Luna2000, Growatt, Sungrow, SolaX, Sigenergy, Kostal or Wattsonic, through biemond’s app): the dashboard doesn’t see the battery in it yet, because it sits in the same device as the inverter. I’d like to support it properly, but what the values mean differs per brand. Could you tap Share diagnosis → Copy and e-mail at the bottom of the app settings with 0.2.0, ideally while the battery is charging or discharging? In the e-mail, please say what your inverter’s app shows for solar and battery at that moment. The report is anonymous: no names, rooms or location.

Something not right? Tap Share diagnosis → Copy and e-mail, or post here.

Works awesome! Both in the browser and on my dashboard! Was really looking for this a loooong time, but now it’s there because of you @WNijhof Thank you very much :smiley:
If I find anything weird or is not working, I´ll report to you

Installed yesterday and Im very impressed sofar of the information displayed. It seems that it does not include my P1 figures yet. What should I do to include them. This applies also for the phase load

Thank you for the kind words. The app is changing every day. So expect new features in the coming time.

Go to the app settings and verify the full list. Specifically the ones that show automatic as it can be it selected the wrong device by default.

The p1 selection was set on automated and it selected the P1 watermeter. I cahnged it to manually select the correct P1. Thx.

Someone replied to your post.

| tlangelaar
October 1 |

  • | - |

Go to the app settings and verify the full list. Specifically the ones that show automatic as it can be it selected the wrong device by default.


Visit Topic or reply to this email to respond.


In Reply To

| fkooten
October 1 |

  • | - |

Installed yesterday and Im very impressed sofar of the information displayed. It seems that it does not include my P1 figures yet. What should I do to include them. This applies also for the phase load


Visit Topic or reply to this email to respond.

To unsubscribe from these emails, click here.

Met een vriendelijke groet

Frederik van Kooten

Great it works now!

New in 0.2.6: look back, prices from Power by the Hour, calmer flows

Version 0.2.6 is now in test, with everything that changed since 0.2.2:

Look back. Choose Today or Yesterday and a slider appears under the header. Slide to an earlier moment (or click in the power chart) and the whole dashboard shows that moment: where your power came from, what the battery did and which devices were on. Handy to find out which device caused that peak this morning. After 10 minutes without sliding the dashboard goes back to now by itself.

Prices from Power by the Hour. In the app settings, choose Power by the Hour under Electricity prices and the dashboard uses the prices of your Power by the Hour price device, all-in with the markups you entered there, including its export price. No need to set up prices in Homey Energy as well. Thanks @JohanP for the idea!

Excluded devices stay out. Devices you set to Exclude from Energy in Homey, and the summary devices of Power by the Hour (Σ), no longer show up in Devices now and Use per device, so nothing is counted twice. Thanks @Peter_Kawa and x5nder on Reddit!

Flow speed. In the screen menu (the monitor icon at the top) you can now choose how fast the flows move: Faster, Default, Slower or Crawling (ten times slower). It’s saved per screen. Thanks @Peter_Kawa!

Also new:

- Settings save themselves. A choice in the app settings, such as which solar panels to use, was lost when you closed the page with the check mark at the top without pressing Save. Now every change is saved straight away.

- An (i) on every block. Tap it to see what the block shows, where the numbers come from and how they are calculated. For costs, prices, net metering, battery, standby use and monthly peak it shows the calculation with your own numbers and contract.

- Two buttons next to the pencil. ! shares a diagnosis by e-mail or on GitHub, optionally with your dashboard, so I see exactly what you see. ? opens the manual.

- Energy flows widget: room and device names no longer run into each other on a narrow screen. Thanks @Arie_J_Godschalk for the screenshot!

- Energy flows no longer flickers between a large and a small size.

- Solar no longer counted twice as use. Solar panels and batteries you did not choose in the settings no longer show as consumers in Devices now. If you have two apps for the same inverter, tick only one under Solar panels.

- VAT on Homey’s market price. With prices from Homey and the contract in the app, the market price got no VAT and the all-in price was about 8% too low. Fixed.

- Faster and sturdier. A slow Homey Energy manager no longer holds the dashboard up, and after a stress test devices with missing or broken values and very many devices no longer cause errors.

- New installs use port 8686 instead of 8080, which a lot of other software uses. Already installed? You keep 8080, so your bookmarks and wall tablets keep working.

Something looks off? Press ! on the dashboard and send a diagnosis, and I’ll have a look.

Thanks, really appreciated!

Update: 0.2.2 to 0.2.6

Thanks for all the feedback, screenshots and diagnoses so far! Most of what changed since 0.2.1 came straight from your reports. The latest test version is 0.2.6:

Look back at an earlier moment

Choose Today or Yesterday, then slide to an earlier moment with the slider under the header, or click in the Power today chart. The whole dashboard then shows that moment, in steps of 5 minutes: the live flow, Devices now, the energy flows. Handy to find out which device caused that peak at 7 in the morning. After 10 minutes without sliding it goes back to now.

An (i) on every block

Every block has a small (i) next to its title. Tap it to see what the block shows, where the numbers come from and how they are calculated. The blocks with amounts show the calculation with your own numbers and contract: costs per line as kWh × average price, how the price is made up (market price + energy tax + markup, or the formula you entered in Homey), what export earns, the end of net metering, battery earnings, standby use per year and the monthly peak.

Help and diagnosis from the dashboard

Two buttons next to the pencil: ! shares a diagnosis by e-mail or on GitHub, and ? opens the manual. A diagnosis can now include your dashboard (what the page shows plus today’s history), so I see exactly what you see. That has already solved several reports much faster, so please use it when something looks wrong.

All-electric houses

Gas disappears from the dashboard when your P1 meter has no gas reading (or it stays at 0). You can also choose No gas (all-electric) in the gas contract.

Prices from Power by the Hour

Besides Homey Energy and EnergyZero, prices can now come from Power by the Hour: all-in, with the markups you entered there, including its export price.

Devices excluded from Energy are left out

Devices you set to Exclude from Energy in Homey no longer show up as consumers, in the flows, in look back or in the warnings. You can still pick them yourself in the app settings. Devices of Power by the Hour (Σ) no longer count as consumers either: they copy the readings of other meters, so their use was counted twice.

Flow speed

The screen menu has a new Flow speed setting: faster, default, slower or crawling (ten times slower). It is saved per screen, nice for a calm wall tablet.

Fixes and improvements

- The app settings save themselves. A choice made there (such as which solar panels to use) was lost if you closed the page with the check mark at the top without pressing Save. Thanks for the screen recording!

- Energy flows no longer flickers between two sizes.

- Energy flows widget: room and device labels no longer run into each other on a narrow phone screen.

- Phase load shows the real load while a phase sends power back, in the export color.

- Solar panels and batteries that are not the ones chosen in the settings no longer show as consumers in Devices now (for example a second app for the same inverter).

- A slow Homey Energy manager no longer holds up the dashboard, and far fewer price requests go to Homey.

- With Homey’s market price and the contract of the app, the price now includes VAT (it was about 8% too low).

- A battery that updates its charging state late is no longer turned round.

- A stress test made the app sturdier: missing or broken device values, very many devices and oversized requests no longer cause errors or slow it down.

New default port: 8686

New installs serve the dashboard on port 8686 instead of 8080, because much other software already uses 8080. If you installed before, nothing changes: your install keeps 8080, so bookmarks and wall tablets keep working. The address is always in the app settings.

As always: if a device isn’t found or a number looks off, tap ! on the dashboard to share a diagnosis, post here, or open an issue on GitHub:

Installed it, and started nitpicking :wink: But before i do that, i like it!! I can now turn of my HomeAssistant..

On this screen, could you show 2 numbers. Not only the current use, but also the total use a bit more clear?

When filling out the costs and values, i had to enter 0.0222 in stead of 0,022.. Not sure if that is a homey location setting. But an example would have been nice, since it kept complaining i had to give in the correct price.

It works great with batteries and the measuring of the batteries. Even if i measure with an external measuredevice that has the type battery.

Why not use the solarprediction from homey itself?

It just might be not the most accurate forecast tool of all :blush:
Today,
Homey Energy said: 28.5kWh
Pbth said: 19.8kWh
This app said: 13.4kWh
Home Assistant Energy said: 14.6kWh

Todays actual solar energy result: 14.8kWh

I vote for to keep the solar prediction built into this app.

Hmm. Homey forecast 19,6, actual 20,2

It is right al lot of times. But you have to configure it.

Hi Ronald, thanks for trying it, and nitpicking is very welcome. Nice to hear it can replace Home Assistant for you.

I made a new version 0.2.8. Lets see if that fixes some of your points!

Two numbers in Now: in the next test version today’s kWh is shown as a clear second number under each circle, in the same colour as the power instead of small grey text. Let me know if that is what you meant, or if you would rather see it inside the circle.

Prices with a comma: you were right, the price fields only took a dot. They now accept 0,022 as well as 0.022, every field shows an example, and a wrong entry tells you what it expects.

Batteries: good to hear that works, also with a separate meter of type battery.

Homey’s solar forecast: Peter already gave the numbers for today: Homey Energy said 28.5 kWh, the forecast in this app 13.4 kWh, and the actual yield was 14.8 kWh. That is why the app uses Forecast.Solar, with your own roof planes, instead of Homey’s forecast.

Hmm, I wouldn’t mention the figures if I didn’t configure it, would I…

Version 0.2.11 is now in test. What changed since 0.2.8:

New block Choosing a battery. If you are thinking about a home battery: it shows how much you use per evening and night while the sun gives less than 200 W, how much solar you have left over per day, and how much of that use a battery of 2.5 to 15 kWh and 800 W to 5 kW would cover. It uses a month of Homey Energy data, and with a HomeWizard P1 meter you can import a year per 15 minutes. Nights with missing or implausible readings are left out. Add the block with the pencil.

Settings on the web page. With the gear icon on the dashboard you can change the settings in your browser too. For that, set an edit PIN in the Homey app.

Also fixed: smart plugs such as the HomeWizard Energy Socket show as devices again, solar yield works for inverters that keep their own meter (such as Huawei FusionSolar), the dashboard loads on older iPads (iOS 12), and with a smart meter that gives only whole amps per phase the circuits block spreads the meter total over the phases.

As always: if something looks off, tap ! on the dashboard to share a diagnosis.

The dash shows batteries discharging, while they are charging.
In the Homey (and that is correct, i checked)

On the dashboard

A bit more info:

@Ronald_Otto Thanks for the screenshots, that makes it clear: all three batteries are read the wrong way round, so the dashboard sees 2.2 kW discharging where Homey sees 2.2 kW charging, and the house use becomes 4.4 kW instead of almost nothing.

Could you check one thing first: in the app settings, under Home battery, is Battery measures power the other way round turned on? If it is, turn it off. That setting is only for batteries whose app reports the power the other way round, and yours report it the right way.

If it is off, please share a diagnosis: tap ! at the top right of the dashboard and choose E-mail diagnosis or Share on GitHub. Which app do you use for the batteries (MT measure)? The dashboard also shows no charge level for them. Version 0.2.12, now in test, adds to the diagnosis how each battery’s power is read, so with that I can see where it goes wrong.

That fixed it..
My fault. I would suggest to move that setting just above solar forecast so it is grouped with the battery settings..