# \[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:** 12

<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:** [April 7, 2021, 5:31pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/226 "2021-04-07T17:31:50Z")

</div>

10 shouldn’t be a problem at all. Create a diagnostic report next time it happens. Also it could be a Homey memory thing that resets once you restart ANY app.

---

<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:** [April 7, 2021, 5:33pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/227 "2021-04-07T17:33:16Z")

</div>

> [@Richard\_Vermeulen](#):
>
> possible to at the kost (Euro) per day etc.

No, I have no plans to integrate that. You can use flows and Homey variables for that, or use a webbased power manager like Enelogic.nl

---

<div class="post-metadata">

**Author:** ![Crimly](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/crimly/32/14213_2.png) [@Crimly](https://community.homey.app/u/Crimly)\
**Post date:** [April 8, 2021, 7:13am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/228 "2021-04-08T07:13:45Z")

</div>

This actually makes sense, before i had the chromecast app installed and that was set to restart once a day. So that could have “fixed” it without me knowing 😆

E: b31b644b-a03b-4e57-999f-41980306dbff  
It seems all new added devices are not responding after some time (all devices added previously are still working fine), after app restart everything is normal. I now have to restart the app daily.

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [May 2, 2021, 7:30pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/229 "2021-05-02T19:30:16Z")

</div>

I still have a question about adjusting the values in the advanced settings.  
If I only adjust the value of the year, do the values of the month, day and this hour also change? And then I don’t mean the advanced settings, but the app. When I click on that.  
I still want to try to make my annual total correct for my solar panels. The rest was good this month, except for the year.  
After all, everything changes with me. And then nothing is right at all.

I’ll take a look at what it will be on tomorrow after it goes to zero.

---

<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:** [May 2, 2021, 7:44pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/230 "2021-05-02T19:44:23Z")

</div>

Can you share screen snapshots of the device settings and of the actual device values. And state what you want the device values to be.

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [May 2, 2021, 8:04pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/231 "2021-05-02T20:04:54Z")

</div>

Before i changed the value of the line “Dit jaar start” stond hij op -35,72 and in the app it was “This year 306,53”.  
When i changed it to -135,72 Then it became 150,71.  
And the other values changed also like the screenschot.  
Then i changed it back to -35,72.  
Before i changed something the values where:  
Value now 270,81  
This day start 255,85  
This month start 243,68  
This year start -35,72

What is should be for now is,

Value of the month is now 27,1  
Value of this year is now 684,0

 ![01 2021-05-02 214905](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/4/9458d42dfa4985860fe415bc3b4a4751e9712733.jpeg) ![02 2021-05-02 215013](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/e/9eff38cd31a9042aa78bcb0b1338dda2b03bb593.jpeg)

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [May 2, 2021, 8:10pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/232 "2021-05-02T20:10:18Z")

</div>

Now the app is back to how it was ending before i did something.  
The only thing that have to change is the value 306,53, that should be 684,00

 ![03 2021-05-02 220707](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/8/6818a0845d177048af8993879c54129351a439b5.jpeg)  
 ![04 2021-05-02 220946](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/a/0a55f12f97c278c87d49edeecb0323b644039879.jpeg)

---

<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:** [May 2, 2021, 8:19pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/233 "2021-05-02T20:19:04Z")

</div>

ok, I have to study on this when my head is more clear 🤪

Maybe the combination with daily reset isn’t working as it should. But last time you said it worked good after a day.

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [May 2, 2021, 8:23pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/234 "2021-05-02T20:23:04Z")

</div>

Indead, i said that. But that was i think it was for a month value it worked. But now i tried it for the value of a year and that showed that everything changed.  
But for now after 45 minutes or so i did get back the original values.  
If you want i can try it to change the value of the year and leave it to see what wil happen.  
And than look later today ore tomorrow.

Edit. I have changed it to -699,01. The value of The year is now 684,00.  
The other values are like the first screenschots. Totaly wrong. But i now wil wait till tommorow to see what it looks like.

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [May 3, 2021, 7:18pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/235 "2021-05-03T19:18:54Z")

</div>

This morning i did take a look ant it was way of. Yesterday i did change the value a couple of times without waiting till the other values were “normal”. If you then change it till the value you need is shown then the correct value will change if the other values are back.  
When the year value was correct i then have changed the value of This month. That is for now also good.  
So, if you change a value, wait till it shows a “normal” screen again and if it not ok, then change it again.

For now it works.  
Thanks.

 ![05 2021-05-03 211802](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/a/1a7513243c468d3cf9207699073308c00f302bec.jpeg)

---

<div class="post-metadata">

**Author:** ![Wout\_van\_den\_Dool](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wout_van_den_dool/32/391_2.png) [@Wout\_van\_den\_Dool](https://community.homey.app/u/Wout_van_den_Dool)\
**Post date:** [May 7, 2021, 8:14pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/236 "2021-05-07T20:14:36Z")

</div>

Hi there, I experience every now and than a crashed app… I send you an error log, maybe that gives you insights… 715982cd-2db7-4825-9ffb-52a31efc19f4

---

<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:** [May 8, 2021, 1:33pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/237 "2021-05-08T13:33:08Z")

</div>

I am trying to reproduce the issue with crashed apps or unavailable devices. But I can’t. I will go through the code to see if I can find anything. Maybe updating the athom-api does the trick. Will work on it some more…

@Wout_van_den_Dool : In the advanced device settings are you maybe using an update interval? Or is it set at 0?  
And did you ever do a ‘repair’ of the source device maybe?

---

<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:** [May 8, 2021, 7:50pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/238 "2021-05-08T19:50:25Z")

</div>

Just disabled my “after five  
Min restart power app” flow and rebooted. Will inform on behavior

—-

Yup, devices seem to be working directly after reboot.

—-

And still working, I tend to agree, problem solved

---

<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:** [May 9, 2021, 1:47pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/239 "2021-05-09T13:47:45Z")

</div>

Hi @Mike1233 Is there a way that I can pair your Enphase to my Homey? Or is there only a local connection possible to Homey?

I need to test to see what happens and when the enphase is reset to 0.

---

<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:** [May 9, 2021, 4:00pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/240 "2021-05-09T16:00:11Z")

</div>

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

- Fix Daily reset production meters (I hope…).
- Fix this day start settings.
- Increased app robustness.
- Added watchdog.
- Update athom-api@3.4.1

@Crimly Can you please test and let me know if this version solves the need to reset the app every day?

---

<div class="post-metadata">

**Author:** ![Crimly](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/crimly/32/14213_2.png) [@Crimly](https://community.homey.app/u/Crimly)\
**Post date:** [May 9, 2021, 4:12pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/241 "2021-05-09T16:12:57Z")

</div>

👍 Installed, will let you know in a day or two.

E: Working fine so far, no need to restart the app.

---

<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:** [May 11, 2021, 6:05am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/242 "2021-05-11T06:05:20Z")

</div>

Cool!

@Mike1233 How is your daily resetting enphase doing?

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [May 11, 2021, 6:12am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/243 "2021-05-11T06:12:31Z")

</div>

@Gruijter The daily reset of the enphase still works good. The problem was to set the total count of the month and year to the correct value. If you add it half the month or so.This is working fine now.  
I have no problems with it anymore. Changes in totals are reacting good.  
Thanks.

---

<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:** [May 11, 2021, 6:20am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/244 "2021-05-11T06:20:34Z")

</div>

Super🎉

Can you send me an app diagnostics report so I can check the logs?  
Thx!

Will release it to stable by the way.

---

<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:** [May 11, 2021, 5:11pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/245 "2021-05-11T17:11:16Z")

</div>

Hi @Eric_Lansu . Thx for your nice review in the app store.

You mentioned you wanted to have ‘yesterday’ added. In fact the app already provides this together with last month and last year. It just isn’t shown in the device view. It is available as tag in flows and in Insights.

![2021-05-11 (1)](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/1/01dca01e5433d09a1302d844a355d7607f36003e.png)

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

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