# Notification and summary of gas used after sanitary hot water usage

**URL:** <https://community.homey.app/t/notification-and-summary-of-gas-used-after-sanitary-hot-water-usage/126938>\
**Category:** Questions & Help\
**Created:** [January 7, 2025, 7:41pm UTC](https://community.homey.app/t/notification-and-summary-of-gas-used-after-sanitary-hot-water-usage/126938 "2025-01-07T19:41:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebmar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sebmar/32/78863_2.png) [@sebmar](https://community.homey.app/u/sebmar)\
**Post date:** [January 7, 2025, 7:41pm UTC](https://community.homey.app/t/notification-and-summary-of-gas-used-after-sanitary-hot-water-usage/126938/1 "2025-01-07T19:41:15Z")

</div>

Hello all,

I am curious to learn if someone has created a flow which uses PBTH i.c.w. a water flow sensor (homewizard etc.) and /or gas boiler status such as ‘tap water increase’, burner running’ etc.(on intergas Xtreme in my case), together with virtual devices to send a notification or similar after sanitary hot water has been used.  
I’d like to track the amount of gas used whenever hot tap water is used for showering etc. and would like to use PBTH to also summarize on a daily, weekly and monthly interval in order to differentiate gas used for this from my total gas usage.

I hope the above is clear, and look forward to learn!

Best regards,

Seb.

---

<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:** [January 8, 2025, 2:55am UTC](https://community.homey.app/t/notification-and-summary-of-gas-used-after-sanitary-hot-water-usage/126938/2 "2025-01-08T02:55:33Z")

</div>

> [@sebmar](#):
>
> would like to use PBTH to also summarize on a daily, weekly and monthly interval

It does already, except for the weekly summary

> ![1000041036](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/5/e5a0dcd0311dd73141058f1cf83ebb6132050ee9.jpeg)

I use this flow to get a weekly summary, by summing the daily usage every day, until day 7

 ![1000041041](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/e/9e14fb89e8f970dc35283c3ec36184b46a9a0cff.jpeg)

With a flow like this, you can save gas usage between the timeframe of both start- and stop triggers

 ![17363048485382641800890833303741](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/6/860b82e8ee3808c551ccc60bbe298a4f2425aa23.png)

> [@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…

---

<div class="post-metadata">

**Author:** ![sebmar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sebmar/32/78863_2.png) [@sebmar](https://community.homey.app/u/sebmar)\
**Post date:** [January 8, 2025, 1:48pm UTC](https://community.homey.app/t/notification-and-summary-of-gas-used-after-sanitary-hot-water-usage/126938/3 "2025-01-08T13:48:02Z")

</div>

Thanks Peter, I was aware of the summarizing function of PBTH, but not how I could differentiate between total gas consumption and consumption for sanitary hot water only.  
I will have a look at what you have sent.  
Many thanks,.

---

<div class="post-metadata">

**Author:** ![sebmar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sebmar/32/78863_2.png) [@sebmar](https://community.homey.app/u/sebmar)\
**Post date:** [January 10, 2025, 3:58pm UTC](https://community.homey.app/t/notification-and-summary-of-gas-used-after-sanitary-hot-water-usage/126938/4 "2025-01-10T15:58:24Z")

</div>

I have downloaded the flow, and entered the devices I want to use as triggers, as well as modified the words used in the notifications, but I can’t seem to get the logic cards ‘zet gas.value\_started of stopped’ to automatically generate the tags needed for the next logic card (bereken gas.value etc).  
I use two triggers: flowrate and drawn electrical power (power and flowrate more than) icw and ‘all’ card to determine when my boiler is used to provide hot sanitary water, and these same cards (power and flowrate less than) to determine when it has stopped. These function as intended (tested with individual timeline notifications), but the logic cards fail to automatically produce a differential value: when I run the flow from the ‘all’ card a notification containing the differential is produced.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/1/d1f4e4fe1cd24f56eba9dd64c1a3bb54a232958a.png)

Any clue what is stopping the logic cards from being executed?  
Edit: It seems I can only use one trigger, so I will have to look for another way of differentiating between sanitary hot water- or heating use of the boiler…

Any tips are appreciated!

---

<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:** [January 10, 2025, 6:52pm UTC](https://community.homey.app/t/notification-and-summary-of-gas-used-after-sanitary-hot-water-usage/126938/5 "2025-01-10T18:52:09Z")

</div>

Never use ALL cards, especially after trigger cards. Now nothing will start your flow.

Use ANY cards instead, or just connect both trigger cards to the next card.

And, during troubleshooting, add notification cards to every output, for you to read back what happened, or not happened.

> [@\[FAQ\]\[Advanced Flow\] Infinite canvas. Infinite creativity](https://community.homey.app/t/faq-advanced-flow-infinite-canvas-infinite-creativity/65145):
>
> Something advanced is coming to Homey Pro… For the AMA [Advanced Flow — Ask Me Anything](https://community.homey.app/t/advanced-flow-ask-me-anything/65167) speech_balloon The FAQ from Athom is already on the information page on the bottom. The link should automagically switch to your language (en/nl / etc…) Read the introduction from Athom here: [Advanced Flow](https://homey.app/advanced-flow/) The EXTRA Things you can do in Advanced Flow Have multiple Triggers Have 1 (one) Start (Starting the Flow) Have Delays (0 -999 Seconds, 0-999 min.) All (function to wait for all incoming trigger…
