# \[APP\]\[Pro\] Piggy Bank

**URL:** <https://community.homey.app/t/app-pro-piggy-bank/66677>\
**Category:** Apps\
**Tags:** app, tools, homey-pro\
**Created:** [July 29, 2022, 10:07pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677 "2022-07-29T22:07:19Z")\
**Posts on this page:** 20\
**Page:** 11

<div class="post-metadata">

**Author:** ![frodeheg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frodeheg/32/49010_2.png) [@frodeheg](https://community.homey.app/u/frodeheg)\
**Post date:** [October 24, 2022, 9:49pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/203 "2022-10-24T21:49:48Z")

</div>

Yes, fingers crossed it will not crash the app… 😬

---

<div class="post-metadata">

**Author:** ![Torbjorn\_Melbye](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torbjorn_melbye/32/18194_2.png) [@Torbjorn\_Melbye](https://community.homey.app/u/Torbjorn_Melbye)\
**Post date:** [October 24, 2022, 9:50pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/204 "2022-10-24T21:50:46Z")

</div>

Well, thank god I’m working tonight, so I can keep my eye on it 😉

If it goes bananas I’ll just deactivate it

---

<div class="post-metadata">

**Author:** ![Torbjorn\_Melbye](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torbjorn_melbye/32/18194_2.png) [@Torbjorn\_Melbye](https://community.homey.app/u/Torbjorn_Melbye)\
**Post date:** [October 24, 2022, 10:21pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/205 "2022-10-24T22:21:10Z")

</div>

Looks like it stayed on the last known price point. In my case normal. Should have switched to dirt cheap according to my settings. I changed the settings from automatic to flow, and set up flows for now. Assuming this will be back to normal in 24 hours?

---

<div class="post-metadata">

**Author:** ![frodeheg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frodeheg/32/49010_2.png) [@frodeheg](https://community.homey.app/u/frodeheg)\
**Post date:** [October 24, 2022, 10:27pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/206 "2022-10-24T22:27:05Z")

</div>

Mine stayed at cheap… I hope it will resolve even before 24 hours.  
Entsoe fetches new prices around 14:00 so I would expect the situation to resolve no later than 15:00, but hopefully, someone from Entsoe will notice and get it updated as soon as they go to work tomorrow. (PB checks for new prices every new hour if it has less than 12 hours of future prices)

---

<div class="post-metadata">

**Author:** ![Torbjorn\_Melbye](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torbjorn_melbye/32/18194_2.png) [@Torbjorn\_Melbye](https://community.homey.app/u/Torbjorn_Melbye)\
**Post date:** [October 24, 2022, 10:31pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/207 "2022-10-24T22:31:50Z")

</div>

Allright. Anyway, thanks for the notice 👌🏻

---

<div class="post-metadata">

**Author:** ![frodeheg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frodeheg/32/49010_2.png) [@frodeheg](https://community.homey.app/u/frodeheg)\
**Post date:** [October 24, 2022, 11:19pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/208 "2022-10-24T23:19:43Z")

</div>

I took the [following actions](https://github.com/frodeheg/no.sparegris/issues/48) to improve on this in the future:

It’s now available in the latest [test version](https://homey.app/a/no.sparegris/test)

Unfortunately, it is not possible to push this to stable before Athom has reviewed it so everyone on stable has to live with this issue meanwhile. (well, of course, you have to live with the issue after the fix too, just more deterministic as the missing prices are not on my table, just lets hope Entsoe fixes the missing prices early tomorrow morning.)

**WORKAROUND:** meanwhile, you can choose the prices from external app and use the “Strømregning” app to provide the prices, as this app seem to be fetching the prices from NordPool directly. (apparently, it is ok as long as NordPool have given consent in the first place, so if I get permission tomorrow I will add this as a failsafe for situations like this)

---

<div class="post-metadata">

**Author:** ![frodeheg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frodeheg/32/49010_2.png) [@frodeheg](https://community.homey.app/u/frodeheg)\
**Post date:** [October 25, 2022, 7:12am UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/209 "2022-10-25T07:12:42Z")

</div>

The situation seem to have been resolved now, Entsoe price data is once again available

---

<div class="post-metadata">

**Author:** ![KvennaMekaniske](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kvennamekaniske/32/42904_2.png) [@KvennaMekaniske](https://community.homey.app/u/KvennaMekaniske)\
**Post date:** [October 27, 2022, 11:37am UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/210 "2022-10-27T11:37:50Z")

</div>

Something odd has happenened. After the upgrade to version 0.18.23, Sparegris operates with available power (Tilgjengelig effekt) at 0w for most of the time. Although I have a limit of 5kWh, I end up at less than 2kwh all hours, I presume due to the 0 availability of power during most of the hour.

Is the limit hard-coded to 2kwh now?

---

<div class="post-metadata">

**Author:** ![frodeheg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frodeheg/32/49010_2.png) [@frodeheg](https://community.homey.app/u/frodeheg)\
**Post date:** [October 27, 2022, 7:53pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/211 "2022-10-27T19:53:47Z")

</div>

> [@KvennaMekaniske](#):
>
> After the upgrade to version 0.18.23

Are you sure it didn’t happen for version 0.18.21, I had to push out version 0.18.23 to fix such an issue? Thus I find it strange if you did not experience an issue earlier and that it was not fixed for you in 0.18.23.

The problem in question was that if you were using EMERGENCY\_OFF then your device would be always off. With the update in 0.18.23 then EMERGENCY\_OFF will only turn off if it’s an emergency. (however, if the device was already turned off in 0.18.21 then of course it would still be off in 0.18.23. Is this what you have been seeing?)

How have you configured devices?  
with “Change temperature”, “Turn on”, “Turn off” or “Emergency off” ?

> [@KvennaMekaniske](#):
>
> Is the limit hard-coded to 2kwh now?

No, but I made it configurable a little while back. Can you confirm that it is still 5 kWh in the settings?  
Do you get any reports of unreliable devices in the settings?

One thing that the 0.18.23 change did affect is that in case the temperature setting is detected as not being set properly then it is tried once again. It might be that if the device does not respond to all the commands it will be overwhelmed with new change requests and as such go into some kind of hang situation where they stop responding to temperature changes. Could this be something you’re observing?

regards, Frode

---

<div class="post-metadata">

**Author:** ![KvennaMekaniske](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kvennamekaniske/32/42904_2.png) [@KvennaMekaniske](https://community.homey.app/u/KvennaMekaniske)\
**Post date:** [October 28, 2022, 7:00am UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/212 "2022-10-28T07:00:40Z")

</div>

I’m quite certain it was a result of 0.18.23. That happened around 0300 yesterday and from that point on, I have never had more than 2 kwh as houerly power usage.  
I have tried changing the limit from 5 to 10, no change in behaviour.  
I don’t use any emergency off. I just turn zones on or off as a function of windows or price.

I don’t get any reports of unreliable devices that I can see.  
I don’t use temperature settings in Sparegris that I am aware of (apart from “frostsikring”)  
The innsikt looks like this. I use “egendefinert” mode just to try to disable most of the sparegris control to be able to have hot water etc at home wheile we have this problem.

 ![Screenshot_20221028_072311_app.homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/d/6da3ff529d3bbb01871a47ebccb372adaba901d1.jpeg)

---

<div class="post-metadata">

**Author:** ![frodeheg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frodeheg/32/49010_2.png) [@frodeheg](https://community.homey.app/u/frodeheg)\
**Post date:** [October 28, 2022, 8:00am UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/213 "2022-10-28T08:00:30Z")

</div>

> [@KvennaMekaniske](#):
>
> I don’t use any emergency off. I just turn zones on or off as a function of windows or price.

Can you enter the settings page and visit the “Avansert / Overstyring” tab and look if the zones you use are listed as off?  
It could happen that whilst the new version was being updated some of the signals from the flows were lost?

---

<div class="post-metadata">

**Author:** ![KvennaMekaniske](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kvennamekaniske/32/42904_2.png) [@KvennaMekaniske](https://community.homey.app/u/KvennaMekaniske)\
**Post date:** [October 28, 2022, 8:24am UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/214 "2022-10-28T08:24:24Z")

</div>

yes, some zones are turned off, others are not. That seems to be correct according to how my flows works (turning on/off as a function of Tibber price).

E.g. my hot water boiler is now turned off due to high price. It will be turned on in a couple of hours, I believe. If it then starts heating, Sparegris will soon turn it off due to the 0W available power it has computed. Right now, we are 22 minutes into the hour. I have set the limit to 10Kwh (to test) and the estimated power consumption is 1739 Wh. Available power is 0Wh. The algorithm seems to use a far too low limit.

---

<div class="post-metadata">

**Author:** ![frodeheg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frodeheg/32/49010_2.png) [@frodeheg](https://community.homey.app/u/frodeheg)\
**Post date:** [October 28, 2022, 12:10pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/215 "2022-10-28T12:10:03Z")

</div>

Followed up in private thread.

---

<div class="post-metadata">

**Author:** ![Bananfluen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bananfluen/32/8095_2.png) [@Bananfluen](https://community.homey.app/u/Bananfluen)\
**Post date:** [November 4, 2022, 5:36pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/216 "2022-11-04T17:36:00Z")

</div>

Hi. Trying out controlling easee charger from piggy bank. When will the charge cycle start? And where is this start charge cycle flowchart?

 ![Screenshot_20221104-183514_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/6/0649206bb6820301f0fc90051d216281a1a64c66.jpeg)

---

<div class="post-metadata">

**Author:** ![frodeheg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frodeheg/32/49010_2.png) [@frodeheg](https://community.homey.app/u/frodeheg)\
**Post date:** [November 4, 2022, 6:22pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/217 "2022-11-04T18:22:25Z")

</div>

Currently you can only start a charging cycle by using flow actions. I will add a button on the page you showed as well, but it is not possible to start it from there currently.

Also, I see you have selected the second algorithm. Please note that the second algorithm is VERY experimental and has been observed to put the charger in a state where it is charging even if the Easee app claims that it is off… Which would result in a situation where SG could miss the power tariff as it cannot turn the charger off. I would recommend using the first, default method at least for the time being even though it has some weaknesses it is much safer. When the second method is corrected it will replace the first one.

---

<div class="post-metadata">

**Author:** ![Bananfluen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bananfluen/32/8095_2.png) [@Bananfluen](https://community.homey.app/u/Bananfluen)\
**Post date:** [November 4, 2022, 6:33pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/218 "2022-11-04T18:33:22Z")

</div>

Thanks for your quick answer​:slightly\_smiling\_face:👍 will change to first algoritme and start it via flow. Thanks again.

---

<div class="post-metadata">

**Author:** ![Bananfluen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bananfluen/32/8095_2.png) [@Bananfluen](https://community.homey.app/u/Bananfluen)\
**Post date:** [November 5, 2022, 8:12am UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/219 "2022-11-05T08:12:08Z")

</div>

The charging cycle dont start. I have sent you a report via the app also. Im not sure what the threshold means? Is this the maximum charging W offered to the car, and it adjust dynamicly?  
Also, remaining energy i dont understand, 0,005kwh  
Thanks

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/0/805e86afc2ec7f1964d49b4e452c0b0bf1e28ebd.png)

---

<div class="post-metadata">

**Author:** ![frodeheg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frodeheg/32/49010_2.png) [@frodeheg](https://community.homey.app/u/frodeheg)\
**Post date:** [November 5, 2022, 9:38am UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/220 "2022-11-05T09:38:34Z")

</div>

Did you add the Easee charger as controllable?  
I did add a warning about it on the main screen, but I will make it clearer on this screen as well.

The threshold tells how much available power there must be in the power budget before charging is started. It is to prevent excessive on/off in the start of the hour and ensures that the charging is done in at most a single batch per hour.

The remaining energy is a known artefact in the display when you started charging based on number of hours instead of amount of energy. I will have to fix this.

---

<div class="post-metadata">

**Author:** ![Bananfluen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bananfluen/32/8095_2.png) [@Bananfluen](https://community.homey.app/u/Bananfluen)\
**Post date:** [November 5, 2022, 9:58am UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/221 "2022-11-05T09:58:44Z")

</div>

> [@frodeheg](#):
>
> Did you add the Easee charger as controllable?

If you mean easee charger in locked mode, then yes i did.

Ok, makes sense, will try a bit more

---

<div class="post-metadata">

**Author:** ![frodeheg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frodeheg/32/49010_2.png) [@frodeheg](https://community.homey.app/u/frodeheg)\
**Post date:** [November 5, 2022, 10:35am UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/222 "2022-11-05T10:35:10Z")

</div>

No, I meant the menu option controllable devices:

 ![Screenshot_20221105_112415_app.homey_edit_117562437145080](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/7/179ec1bd813125e413a3883489c9bfe9188a1e89.jpeg)

[Previous page](https://community.homey.app/t/app-pro-piggy-bank/66677.md?page=10)

[Next page](https://community.homey.app/t/app-pro-piggy-bank/66677.md?page=12)
