# Consumption measurement

**URL:** <https://community.homey.app/t/consumption-measurement/89090>\
**Category:** Flows\
**Created:** [September 9, 2023, 12:15pm UTC](https://community.homey.app/t/consumption-measurement/89090 "2023-09-09T12:15:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicolas\_Nonat](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nicolas_nonat/32/86180_2.png) [@Nicolas\_Nonat](https://community.homey.app/u/Nicolas_Nonat)\
**Post date:** [September 9, 2023, 12:15pm UTC](https://community.homey.app/t/consumption-measurement/89090/1 "2023-09-09T12:15:04Z")

</div>

Good morning,

I just installed a Homey at home, so I’m finding out.

I am looking to measure the consumption of a machine with a Fibaro Wall Plug Z-wave socket

I would like when it is turned on to increment a variable to measure its consumption, I cannot find my way to do it. So at any time I can know its total consumption

Do you have a lead?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [September 9, 2023, 12:20pm UTC](https://community.homey.app/t/consumption-measurement/89090/2 "2023-09-09T12:20:37Z")

</div>

Install the Power by the Hour app for this.

> [@\[APP\]\[Pro\] Power by the Hour: Insights per hour, day, month and year](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535):
>
> Appstore stable version: [https://homey.app/a/com.gruijter.powerhour](https://homey.app/a/com.gruijter.powerhour) Appstore test version: [https://homey.app/a/com.gruijter.powerhour/test](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]](https://github.com/gruijter/com.gruijter.powerhour/blob/master/assets/images/large.jpg)bullseye Use Case Directory Select a use case below for detailed se…

This example flow might come in handy as well (and you can _import it_!):

> [@The Flow Exchange(r) - Exchange Your Flows with Others!](https://community.homey.app/t/the-flow-exchange-r-exchange-your-flows-with-others/68981/43):
>
> Gas usage calculation Note: other gas using devices during the measurements aren’t taken into account When you want to record the gas usage of say, a pump, for this day. Extendable by adding the day variables for week and month overviews Output: And it’s also available in Insights Other things people need to do to get it working correct? Select your own P1 gasmeter and pump On/Off indicator TEF: ( imp…

Hint: please mention in your post you posted the same Q in an other topic as well:

> [@Mesure de consommation](https://community.homey.app/t/mesure-de-consommation/89089):
>
> Bonjour, Je viens d’installer un Homey à la maison, je découvre donc. Je cherche à mesurer la consommation d’une machine avec une prise fibaro Wall Plug Z-wave J’aimerais que lorsqu’elle est allumée incrémenter une variable pour mesurer sa consommation, je n’arrive pas à trouver le mon moyen de le faire. Ainsi à chaque moment je peux connaitre sa consommation totale Avez-vous une piste ? Merci d’avance

---

<div class="post-metadata">

**Author:** ![Nicolas\_Nonat](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nicolas_nonat/32/86180_2.png) [@Nicolas\_Nonat](https://community.homey.app/u/Nicolas_Nonat)\
**Post date:** [September 12, 2023, 8:02pm UTC](https://community.homey.app/t/consumption-measurement/89090/3 "2023-09-12T20:02:18Z")

</div>

Hello,

Thank you for this answer and the indication of the app. This is indeed a good solution!

On the other hand, we have a bi-hourly meter with different night and day rates. I don’t have the impression that the app can make a distinction?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [September 12, 2023, 8:49pm UTC](https://community.homey.app/t/consumption-measurement/89090/4 "2023-09-12T20:49:10Z")

</div>

Yes you can set different rates by flows.  
I’ve also a meter with high and normal rates, and I saved the actual prices in variables, which are used in the tariff entry of the flowcard

 ![Screenshot_20230912-224547_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/3/83c1c697758bafe998795aa24b9321a16464765d.jpeg)

---

<div class="post-metadata">

**Author:** ![Nicolas\_Nonat](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nicolas_nonat/32/86180_2.png) [@Nicolas\_Nonat](https://community.homey.app/u/Nicolas_Nonat)\
**Post date:** [October 12, 2023, 2:05pm UTC](https://community.homey.app/t/consumption-measurement/89090/5 "2023-10-12T14:05:13Z")

</div>

Hello,  
Thanks for the reply.

I don’t see how to set up different rates and schedules.  
In the virtual device settings, there is no such possibility.

Can you give me an example ?

Thank you
