# \[APP\]\[Pro\] Power Price

**URL:** <https://community.homey.app/t/app-pro-power-price/121589>\
**Category:** Apps\
**Tags:** app, tools, energy, homey-pro, advancedflow\
**Created:** [November 25, 2024, 10:24am UTC](https://community.homey.app/t/app-pro-power-price/121589 "2024-11-25T10:24:32Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![RobbertV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robbertv/32/37250_2.png) [@RobbertV](https://community.homey.app/u/RobbertV)\
**Post date:** [November 25, 2024, 10:24am UTC](https://community.homey.app/t/app-pro-power-price/121589/1 "2024-11-25T10:24:32Z")

</div>

## **Power Price - _Your companion for calculating usage & costs_**

* * *

> **[Power Price | Homey](https://homey.app/en-us/app/com.device-usage-calculator/Power-Price/)**
>
> Your companion for calculating usage and costs

* * *

Power Price is there to calculate & give insights on the usage and costs for any device.  
It’s design to work with fixed, dynamic or switching energy prices based on day & time.

1.⁠ ⁠Create a Power Price virtual device  
2.⁠ ⁠Choose the type of measuring you would like (kWh, W, m3, GJ, l, g, oz, gal, ft3)  
3.⁠ ⁠In settings of the device you can optionally set the preferred currency, display of time & update device on price change  
4.⁠ ⁠Use the device action cards to start, update (when tariff changes) & stop measuring of a usage session  
5.⁠ ⁠The session outcome will be stored in the device and can be used inside flows with the device capabilities or see data via Homey Insights.

* * *

**Useful links**

- [To-Do List](https://community.homey.app/t/app-pro-power-price/121589/2)
- [Frequently Asked Questions](https://community.homey.app/t/app-pro-power-price/121589/3)
- [Example flows](https://community.homey.app/t/app-pro-power-price/121589/4)

* * *

**Contributions**  
If you appreciate this app, contribute to future development by making a [paypal contribution](https://www.paypal.me/robbertvis)

[![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/9/2916364caa1239076c12be293d270d5980d9d272.png)](https://paypal.me/robbertvis)

* * *

## 💻 In collaboration with @martijnpoppen

See for more apps link below 👇🏻 or just open the pull down.

> [@Apps made by @martijnpoppen](https://community.homey.app/t/apps-made-by-martijnpoppen/85812/1):
>
> Click to expand

---

<div class="post-metadata">

**Author:** ![RobbertV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robbertv/32/37250_2.png) [@RobbertV](https://community.homey.app/u/RobbertV)\
**Post date:** [November 25, 2024, 10:24am UTC](https://community.homey.app/t/app-pro-power-price/121589/2 "2024-11-25T10:24:53Z")

</div>

# To-do list:

* * *

> -

---

<div class="post-metadata">

**Author:** ![RobbertV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robbertv/32/37250_2.png) [@RobbertV](https://community.homey.app/u/RobbertV)\
**Post date:** [November 25, 2024, 10:25am UTC](https://community.homey.app/t/app-pro-power-price/121589/3 "2024-11-25T10:25:12Z")

</div>

# Frequently Asked Questions

> **Q1: _Can I use Power Price with every device?_**  
> **Answer:** The devices that can be measured by Power Price need to have the energy meter capability (kWh/W/m3/GJ, l, g, oz, gal, ft3), this will be given as data value in the start/update/stop action cards.  
> F.e. Energy socket with meter or a P1 meter

> **Q2: _I have dynamic tariffs, can I use Power Price?_**  
> **Answer:** We created this app with dynamic tariffs in mind. Therefore we have added a update session action card. This will calculate the price for the duration until price change, so the total price will be correct.  
> This feature can also be used with high/low tariffs that switch based on day/time combination.  
> Of course you can always use the app with fixed prices, then you can ignore the ‘update session’ card

---

<div class="post-metadata">

**Author:** ![RobbertV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robbertv/32/37250_2.png) [@RobbertV](https://community.homey.app/u/RobbertV)\
**Post date:** [November 25, 2024, 10:25am UTC](https://community.homey.app/t/app-pro-power-price/121589/4 "2024-11-25T10:25:20Z")

</div>

# Example flows

> _ **Day session measuring the daily usage of P1/Gas or Water meter** _
> 
> ![Scherm­afbeelding 2025-01-04 om 16.48.55](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/e/bea1c24799330165160979e24f1c161698783b40.png)

> _**Start/Stop(/Update) when measuring device is turned on/off**_
> 
> ![Scherm­afbeelding 2025-01-04 om 16.51.13](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/b/6b69638ad55b9810d943c243f5cd83ed3abcd1cb.png)

> _ **Washing machine** _
> 
> ![fe7a48786c314d938cdf6910eda9ff89507daef6](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/0/008d45c486f6f2b87db1140c307e17d6061ae9d6.png)

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [November 28, 2024, 9:21am UTC](https://community.homey.app/t/app-pro-power-price/121589/5 "2024-11-28T09:21:35Z")

</div>

## New app update (🟩 LIVE: [2.0.0.](https://homey.app/a/com.device-usage-calculator/)):

> **1.** NEW: Changed App name to Power Price (instead of Usage Mate) for a better app description

* * *
  

If you find any **issues** , send a **report** via the mobile homey app

> More - apps - Power Price - settings wheel right top - send diagnostic report (put your email in the input field to make it easier)

---

<div class="post-metadata">

**Author:** ![Jari\_Peuhkurinen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jari_peuhkurinen/32/101312_2.png) [@Jari\_Peuhkurinen](https://community.homey.app/u/Jari_Peuhkurinen)\
**Post date:** [December 1, 2024, 8:43am UTC](https://community.homey.app/t/app-pro-power-price/121589/6 "2024-12-01T08:43:14Z")

</div>

What type of device you need to use the flow above? For example, I can’t find Energy\_tarif label in any of my devices. Can this be used with washing machine connected to smart power plug?

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [December 1, 2024, 10:05am UTC](https://community.homey.app/t/app-pro-power-price/121589/7 "2024-12-01T10:05:20Z")

</div>

@Jari_Peuhkurinen energy\_tariff is a custom variable in homey which I made

I don’t have a flexible tariff so made a variable in homey

---

<div class="post-metadata">

**Author:** ![Jari\_Peuhkurinen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jari_peuhkurinen/32/101312_2.png) [@Jari\_Peuhkurinen](https://community.homey.app/u/Jari_Peuhkurinen)\
**Post date:** [December 1, 2024, 10:21am UTC](https://community.homey.app/t/app-pro-power-price/121589/8 "2024-12-01T10:21:35Z")

</div>

Okay. Thank you. If / when you have time, could you make an example flow to a machine what is connected to smart plug.

---

<div class="post-metadata">

**Author:** ![RobbertV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robbertv/32/37250_2.png) [@RobbertV](https://community.homey.app/u/RobbertV)\
**Post date:** [December 1, 2024, 9:14pm UTC](https://community.homey.app/t/app-pro-power-price/121589/9 "2024-12-01T21:14:24Z")

</div>

Hi @Jari_Peuhkurinen

I created a sample flow based on an energy socket. Text is semi in 🇳🇱 so hopefully it’s all clear.

 ![Scherm­afbeelding 2024-12-01 om 22.07.57](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/8/48b94851bfe8d58dd84aad8ab3c3fedc59bcef1d.jpeg)

Devices like Washing machine or dryer are a bit more difficult (but not impossible), since you need to check the minimal and maximum (Watt) values of the device in order to see if they are really running or just idling in their program. Since this can differ from machine to machine best to look at a washing session with the smart meter.

---

<div class="post-metadata">

**Author:** ![Jari\_Peuhkurinen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jari_peuhkurinen/32/101312_2.png) [@Jari\_Peuhkurinen](https://community.homey.app/u/Jari_Peuhkurinen)\
**Post date:** [December 4, 2024, 2:43pm UTC](https://community.homey.app/t/app-pro-power-price/121589/10 "2024-12-04T14:43:53Z")

</div>

Thank you very much. Had to use google translate, but work now! 🙂

---

<div class="post-metadata">

**Author:** ![Jari\_Peuhkurinen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jari_peuhkurinen/32/101312_2.png) [@Jari\_Peuhkurinen](https://community.homey.app/u/Jari_Peuhkurinen)\
**Post date:** [December 6, 2024, 8:05am UTC](https://community.homey.app/t/app-pro-power-price/121589/11 "2024-12-06T08:05:10Z")

</div>

For this to work with smart plug, you need to have plug that offers required values. For example, with Aqara plugs flow does not work, but with HomeWizard plug it works. Or I am doing something wrong 😃

---

<div class="post-metadata">

**Author:** ![RobbertV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robbertv/32/37250_2.png) [@RobbertV](https://community.homey.app/u/RobbertV)\
**Post date:** [December 6, 2024, 12:58pm UTC](https://community.homey.app/t/app-pro-power-price/121589/12 "2024-12-06T12:58:00Z")

</div>

Aqara plug also support power measuring, so that will work as well. The action cards need 2 values `kWh tariff` & `energy` (meter value of smart plug or any other device that keeps kWh values)

Can you show me an screenshot maybe on what error you are facing?

---

<div class="post-metadata">

**Author:** ![Jari\_Peuhkurinen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jari_peuhkurinen/32/101312_2.png) [@Jari\_Peuhkurinen](https://community.homey.app/u/Jari_Peuhkurinen)\
**Post date:** [December 6, 2024, 6:51pm UTC](https://community.homey.app/t/app-pro-power-price/121589/13 "2024-12-06T18:51:16Z")

</div>

This is the flow I used with Aqara. You can see the values it gives when finished. Only duration is correct. Costs and usage don’t match. When I used this flow with HomeWizard plug it worked perfectly.

 ![Näyttökuva_6-12-2024_204757_my.homey.app](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/b/8b9c5156832a0e8ae65cb7af1c75df839bc1c8cb.jpeg)  
 ![Näyttökuva_6-12-2024_20490_my.homey.app](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/2/e28276155c956a50d522c81a26eda924e693ebf1.jpeg)

---

<div class="post-metadata">

**Author:** ![RobbertV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robbertv/32/37250_2.png) [@RobbertV](https://community.homey.app/u/RobbertV)\
**Post date:** [December 6, 2024, 7:12pm UTC](https://community.homey.app/t/app-pro-power-price/121589/14 "2024-12-06T19:12:08Z")

</div>

I see what u mean, looking at my own devices I see one of the aqara plugs isn’t updating its energy value. This seems an issue with the aqara device or app. Maybe it’s a known issue: [[APP] Aqara & Xiaomi Smart Home - Simplify your life with a smarter home](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156)

---

<div class="post-metadata">

**Author:** ![Jari\_Peuhkurinen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jari_peuhkurinen/32/101312_2.png) [@Jari\_Peuhkurinen](https://community.homey.app/u/Jari_Peuhkurinen)\
**Post date:** [December 6, 2024, 7:32pm UTC](https://community.homey.app/t/app-pro-power-price/121589/15 "2024-12-06T19:32:20Z")

</div>

At least the used power was displayed correctly when I monitored the power usage while machine was on.  
Also the energy was displayed in insights after machine has finished, but it didn’t match the information Power price app gave.

But yes, I think it has something to do with aqara since other plug worked like a charm.

---

<div class="post-metadata">

**Author:** ![RobbertV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robbertv/32/37250_2.png) [@RobbertV](https://community.homey.app/u/RobbertV)\
**Post date:** [December 6, 2024, 9:40pm UTC](https://community.homey.app/t/app-pro-power-price/121589/16 "2024-12-06T21:40:53Z")

</div>

Do you mean that the power usage is displayed correctly in the Power Price device during runtime? Or the aqara power socket?

Did you check if the correct energy variable is used in all flow cards?  
I noticed that clicking in Homey web ui sometimes select the wrong variable. Then it could be that the difference is calculated from 2 different devices.

---

<div class="post-metadata">

**Author:** ![Jari\_Peuhkurinen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jari_peuhkurinen/32/101312_2.png) [@Jari\_Peuhkurinen](https://community.homey.app/u/Jari_Peuhkurinen)\
**Post date:** [December 7, 2024, 8:15am UTC](https://community.homey.app/t/app-pro-power-price/121589/17 "2024-12-07T08:15:58Z")

</div>

Aqara shows energy and power usage in insights correctly during the washing cycle.

 ![Näyttökuva_7-12-2024_101143_my.homey.app](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/8/e882d7d193082b56adc6f98d111f51c65cc69074.jpeg)

There are only two variable that Aqara offers. I tried with both, didn’t change the result.

 ![Näyttökuva_7-12-2024_101219_my.homey.app](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/3/a397e28e90bfb51c9b64166044b3b9f38e267535.jpeg)

The final variables are from P1 meter (not Aqara device), because its the only device that offers #last session costs, duration and usage.

---

<div class="post-metadata">

**Author:** ![RobbertV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robbertv/32/37250_2.png) [@RobbertV](https://community.homey.app/u/RobbertV)\
**Post date:** [December 9, 2024, 9:16am UTC](https://community.homey.app/t/app-pro-power-price/121589/18 "2024-12-09T09:16:32Z")

</div>

Looking at this data, it seems that the socket is measuring data as expected. Looking in detail it only measures 0.1 or 0.25 kWh of usage during sessions.

For PowerPrice you need to configure the `energy` variable (kWh meter). This will calculate usage from start to finish.  
`power` variable is measuring Watt consumption during runtime, good for insights.

---

<div class="post-metadata">

**Author:** ![RobbertV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robbertv/32/37250_2.png) [@RobbertV](https://community.homey.app/u/RobbertV)\
**Post date:** [December 16, 2024, 12:06pm UTC](https://community.homey.app/t/app-pro-power-price/121589/19 "2024-12-16T12:06:16Z")

</div>

## New app update (🟩 LIVE: [2.0.1](https://homey.app/a/com.device-usage-calculator/)):

> OPT: Make seconds in duration optional

Now it’s possible to enable/disable the display of seconds for the device duration. When having days/hours/minutes available. When a device has less than 1 minute duration it will always show the seconds duration time.  
You can find the new setting per device in the advanced settings section.

 ![Scherm­afbeelding 2024-12-15 om 18.50.59](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/d/eddad5ca5c916efad6e718c0d209a6db2883573d.png)

---

<div class="post-metadata">

**Author:** ![Ludo\_Rampy](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ludo_rampy/32/50358_2.png) [@Ludo\_Rampy](https://community.homey.app/u/Ludo_Rampy)\
**Post date:** [December 22, 2024, 9:51am UTC](https://community.homey.app/t/app-pro-power-price/121589/20 "2024-12-22T09:51:05Z")

</div>

Continuing the discussion from [[APP][Pro] Power Price](https://community.homey.app/t/app-pro-power-price/121589):

My Power Price is not able to pick a virtual device,that step is not showing when installing a PP device, what do I wrong? I reinstall PPrice and reboot the H2023 nothing helps

[Next page](https://community.homey.app/t/app-pro-power-price/121589.md?page=2)
