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

**URL:** <https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535>\
**Category:** Apps\
**Tags:** app, tools\
**Created:** [November 10, 2019, 10:06pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535 "2019-11-10T22:06:03Z")\
**Posts on this page:** 20\
**Page:** 9

<div class="post-metadata">

**Author:** ![Martijn\_Hoogenbosch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_hoogenbosch/32/10647_2.png) [@Martijn\_Hoogenbosch](https://community.homey.app/u/Martijn_Hoogenbosch)\
**Post date:** [October 16, 2020, 6:41am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/164 "2020-10-16T06:41:10Z")

</div>

Please create a tutorial then 😉👌

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [October 18, 2020, 9:41am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/165 "2020-10-18T09:41:16Z")

</div>

New version 2.2.0 is available for testing: [Power by the Hour App for Homey | Homey](https://homey.app/a/com.gruijter.powerhour/test/)

I changed quite a bit, so please test it. I will only move it to stable if I get confirmation that no issues were introduced.

- Added support for Tibber app.
- Added support for Homewizard energylink gas.
- Check for source device unavailable.
- Added polling mode for power (reduced system load in combination with Prometheus exporter).
- Removed deprecated meter driver.
- Update athom-api@3.2.13.

---

<div class="post-metadata">

**Author:** ![Sjeppie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sjeppie/32/30248_2.png) [@Sjeppie](https://community.homey.app/u/Sjeppie)\
**Post date:** [October 21, 2020, 10:01am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/166 "2020-10-21T10:01:05Z")

</div>

Hi Gruijter, like to use your app for instance to summarise readings of the fibaro tussenstekker but i don’t see how to do it. do you have some kind of manual for the app to explain usage?  
thanks for the great work anyway!

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [October 21, 2020, 10:33am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/167 "2020-10-21T10:33:32Z")

</div>

The app is the manual 😉

Just start pairing a device with PowerByTheHour, and if you can add your Fibaro plug it works. If you don’t see it, it doesn’t work 😝

---

<div class="post-metadata">

**Author:** ![Sjeppie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sjeppie/32/30248_2.png) [@Sjeppie](https://community.homey.app/u/Sjeppie)\
**Post date:** [October 21, 2020, 6:34pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/168 "2020-10-21T18:34:01Z")

</div>

Hi, thanks for your reply, but the issue is that I cannot see anywhere in the app or in the device how to pair.

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [October 21, 2020, 6:50pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/169 "2020-10-21T18:50:01Z")

</div>

> [@Sjeppie](#):
>
> how to pair.

How to pair a device: [https://youtu.be/9l9HbzJON5k](https://youtu.be/9l9HbzJON5k)

Replace fibaro app with powerByTheHour app…

---

<div class="post-metadata">

**Author:** ![Sjeppie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sjeppie/32/30248_2.png) [@Sjeppie](https://community.homey.app/u/Sjeppie)\
**Post date:** [October 22, 2020, 11:46am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/170 "2020-10-22T11:46:49Z")

</div>

Hi your last sentence did the trick 👍  
Thanks for your prompt response

---

<div class="post-metadata">

**Author:** ![Ricardo\_Nunes](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ricardo_nunes/32/30598_2.png) [@Ricardo\_Nunes](https://community.homey.app/u/Ricardo_Nunes)\
**Post date:** [October 26, 2020, 10:15pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/171 "2020-10-26T22:15:07Z")

</div>

Hello.

I started using this app today.

I use a lot of shelly devices, all my ‘Shelly 1PM’ And ‘Shelly 2.5’ are detected fine.  
But the ‘Shelly EM’ Wich is a Energy Meter can’t be added.

Does it not have the required capabilities?

 ![IMG_20201026_220751](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/a/4a937b399ec4c2d99be2082279388d867db927a0.jpeg)

Also.

I want to know how much energy a device spent from let’s say day 15 till next day 15 making it a month.  
How can i accomplish this?

If anyone could please explain me, i would be very thankful.

Thank you.

---

<div class="post-metadata">

**Author:** ![timofp](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/timofp/32/29977_2.png) [@timofp](https://community.homey.app/u/timofp)\
**Post date:** [November 4, 2020, 12:04pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/172 "2020-11-04T12:04:37Z")

</div>

Thx for the App, seems to work great for some devices like TP-Link, Youless and Plugwise. However It doesn’t seem to work with the Shelly 1PM. I can add it but all values stay zero…  
Already removed it and added it again and tried restarting the App.

Any Idea?

Power by the Hour

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/0/60007d24aab18ce3aa8305f4508ae179e049386b.png)

---

<div class="post-metadata">

**Author:** ![timofp](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/timofp/32/29977_2.png) [@timofp](https://community.homey.app/u/timofp)\
**Post date:** [November 4, 2020, 12:05pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/173 "2020-11-04T12:05:38Z")

</div>

Shelly 1PM (image limit per post)

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/6/c69ebb5bb78baffc46f3fa6d64cf281ea773a53d.png)

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [November 4, 2020, 1:44pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/174 "2020-11-04T13:44:34Z")

</div>

Does shelly reset the meter\_power to 0 every day maybe? If so just enable this in the PBTH advanced device settings.

---

<div class="post-metadata">

**Author:** ![Igy](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/igy/32/22144_2.png) [@Igy](https://community.homey.app/u/Igy)\
**Post date:** [November 4, 2020, 2:03pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/175 "2020-11-04T14:03:52Z")

</div>

Try to restart shelly app. I had this issue with Shelly 3EM

---

<div class="post-metadata">

**Author:** ![timofp](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/timofp/32/29977_2.png) [@timofp](https://community.homey.app/u/timofp)\
**Post date:** [November 4, 2020, 2:11pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/176 "2020-11-04T14:11:40Z")

</div>

Great, this did the trick. It’s indeed restarting the Shelly App and not the PbtH App that solves the issue.

Thx!

---

<div class="post-metadata">

**Author:** ![Ricardo\_Nunes](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ricardo_nunes/32/30598_2.png) [@Ricardo\_Nunes](https://community.homey.app/u/Ricardo_Nunes)\
**Post date:** [November 9, 2020, 2:00pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/177 "2020-11-09T14:00:27Z")

</div>

Hi @Gruijter  
Would it be possible to add support for the shelly EM?  
Thank you

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [November 9, 2020, 4:51pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/178 "2020-11-09T16:51:38Z")

</div>

I checked the code for the shelly em app. It has a meter\_power. So what is not working then?

> <https://github.com/jghaanstra/cloud.shelly/blob/140fd7ff4c3ef4414a05e208af013d99f39cbe69/app.json#L3175>

Or are you using it for production (solar panels) maybe? I see there is a meter\_power\_returned. PBTH does not support that indeed. Just connect the solar panels as a power user in stead of producer then…

---

<div class="post-metadata">

**Author:** ![Ricardo\_Nunes](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ricardo_nunes/32/30598_2.png) [@Ricardo\_Nunes](https://community.homey.app/u/Ricardo_Nunes)\
**Post date:** [November 9, 2020, 5:17pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/179 "2020-11-09T17:17:17Z")

</div>

> [@Gruijter](#):
>
> So what is not working then?

It is not detected by pbth , when i go into add new devices it just doesn’t appear on the devices available to add.

> [@Gruijter](#):
>
> Or are you using it for production (solar panels) maybe?

No I’m not, i just use it to measure the total consumption of my house.

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [November 9, 2020, 6:00pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/180 "2020-11-09T18:00:34Z")

</div>

> [@Ricardo\_Nunes](#):
>
> It is not detected by pbth

Thats weird… Unless it is already added to Homey, it should turn up. You do see other power devices?

---

<div class="post-metadata">

**Author:** ![Ricardo\_Nunes](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ricardo_nunes/32/30598_2.png) [@Ricardo\_Nunes](https://community.homey.app/u/Ricardo_Nunes)\
**Post date:** [November 9, 2020, 6:36pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/181 "2020-11-09T18:36:26Z")

</div>

> [@Gruijter](#):
>
> You do see other power devices?

Yes, and already added to homey.

 ![Screenshot_2020-11-09-18-29-57-575_app.homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/c/ac4c3e7cab1c7bce5f43b35cf49de8c5de2aa85e.jpeg)

Although non of them is a shelly EM, the devices you see on the screenshot are either “shelly 1PM” Or “Shelly 2.5” or “Aqara Eu Plug”

Can’t understand it either 😏

These are the differences from the device info i can get.

 ![IMG_20201109_191946](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/f/df812d0c99de249536d3f41c376f90c5c85f73c5.jpeg)  
 ![IMG_20201109_191648](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/1/01997672bae191659b468407aa7732aa0c0d5f18.jpeg)

Red Cross: Doesn’tget detected by PBTH (Shelly EM)  
Green check: One of the many I’ve already added with PBTH (Shelly 1PM)  
Both from shelly.

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [November 9, 2020, 7:24pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/182 "2020-11-09T19:24:09Z")

</div>

@Phuturist Do you have a clue why Shelly EM is not showing in PBTH during pair?

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [November 9, 2020, 10:02pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/183 "2020-11-09T22:02:32Z")

</div>

Only thing I can think of is because the Shelly (3)EM are currently both registered as cumulative energy devices as these devices are often used as some sort of energy clamp and you dont want to double count the usage. See [https://apps-sdk-v3.developer.athom.com/tutorial-Drivers-Energy.html](https://apps-sdk-v3.developer.athom.com/tutorial-Drivers-Energy.html). There is a request though for adding an advanced option allowing the user to change the energy attribute similar to your Enelogic app but I have not yet implemented that.

[Previous page](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535.md?page=8)

[Next page](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535.md?page=10)
