[APP][Pro] Piggy Bank

Auch, the update I sent out 30 minutes ago seems to have a problem for new users (old users are not affected, which is why it wasn’t detected in the test release). Thanks for the fast report.

Please try to install the new version 0.18.23 now, it should be working now. Sorry for the inconvenience…

1 Like

I have gotten a few reports about missing prices lately. This is an external issue that I cannot do much about, but I created this ticket to try to make it more reliable, but this is probably as much as I can do.

Apart from that, the new changes I have been working on lately need some significant testing before I can even publish them as a test release, thus there will not be any new releases before I feel confident that it is working as intended. This might take a few days.
Meanwhile, I wish you a nice Christmas :christmas_tree:

1 Like

How can I remove the measurements from one day?
After an outage from Tibber, I have max consumption for a day on 65000 kWh… :slight_smile:

You’re not the only one that have experienced measurements that are estimated way off when the power-meter has not submitted energy reliably. I have added some new fixes to avoid this in the next update. It has not been released to the test release yet but will come very soon.

As for removing the incorrect measurements the plan is to do this automatically because I have only gotten reports for incorrect readings that are above 60 kWh, which is quite a bit above what is possible with the main-fuse, so I plan to compare all readings to the given main-fuse and remove all that are impossible automatically.

This will be part of the coming release.

Piggy seems to have lost track of time today… Every heater shut down a couple of minutes after 12:00 today and I got a warning that hourly consumption was too high. After looking a bit closer it seems Piggy’s been accumulating usage for the past 3hrs without resetting the hourly consumption.

Tried restarting the app, but didn’t help. Guess I’ll try restarting Homey if it doesn’t work out when the next hour starts. But I guess this must be s bug of some sort. Never seen this before.

Update: Sorted itself out at the next hour, possibly because I restarted the app.

Can you please go to the settings and navigate to the consumption for today and check if it looks anything like the following?
image
If so you’re probably hit by the same issue as @Frode_Stenstrom above which I added some fixes for in the coming release.

Yup! Looks like the same problem…

Actually… that seems like a different problem… Since none of the hours earlier registered any power it means that the hourly trigger skipped those hours… This is a new issue…

The only thing I can think of is that the mutex that prevent the code that runs every hour from running simultaneously as the code controlling devices is blocked because some problematic devices in Homey does not respond and as such block the mutex from being released. An investigation has been scheduled here. Can you please go to the log (Help → Troubleshooting) and see if the log is full of error-messages for the hours in question?

Posted my log on GitHub. Not sure it’ll help much, since I restarted the app and it’s not complete.

My controlled devices are: 1x Sensibo, 3x vThermo, 1x Easee charger. The latter was not in use at any point when this problem occured.

Same issue here. Looks like it (for me) is a issu with the Tibber pulse (ther was an outage this morning). When it was back online (in the Tibber app) it looked like Piggy was happy but the reading was not updating nor the values read from pulse in piggy. Had to do a restart of tipper app before everything was working again.
One thing to mention was that POTH was giving houerly forcast based (i think) on the actual reading from pulse, when Piggy used the acumulated high value and gave this huge spike in houerly consumption. This was for the houer where pulse startet to work again.
Just my observations!

I can confirm that the issue with peaks in the graph are related to missing power from the meter reader. This has been fixed now and will be pushed to community testing very soon. I still want to do some more testing on it on my own first.

As for correcting the graphs automatically, it seems like this will only be possible for those peaks that are way off (above the main fuse) and not for those peaks that was reported last. Thus I will probably have to add a manual option for correcting these…

1 Like

Feature request:
Is it possible to get access to the daily average price to trigger flows if lets say the average price of the day is above a certain limit?

If you install the piggy bank insights device then you will get access to the moving average value as a tag that you can insert into your flows:

image

Will this do?

1 Like

Is this in the current version? I cannot find this variable using a and card like you do.

I have installed the piggy bank insights

Yes it’s in the current version. This tag has been there since the beginning.
Which language is Homey configured to?
If using English the name of this variable is “Moving average price”
If you write “Sparegris” in the search field you should see all the variables when using Norwegian (“Piggy” when using “English”).

Does it take some time from adding the insight for this value to show? Here are the ones available a couple og hours after adding.

Ah, yes. Actually the variable is only available if you enter the settings of “Piggy bank insights” and enable “Show extended capabilities”

Just found out a few min before you replied. Thank you so much for a very good app! And support :blush:

1 Like

Note that in order for the variable to equal the “daily average price” you need to enter the price settings and select “Average price today” for the “Basis for price comparison”. Otherwise it will equal the moving average over the selected period.

1 Like