[APP][Pro] Power by the Hour: Insights per hour, day, month and year

Appstore stable version: https://homey.app/a/com.gruijter.powerhour
Appstore test version: https://homey.app/a/com.gruijter.powerhour/test

Power by the Hour

Power by the Hour (PBTH) turns Homey into a complete Home Energy Management System. Track power, gas, and water usage, forecast solar yield, optimize home battery storage, and automate appliances using dynamic European Day-Ahead energy spot prices.

Power by the Hour


:bullseye: Use Case Directory

Select a use case below for detailed setup instructions, settings guides, and community-proven flow recipes:

Use Case Core Driver Detailed Guide
:high_voltage: Track Electricity Usage & Standby Power Power Summarizer (power) → README.power.md
:oil_drum: Monitor Gas Consumption & Leak Alarms Gas Summarizer (gas) → README.gas.md
:droplet: Track Water Usage & Dripping Taps Water Summarizer (water) → README.water.md
:sun: Forecast Solar Production & Self-Consumption Solar Forecaster (solar) → README.solar.md
:battery: Optimize Home Battery Balancing & ROI Home Battery Manager (battery) → README.battery.md
:euro_banknote: Dynamic Electricity Spot Prices (1H & 15M) Day-Ahead Pricing (dap / dap15) → README.dap.md
:high_voltage: Dynamic Gas Spot Prices Gas Day-Ahead Pricing (dapg) → README.dapg.md
:laptop: App-to-App & HomeyScript Developer API Inter-App API → README.dap-api.md

:rocket: Quick Start — The Most Popular Setup

Get dynamic electricity tracking running in 3 simple steps:

  1. Add Day-Ahead Pricing: Add a Day-ahead Pricing device, select your Bidding Zone (e.g. NL, BE, DE-LU, NO1, SE3, DK1), and set Tariff Update Group to 1 in device settings.
  2. Add Power Summarizer: Add a Power Summarizer device and select your P1 Smart Meter or main energy meter as the source.
  3. Connect Tariff Broadcast: Set Tariff Update Group to 1 in the Power Summarizer settings.

Your Power Summarizer now updates its electricity tariff automatically every hour based on official market spot prices!


:light_bulb: Shared Core Concepts

To avoid repeating configuration steps across guides, key shared mechanisms are explained here:

1. Tariff Update Groups

Tariff Update Groups link pricing providers (dap, dap15, dapg) to consumer summarizer devices (power, gas).

  • Assign a group number (e.g. 1) to both the pricing device and the summarizer device.
  • Whenever prices update or time slots change, the pricing device automatically broadcasts updated tariffs to all summarizers in that group.

2. Annual Budget Distribution Models

PBTH compares real-time usage against annual reference targets using seasonal distribution models:

  • Linear: Equal allocation for each month (30.4 days/month).
  • Dutch 2023 Price Ceiling (el_nl_2023 / gas_nl_2023): Weighted according to seasonal heating and household consumption profiles.
  • Solar PV: Weighted according to typical European solar irradiance curves.

3. Virtual Meter Setup

For source devices with non-standard capability names or split tariffs:

  1. Select VIRTUAL_METER during driver pairing.
  2. Push cumulative meter readings via a Flow using the action Update Virtual Meter Value.
  3. Pass total net cumulative energy: $\text{kWh}{\text{total}} = (\text{consumed}{\text{high}} + \text{consumed}{\text{low}}) - (\text{returned}{\text{high}} + \text{returned}_{\text{low}})$.

:satellite_antenna: Market Data Providers

PBTH integrates data directly from official European energy market exchanges:


:man_technologist: Developer API

Other Homey apps and HomeyScript can query prices or listen for real-time slot pushes via the PBTH Inter-App API:

  • GET /dap-prices — fetch all current future price slots.
  • Realtime event dap-prices-updated — emitted on slot changes and price updates.

See README.dap-api.md for full API reference and code examples.


:heart: Donate & Support

If Power by the Hour helps you save energy and money, consider supporting development:

Donate with PayPal

2022-01-29



By popular demand, and because of my frustration that Athom is not providing better energy insights, I created this app. It is now still pending approval by Athom in the appstore.

If you want to have insights of your daily/monthly power use, or power production of your solar panels, this app is for you. You can bind it to any Homey device that has a meter_power capability.

Let me know what you think of it.

Nice! Pass it through Athom

Great job Robin, can’t wait to try it!

Super!

This should be done by Athom in the first place…
Thnx man, wonderfull

I’m actually glad an active and committed community developer made this, and not Athom. Now I’m sure questions will be answered, bugs will be fixed and feature requests will be looked at.
But that’s just me.

Athom didnt approve it today. I hope tomorrow…

If you want to give it a go already, you can get it from github

I think that Athom is busy with implementing this app in release 3.1…

4.X you mean (still hoping for the zigbee update announced donkey years ago) :grin:

Thanks @Gruijter saves me about 10 flows of calculating variables which tend to get void when accidentally running the wrong flow :wink:

Was planning to make multiple flows to do exactly this. This is way better. Thanks!

Perfect in combination with Tibber home and pulse, thx! Possible to add year too?

This app will be very useful. Good work!
Maybe Athom should rename their Energy to Power? :slight_smile:

Electricity is measured in Watts and kilowatts

Electricity is measured in units of power called Watts, named to honor James Watt, the inventor of the steam engine. A Watt is the unit of electrical power equal to one ampere under the pressure of one volt.

according to Google.

Energy is power during a time, measured in J, Wh or kWh.
Power is energy per unit of time, measured in J/s, W or kW.
According to me

Electricity is the set of physical phenomena associated with the presence and motion of matter that has a property of electric charge.
According to Wikipedia.

Still not released today. I guess Athom is busy getting the new app store running. Most of my published apps went missing😱

Maybe the are busy with the Zigee rewrite :rofl:

Nu homey chrashes when i use insights. So i am not so happy with it because accidentaly hit the button

Hi Jan_Willem, I’m not sure what you mean. What button makes your Homey crash? Do you mean something the Power by the Hour app is doing? Or something else?