[APP][Pro] Piggy Bank

Is it possible somehow to trigger flows based on the mode(day, night, etc)? I cannot find a way to do so.

The reason there is no trigger for this is because Piggy cannot change the mode on its own, all mode changes are triggered by external events. Thus, the natural thing would be to use the same trigger.

Otherwise, you have an and-card to check the mode, so you can make a custom trigger with a timer. For example every hour 5 minutes after the hour start check if the and-card is equal to the mode you want.

New version available (0.19.29)

Finally, I feel confident that the new version I have been testing locally for the last few weeks can be pushed to community testing. I needed to be confident about some significant and risky changes before I published it to anyone else so I didn’t ruin your app and history.

  • Added support for meter readers so now you don’t have to use flows for this.
  • The app will now keep track of how many minutes every hour that it does not get power data reported from the meter reader. This will show in the graphs when you hover over the bars.
  • Added tracking of cost (including from the known history). There is no graph for it yet but there will be soon.
  • Added generic throttle for all devices
  • The statistics now have an expiration date. This is needed to avoid huge data piling up on the homey disk. Since you’re already used to the history I set it to 365 days for daily data and 31 days for hourly data for people who already have accumulated statistics. For new users of the app, it defaults to 62 and 7 respectively. You can turn it down if you want to save space on homey.
  • Added support for 3-phase charging for Easee
  • A bit of UI & Graph fixes
  • New devices supported
    • climate.onecta.daikin:perfera_floor_fvxm
    • com.datek.eva:meter-reader
    • com.tibber:pulse
    • no.easee:equalizer
    • (I have no pending device support to be added as I have no reports, please resend your report if you sent one earlier that was not added. Note that the prior reporting system was a bit lossy, it has been reliable since Christmas only)

Note for those with Easee chargers

As the above update adds support for 3-phase charging there are some changes that might affect those with Easee chargers. Please give feedback if these cause trouble.

  • Previously when a charging cycle was started but delayed due to schedule the charger was set to offer the pauseCurrent. Now this is equal to the stopCurrent until the actual charging starts. Then the new variable startCurrent will be set before the current is adjusted as before
  • Previously when charging was stopped it was set to 0A, this is now equal to the stopCurrent so it can be overridden to for example 7A if you want the car to always charge at a minimum current even outside of the charging cycles

You could use this build-in dynamic “And” card:

Sorry, here in english:

Trying to get Piggy Bank control our Easee chargers…
We have Tibber, Easee chargers, Tesla, Volvo but haven’t quite got the hang of it.
What is best practice?
Where should/shouldn’t smart charging be activated or not?
From what I understand Easee chargers are supposed to be fully integrated but they never starts charging as long as I have enabled it as a controllable device.
Piggy Bank works on everything else in our house that is set up to be controllable, so there is obviously something I’m doing wrong with the setup of Piggy Bank and our Easee chargers.

Im also in this process. Is Easee one of the supported chargers? If yes, can somebody show a Sparegris-flow that controls charging dynamically (not just turning off the charger), if the power goes over 10 or 15 KwH, while also only charging the x cheapest hours per day?

When you have added Easee as a controllable device you can use the flow referenced below to start the charging.


(note that if Easee has not been added as a controllable device it will not be turned on. Charging will then be kept within the specified hourly tariff limit)

If you want to know which hours have been scheduled for charging then you can enter the Piggy bank setup, click the advanced menu, and select Car charging. The graph will show an overlay of the selected hours to charge over the prices.

Note that since charging is kept within the hourly tariff it is capped so you might want to add an extra hour or two if you’re balancing close to the limit and especially if it’s cold outside so more of the hourly tariff is used for heating the house (less left for charging). In that case it might be better to use this instead:


(and if you have access to the % fullness of the battery you can calculate how much kWh charging is needed and then input it to the flow.)

Thanks for your quick respond!

I will try this out and I assume smart charging in Tibber should be deactivated?

Indeed

Ok :slight_smile:

Thanks for your great work!

1 Like

What to do? :ocean:


65fe2257-5eb2-4b27-90b7-756cc8482421

I have same problem, it came after a restart of the Homey Pro

Thanks, frodeheg. Seemed to work, but I noticed that Sparegris did not seem to adjust up the charing speed during night time. It should adjust both up and down depending on how much capacity you have before going over your treshold, correct?

And I also get the same error message Alf and Krisch2 now, so seems like something is down on the server side?

I confirm. I see the same now, but I cannot check what it is before I am home in an hour +
Are you all on the test release, or are some of you on the stable release?

0.19.26 for me

I am on stable @frodeheg.

No rush, take your time.

Same (I think i auto reboot once every month).

It seems to be related to Norges bank having changed their API today where I fetch currency exchange rates. I will have an update ready shortly.

1 Like

Sweet frodeheg, I will try to donate for your nice work with Piggy Bank & Høiax app. Really appreciate your good work for the community.

2 Likes