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

<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:** [July 11, 2023, 1:30am UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/668 "2023-07-11T01:30:00Z")

</div>

## New minor [test release v0.20.35](https://homey.app/a/no.sparegris/test/) available

- Made the weekend off-peak grid tax feature available to Norway as Elvia use this.
- Added support for new devices
  - net.filllip-namron:4512749
  - se.ebeco.connect:thermostat
  - com.datek.eva:smart-plug
  - nl.philips.hue:bulb
  - com.mennovanhout.smartthings:air\_conditioning

- Added to ignore list
  - com.samsung.smart:Samsung (This app should not control TV’s)
  - tesla.wall.connector:twc (The tesla app doesn’t allow other apps to control it)

Update on Tesla and other chargers:

- As I have been getting a few requests for Tesla chargers to be supported and the Tesla app still does not allow other apps to control it I will create a virtual device that you can connect any charger up to so it becomes controllable. This becomes a bit more tedious for those affected than “enable control of the Tesla charger”, but it is the only thing I can do when the other app does not expose the charger features as capabilities. (other apps can’t control flows). If you want it directly supported please request the amp control to be exposed as a capability, otherwise wait for the virtual device.

---

<div class="post-metadata">

**Author:** ![runeben](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/runeben/32/78925_2.png) [@runeben](https://community.homey.app/u/runeben)\
**Post date:** [July 11, 2023, 8:34am UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/669 "2023-07-11T08:34:58Z")

</div>

Hi @frodeheg. I can’t seem to get the app to start the charging of my VW ID.4 through my Easee charger. I have tried to override the charging currents without any luck so far, as I am not really sure what values to use. Here is the log from my latest attempt:

```auto
+7:54:38.415: attempt runDeviceCommands(onChargeStart) for Garasje (EH42AM8D)
+7:54:38.418: Ignored setting Device Garasje (EH42AM8D).target_circuit_current = 40 as the value is already 40
+7:54:38.420: finished runDeviceCommands(onChargeStart) for Garasje (EH42AM8D)
+7:54:38.421: Setting Device Garasje (EH42AM8D).target_charger_current = 20 | Origin ChangeDevicePower(7463)
+7:54:38.758: finished changeDevicePower() for Garasje (EH42AM8D) - all success
+7:54:48.779: attempt changeDevicePower(7457) for Garasje (EH42AM8D)
+7:54:48.781: aborted changeDevicePower() for Garasje (EH42AM8D) - Must wait for toggle time to expire
+7:54:58.849: attempt changeDevicePower(7454) for Garasje (EH42AM8D)
+7:54:58.852: aborted changeDevicePower() for Garasje (EH42AM8D) - Must wait for toggle time to expire
+7:55:8.928: attempt changeDevicePower(7453) for Garasje (EH42AM8D)
+7:55:8.930: aborted changeDevicePower() for Garasje (EH42AM8D) - Must wait for toggle time to expire
+7:55:18.985: attempt changeDevicePower(7445) for Garasje (EH42AM8D)
+7:55:18.987: aborted changeDevicePower() for Garasje (EH42AM8D) - Must wait for toggle time to expire
+7:55:29.026: attempt changeDevicePower(7440) for Garasje (EH42AM8D)
+7:55:29.029: aborted changeDevicePower() for Garasje (EH42AM8D) - Must wait for toggle time to expire
+7:55:38.422: onMeterUpdate was called with an invalid trigger (meter value did not change)
+7:55:38.424: Power reported from power meter: 2639
+7:55:39.057: onProcessPower (limit 1): Using: 2639W, Accum: 901.67 Wh, Pending: 7.34 Wh, Limit: 9500 Wh, Reserved: 500W, Smoothing: 125W
+7:55:39.059: onProcessPower (limit 3): Using: 2639W, Accum: 332084.65 Wh, Pending: 7.34 Wh, Limit: 4750000 Wh, Reserved: 500W, Smoothing: 0W
+7:55:39.060: Below power Limit: 7436.901063365913
+7:55:39.061: Can use 7437W more power
+7:55:39.063: Requested power change: 7437
+7:55:39.082: attempt changeDevicePower(7437) for Garasje (EH42AM8D)
+7:55:39.083: Wait more: 120 - 60.744 = 59.256 sec left
+7:55:39.084: aborted changeDevicePower() for Garasje (EH42AM8D) - Must wait for toggle time to expire
+7:55:39.109: Reached end without anything to turn on
+7:55:41.648: Settings saved, refreshing all devices.
+7:55:41.727: attempt changeDeviceState(1) for Garasje (EH42AM8D)
+7:55:41.729: finished changeDeviceState() for Garasje (EH42AM8D) - Nothing happened
+7:55:41.777: Electricity price api version 1.7.2 installed and version is ok. Device is installed and ok. Data was returned.
+7:55:41.857: Stats price set to: undefined
+7:55:42.489: Endringene har blitt lagret.
+7:55:48.249: Power reported from power meter: 2643
+7:55:49.154: onProcessPower (limit 1): Using: 2643W, Accum: 911.67 Wh, Pending: 1.64 Wh, Limit: 9500 Wh, Reserved: 500W, Smoothing: 120W
+7:55:49.156: onProcessPower (limit 3): Using: 2643W, Accum: 332094.65 Wh, Pending: 1.64 Wh, Limit: 4750000 Wh, Reserved: 500W, Smoothing: 0W
+7:55:49.158: Below power Limit: 7435.247043618411
+7:55:49.161: Can use 7435W more power
+7:55:49.162: Requested power change: 7435
+7:55:49.236: attempt changeDevicePower(7435) for Garasje (EH42AM8D)
+7:55:49.237: Wait more: 120 - 70.841 = 49.159000000000006 sec left
+7:55:49.239: aborted changeDevicePower() for Garasje (EH42AM8D) - Must wait for toggle time to expire
+7:55:49.293: Reached end without anything to turn on
+7:55:58.071: Power reported from power meter: 2641
+7:55:59.309: onProcessPower (limit 1): Using: 2641W, Accum: 921.67 Wh, Pending: 0.00 Wh, Limit: 9500 Wh, Reserved: 500W, Smoothing: 115W
+7:55:59.310: onProcessPower (limit 3): Using: 2641W, Accum: 332104.65 Wh, Pending: 0.00 Wh, Limit: 4750000 Wh, Reserved: 500W, Smoothing: 0W
+7:55:59.312: Below power Limit: 7430.667425241509
+7:55:59.313: Can use 7431W more power
+7:55:59.314: Requested power change: 7431
+7:55:59.331: attempt changeDevicePower(7431) for Garasje (EH42AM8D)
+7:55:59.335: Wait more: 120 - 80.995 = 39.004999999999995 sec left
+7:55:59.336: aborted changeDevicePower() for Garasje (EH42AM8D) - Must wait for toggle time to expire
+7:55:59.359: Reached end without anything to turn on
+7:56:7.907: onMeterUpdate was called with an invalid trigger (meter value did not change)
+7:56:7.909: Power reported from power meter: 2647
+7:56:9.366: onProcessPower (limit 1): Using: 2647W, Accum: 921.67 Wh, Pending: 5.49 Wh, Limit: 9500 Wh, Reserved: 500W, Smoothing: 110W
+7:56:9.367: onProcessPower (limit 3): Using: 2647W, Accum: 332104.65 Wh, Pending: 5.49 Wh, Limit: 4750000 Wh, Reserved: 500W, Smoothing: 0W
+7:56:9.369: Below power Limit: 7427.7681383652725
+7:56:9.370: Can use 7428W more power
+7:56:9.372: Requested power change: 7428
+7:56:9.390: attempt changeDevicePower(7428) for Garasje (EH42AM8D)
+7:56:9.392: Wait more: 120 - 91.053 = 28.947000000000003 sec left
+7:56:9.393: aborted changeDevicePower() for Garasje (EH42AM8D) - Must wait for toggle time to expire
+7:56:9.423: Reached end without anything to turn on
+7:56:17.727: Power reported from power meter: 3539
+7:56:19.431: onProcessPower (limit 1): Using: 3539W, Accum: 931.67 Wh, Pending: 2.73 Wh, Limit: 9500 Wh, Reserved: 500W, Smoothing: 105W
+7:56:19.434: onProcessPower (limit 3): Using: 3539W, Accum: 332114.65 Wh, Pending: 2.73 Wh, Limit: 4750000 Wh, Reserved: 500W, Smoothing: 0W
+7:56:19.437: Below power Limit: 7397.617663945602
+7:56:19.444: Can use 7398W more power
+7:56:19.447: Requested power change: 7398
+7:56:19.491: attempt changeDevicePower(7398) for Garasje (EH42AM8D)
+7:56:19.494: Wait more: 120 - 101.117 = 18.882999999999996 sec left
+7:56:19.496: aborted changeDevicePower() for Garasje (EH42AM8D) - Must wait for toggle time to expire
+7:56:19.524: Reached end without anything to turn on
+7:56:27.546: Power reported from power meter: 3532
+7:56:29.531: onProcessPower (limit 1): Using: 3532W, Accum: 941.67 Wh, Pending: 3.92 Wh, Limit: 9500 Wh, Reserved: 500W, Smoothing: 101W
+7:56:29.532: onProcessPower (limit 3): Using: 3532W, Accum: 332124.65 Wh, Pending: 3.92 Wh, Limit: 4750000 Wh, Reserved: 500W, Smoothing: 0W
+7:56:29.533: Below power Limit: 7391.35062582791
+7:56:29.535: Can use 7391W more power
+7:56:29.536: Requested power change: 7391
+7:56:29.556: attempt changeDevicePower(7391) for Garasje (EH42AM8D)
+7:56:29.558: Wait more: 120 - 111.217 = 8.783000000000001 sec left
+7:56:29.560: aborted changeDevicePower() for Garasje (EH42AM8D) - Must wait for toggle time to expire
+7:56:29.585: Reached end without anything to turn on
+7:56:37.376: Power reported from power meter: 3535
+7:56:39.589: onProcessPower (limit 1): Using: 3535W, Accum: 951.67 Wh, Pending: 0.00 Wh, Limit: 9500 Wh, Reserved: 500W, Smoothing: 96W
+7:56:39.591: onProcessPower (limit 3): Using: 3535W, Accum: 332134.65 Wh, Pending: 0.00 Wh, Limit: 4750000 Wh, Reserved: 500W, Smoothing: 0W
+7:56:39.594: Below power Limit: 7388.194172098253
+7:56:39.595: Can use 7388W more power
+7:56:39.597: Requested power change: 7388
+7:56:39.612: attempt changeDevicePower(7388) for Garasje (EH42AM8D)
+7:56:39.613: Setting 20 amp, was 0
+7:56:39.615: Got onChargeStart for no.easee:charger
+7:56:39.630: attempt runDeviceCommands(onChargeStart) for Garasje (EH42AM8D)
+7:56:39.631: Ignored setting Device Garasje (EH42AM8D).target_circuit_current = 40 as the value is already 40
+7:56:39.633: finished runDeviceCommands(onChargeStart) for Garasje (EH42AM8D)
+7:56:39.635: Setting Device Garasje (EH42AM8D).target_charger_current = 20 | Origin ChangeDevicePower(7388)
+7:56:39.916: finished changeDevicePower() for Garasje (EH42AM8D) - all success
+7:56:39.918: Turn on success
+7:56:47.193: Power reported from power meter: 3543
+7:56:49.928: onProcessPower (limit 1): Using: 3543W, Accum: 961.67 Wh, Pending: 3.90 Wh, Limit: 9500 Wh, Reserved: 500W, Smoothing: 91W
+7:56:49.930: onProcessPower (limit 3): Using: 3543W, Accum: 332144.65 Wh, Pending: 3.90 Wh, Limit: 4750000 Wh, Reserved: 500W, Smoothing: 0W
+7:56:49.931: Below power Limit: 7381.089452865647
+7:56:49.932: Can use 7381W more power
+7:56:49.936: Requested power change: 7381
+7:56:49.951: attempt changeDevicePower(7381) for Garasje (EH42AM8D)
+7:56:49.952: Wait more: 120 - 10.339 = 109.661 sec left
+7:56:49.954: aborted changeDevicePower() for Garasje (EH42AM8D) - Must wait for toggle time to expire
+7:56:49.979: Reached end without anything to turn on
+7:56:57.023: Power reported from power meter: 3544
+7:56:59.987: onProcessPower (limit 1): Using: 3544W, Accum: 971.67 Wh, Pending: 3.99 Wh, Limit: 9500 Wh, Reserved: 500W, Smoothing: 86W
+7:56:59.990: onProcessPower (limit 3): Using: 3544W, Accum: 332154.65 Wh, Pending: 3.99 Wh, Limit: 4750000 Wh, Reserved: 500W, Smoothing: 0W
+7:56:59.991: Below power Limit: 7375.781051023248
+7:56:59.993: Can use 7376W more power
+7:56:59.994: Requested power change: 7376
+7:57:0.010: attempt changeDevicePower(7376) for Garasje (EH42AM8D)
+7:57:0.012: Wait more: 120 - 20.397 = 99.60300000000001 sec left
+7:57:0.013: aborted changeDevicePower() for Garasje (EH42AM8D) - Must wait for toggle time to expire
+7:57:0.160: Reached end without anything to turn on
+7:57:6.847: Power reported from power meter: 3536
+7:57:10.171: onProcessPower (limit 1): Using: 3536W, Accum: 981.67 Wh, Pending: 1.42 Wh, Limit: 9500 Wh, Reserved: 500W, Smoothing: 81W
+7:57:10.174: onProcessPower (limit 3): Using: 3536W, Accum: 332164.65 Wh, Pending: 1.42 Wh, Limit: 4750000 Wh, Reserved: 500W, Smoothing: 0W
+7:57:10.176: Below power Limit: 7372.272359404335
+7:57:10.177: Can use 7372W more power
+7:57:10.179: Requested power change: 7372
+7:57:10.203: attempt changeDevicePower(7372) for Garasje (EH42AM8D)
+7:57:10.204: Wait more: 120 - 30.581 = 89.419 sec left
+7:57:10.206: aborted changeDevicePower() for Garasje (EH42AM8D) - Must wait for toggle time to expire
+7:57:10.232: Reached end without anything to turn on
+7:57:16.660: Power reported from power meter: 3537
+7:57:20.239: onProcessPower (limit 1): Using: 3537W, Accum: 991.67 Wh, Pending: 3.90 Wh, Limit: 9500 Wh, Reserved: 500W, Smoothing: 76W
+7:57:20.242: onProcessPower (limit 3): Using: 3537W, Accum: 332174.65 Wh, Pending: 3.90 Wh, Limit: 4750000 Wh, Reserved: 500W, Smoothing: 0W
+7:57:20.245: Below power Limit: 7365.931183263109
+7:57:20.251: Can use 7366W more power
+7:57:20.254: Requested power change: 7366
+7:57:20.287: attempt changeDevicePower(7366) for Garasje (EH42AM8D)
+7:57:20.290: Wait more: 120 - 40.649 = 79.351 sec left
+7:57:20.293: aborted changeDevicePower() for Garasje (EH42AM8D) - Must wait for toggle time to expire
+7:57:20.339: Reached end without anything to turn on
+7:57:26.474: Power reported from power meter: 3535
+7:57:30.350: onProcessPower (limit 1): Using: 3535W, Accum: 1001.67 Wh, Pending: 3.30 Wh, Limit: 9500 Wh, Reserved: 500W, Smoothing: 71W
+7:57:30.351: onProcessPower (limit 3): Using: 3535W, Accum: 332184.65 Wh, Pending: 3.30 Wh, Limit: 4750000 Wh, Reserved: 500W, Smoothing: 0W
+7:57:30.353: Below power Limit: 7361.5201893136655
+7:57:30.354: Can use 7362W more power
+7:57:30.356: Requested power change: 7362
+7:57:30.374: attempt changeDevicePower(7362) for Garasje (EH42AM8D)
+7:57:30.376: Wait more: 120 - 50.76 = 69.24000000000001 sec left
+7:57:30.377: aborted changeDevicePower() for Garasje (EH42AM8D) - Must wait for toggle time to expire
+7:57:30.405: Reached end without anything to turn on
+7:57:36.293: Power reported from power meter: 3536
+7:57:40.427: onProcessPower (limit 1): Using: 3536W, Accum: 1011.67 Wh, Pending: 1.50 Wh, Limit: 9500 Wh, Reserved: 500W, Smoothing: 66W
+7:57:40.429: onProcessPower (limit 3): Using: 3536W, Accum: 332194.65 Wh, Pending: 1.50 Wh, Limit: 4750000 Wh, Reserved: 500W, Smoothing: 0W
+7:57:40.432: Below power Limit: 7357.01753992586
+7:57:40.439: Can use 7357W more power
+7:57:40.442: Requested power change: 7357
+7:57:40.480: attempt changeDevicePower(7357) for Garasje (EH42AM8D)
+7:57:40.483: Wait more: 120 - 60.837 = 59.163 sec left
+7:57:40.485: aborted changeDevicePower() for Garasje (EH42AM8D) - Must wait for toggle time to expire
+7:57:40.517: Reached end without anything to turn on
+7:57:46.109: Power reported from power meter: 3534
+7:57:50.523: onProcessPower (limit 1): Using: 3534W, Accum: 1021.67 Wh, Pending: 2.93 Wh, Limit: 9500 Wh, Reserved: 500W, Smoothing: 61W
+7:57:50.526: onProcessPower (limit 3): Using: 3534W, Accum: 332204.65 Wh, Pending: 2.93 Wh, Limit: 4750000 Wh, Reserved: 500W, Smoothing: 0W
+7:57:50.532: Below power Limit: 7351.791123800587
+7:57:50.535: Can use 7352W more power
+7:57:50.538: Requested power change: 7352
+7:57:50.568: attempt changeDevicePower(7352) for Garasje (EH42AM8D)
+7:57:50.570: Wait more: 120 - 70.934 = 49.066 sec left
+7:57:50.572: aborted changeDevicePower() for Garasje (EH42AM8D) - Must wait for toggle time to expire
+7:57:50.616: Reached end without anything to turn on
+7:57:53.602: onMonitor()
+7:57:53.628: Monitor completed with state: true
+7:57:55.934: Power reported from power meter: 2650
+7:58:0.630: onProcessPower (limit 1): Using: 2650W, Accum: 1031.67 Wh, Pending: 1.54 Wh, Limit: 9500 Wh, Reserved: 500W, Smoothing: 57W
+7:58:0.631: onProcessPower (limit 3): Using: 2650W, Accum: 332214.65 Wh, Pending: 1.54 Wh, Limit: 4750000 Wh, Reserved: 500W, Smoothing: 0W
+7:58:0.632: Below power Limit: 7362.448746429876
+7:58:0.635: Can use 7362W more power

```

Do you have any tips on how to get this to work?

---

<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:** [July 11, 2023, 1:25pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/670 "2023-07-11T13:25:57Z")

</div>

@frodeheg

Hi.  
Price still isn’t correct. Not sure why.

 ![Screenshot_2023-07-11-15-14-27-74_4bbfc4a7dd885a2bb189f300112a7ed4](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/4/4492de089bbb010dc0d7c2dcc4e9a1c8c58ea2c8.jpeg)

Spotprice (inkl taxes and fees): 0,84  
Surplus: 0,02  
Grid: 0,4355  
= 1,2955

![Screenshot_2023-07-11-15-13-48-33_4bbfc4a7dd885a2bb189f300112a7ed4](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/3/830b912d87327086c4969a70e5df2b707786e605.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:** [July 11, 2023, 10:02pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/671 "2023-07-11T22:02:31Z")

</div>

> [@runeben](#):
>
> Do you have any tips on how to get this to work?

Do you have anything else controlling the charger? Is Tibber smart charging disabled?  
As far as I can see the charger is instructed to use 20 amps. The report says that this has been changed successfully, however, I cannot see any change in power usage, it’s steadily low around 2500W - 3500W.

This may also be related to the car itself, I heard from someone else that one VW car did not support pausing charging, so he had to set the pause current to something higher otherwise the charging could not resume after it had been paused. Can this be the case?

Other unrelated problems I see are these:

> +7:55:41.857: Stats price set to: undefined

e.g. you don’t get the power price from the external app for some reason, so the external app may not be configured correctly or you may be using fixed prices which the external app does not forward prices for. If you cannot use the external price fetching then please try the internal one instead.

> onMeterUpdate was called with an invalid trigger (meter value did not change)

It seems like Piggy is getting updated with a constant meter reader value. This should not happen so please use the correct trigger for this. e.g. on meter-reader changed then send new value to piggy… but I would recommend using the meter reader selected directly instead if your meter reader is supported… if not please send me a device dump of the meter reader you have and I will add direct support for it. This will improve the accuracy because the flows don’t send the time the signals were measured.

---

<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:** [July 11, 2023, 10:13pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/672 "2023-07-11T22:13:52Z")

</div>

> [@Torbjorn\_Melbye](#):
>
> Price still isn’t correct. Not sure why.

Odd, I don’t have a problem with this, is your time-zone for Homey set correctly?  
You can check your time zone and homey time here:  
[https://tools.developer.homey.app/tools/system](https://tools.developer.homey.app/tools/system)  
check the variables

- dateHuman “Wednesday 12th July 2023 00:11:59”
- timezone: “Europe/Oslo”

If they are wrong then the only way to change them are by [setting the homey location and reboot the homey and hope for the best](https://community.homey.app/t/how-to-set-time-in-homey/44480).

---

<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:** [July 11, 2023, 10:44pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/673 "2023-07-11T22:44:44Z")

</div>

Ah, that is probably it. Timezone is correct, but the clock seems to be two hours behind.  
I’ll restart and see what happens.

Edit: jepp, that worked 👍🏻 thanks

---

<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:** [July 12, 2023, 11:09am UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/674 "2023-07-12T11:09:52Z")

</div>

Sorry to nag you with this but I can’t seem to get the correct price.  
Time is now correct, but price is off by a few øre

 ![Screenshot_2023-07-12-13-07-16-76_7ea78f8a473b1abdf2a2d64da2436ec8](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/4/24a7a263c1949863539cf227458b95472011c38b.jpeg)  
 ![Screenshot_2023-07-12-13-07-28-32_4bbfc4a7dd885a2bb189f300112a7ed4](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/7/e7275d649606e790057858a9882ec32b82330d5a.jpeg)  
 ![Screenshot_2023-07-12-13-09-26-77_40deb401b9ffe8e1df2f1cc5ba480b12](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/8/6826dea56db9e5926b4c1f91d333a1eea3928bb8.jpeg)

Edit:  
Now at 10pm the price is correct. Any chance the higher grid price between 6am and 10pm isn’t calculated correctly?

---

<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:** [July 12, 2023, 9:47pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/675 "2023-07-12T21:47:16Z")

</div>

You are absolutely correct,  
So, in an earlier version, this was correct, but then I changed the hour format for the default setting at some point, which messed this up for new users after that point.  
Since I already had it stored correctly in my settings I didn’t notice… also the test program didn’t notice because it was using the correct hour format. Thus it has evaded my validation script so far. Sorry about that.

Thanks for letting me know, I will attempt to fix it and send out a new test version tonight.

---

<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:** [July 12, 2023, 10:15pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/676 "2023-07-12T22:15:54Z")

</div>

Feels good to be correct for once 😅  
Great. The difference in price is minimal, so doesn’t affect the functionality in any massive way really, but you know. OCD 😝

---

<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:** [July 13, 2023, 8:49am UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/677 "2023-07-13T08:49:41Z")

</div>

I attempted a fix in [test version 0.20.36](https://homey.app/a/no.sparegris/test), but since I’m on vacation and don’t have direct access to my Homey I have not been able to do a lot of testing on it, so I cross my fingers that it works.

It may be that you have to wait up to 36 hours before the change takes effect because I think the grid tax is applied to the price once fetched from the internet, and if the app fetched the future prices for the next 36 hours before the app was updated then you will not notice anything before some time has lapsed.

---

<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:** [July 13, 2023, 7:19pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/678 "2023-07-13T19:19:16Z")

</div>

Great, thank you! Enjoy your vacation 😁

---

<div class="post-metadata">

**Author:** ![runeben](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/runeben/32/78925_2.png) [@runeben](https://community.homey.app/u/runeben)\
**Post date:** [July 13, 2023, 7:27pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/679 "2023-07-13T19:27:07Z")

</div>

I have managed to get the charger to start now but it only seems to work if I disable the price control option, and it seems like something shuts the charger down after about 1 minute:

```auto
+19:22:1.823: Power reported from power meter: 5411
+19:22:2.527: Power reported from power meter: 5418
+19:22:5.007: Power reported from power meter: 5413
+19:22:8.072: Power keep alive signal.
+19:22:8.145: Power reported from power meter: 5414
+19:22:11.525: onProcessPower (limit 1): Using: 5414W, Accum: 0.00 Wh, Pending: 545.16 Wh, Limit: 9500 Wh, Reserved: 500W, Smoothing: 1129W
+19:22:11.526: Below power Limit: 9425.603690949361
+19:22:11.527: Can use 9426W more power
+19:22:11.530: Requested power change: 9426
+19:22:11.552: attempt changeDevicePower(9426) for Garasje (EH42AM8D)
+19:22:11.553: Setting 7 amp, was 20
+19:22:11.554: Got onChargeStart for no.easee:charger
+19:22:11.572: attempt runDeviceCommands(onChargeStart) for Garasje (EH42AM8D)
+19:22:11.574: Ignored setting Device Garasje (EH42AM8D).target_circuit_current = 40 as the value is already 40
+19:22:11.576: finished runDeviceCommands(onChargeStart) for Garasje (EH42AM8D)
+19:22:11.577: Setting Device Garasje (EH42AM8D).target_charger_current = 7 | Origin ChangeDevicePower(9426)
+19:22:11.926: finished changeDevicePower() for Garasje (EH42AM8D) - all success
+19:22:11.928: Turn on success
+19:22:13.991: Power reported from power meter: 5416
+19:22:17.562: Power reported from power meter: 5413
+19:22:17.876: Power keep alive signal.
+19:22:21.116: Power reported from power meter: 711
+19:22:21.935: onProcessPower (limit 1): Using: 711W, Accum: 0.00 Wh, Pending: 564.66 Wh, Limit: 9500 Wh, Reserved: 500W, Smoothing: 1121W
+19:22:21.939: Below power Limit: 14155.397132647178
+19:22:21.942: Can use 14155W more power
+19:22:21.944: Requested power change: 14155
+19:22:21.965: attempt changeDevicePower(14155) for Garasje (EH42AM8D)
+19:22:21.967: Wait more: 120 - 10.411 = 109.589 sec left
+19:22:21.969: aborted changeDevicePower() for Garasje (EH42AM8D) - Must wait for toggle time to expire
+19:22:22.005: Reached end without anything to turn on
+19:22:22.510: Power reported from power meter: 709
+19:22:25.012: Power reported from power meter: 704
+19:22:27.684: Power keep alive signal.

```

> [@frodeheg](#):
>
> Do you have anything else controlling the charger? Is Tibber smart charging disabled?

Nope, I don’t use Tibber.

> [@frodeheg](#):
>
> you don’t get the power price from the external app for some reason

Not sure what I am doing wrong here. I have tried to use the internal price but I still get this message.

> [@frodeheg](#):
>
> It seems like Piggy is getting updated with a constant meter reader value

This was a configuration error on my part. I had selected my meter reader even though it is not supported. I have fixed this now. I am using the Pow-U meter reader btw. if you want to add support for that ([Homey-integrasjon](https://amsleser.no/blog/post/19-homey-integrasjon)).

---

<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:** [July 13, 2023, 10:55pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/680 "2023-07-13T22:55:26Z")

</div>

> [@runeben](#):
>
> and it seems like something shuts the charger down after about 1 minute

As far as I can see Piggy signals the charger correctly and get a response that it has changed, so then it just turns off by itself.

If you remove the charger from Piggys control and adjust the sliders in the Homey Easee app, what happens then? Does it work when you use the direct control from there?

> [@runeben](#):
>
> I had selected my meter reader even though it is not supported.

Hmmm, the MQTT meter reader support is a bit odd, if it doesn’t work properly then I can try to adapt it if you send me a device report by following the same procedure as here: [[APP][Pro] Piggy Bank - #646 by frodeheg](https://community.homey.app/t/app-pro-piggy-bank/66677/646)

---

<div class="post-metadata">

**Author:** ![Glenn\_Johnsen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/glenn_johnsen/32/81062_2.png) [@Glenn\_Johnsen](https://community.homey.app/u/Glenn_Johnsen)\
**Post date:** [July 16, 2023, 6:24am UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/681 "2023-07-16T06:24:51Z")

</div>

Hi, today the price is negative for several hours. Is it possible to improve the apps price magic to handle more than -100%? Now its not possible to wait for the absolute cheapest / negative hours. Maybe it could be easier to spread price points between todays minimum and maximum price somehow.

---

<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:** [July 16, 2023, 11:24pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/682 "2023-07-16T23:24:01Z")

</div>

You are right. While “dirt cheap” allows you to build an extra heat/cold buffer in the house, it doesn’t encourage over-use like a negative price point would. Thus there is room for adding this to the app. Though, I don’t think negative prices will be a phenomenon that will be recurrent in the future as market forces will find a way to take advantage of this eventually so the end users will probably not experience this much longer (1-2 years). Thus I would rather encourage you to just create a flow that checks the “Current price” from “Piggy Bank Insights” and turn on whatever you can when it becomes negative (for the time being).

Apart from that, the app is broken if the price average from which price point borders are calculated is negative. In this case, it will invert what is treated as cheap and expensive, thus I need to update the price point calculation for this case, if it will ever occur. (EDIT: Fixed in version [0.20.37](https://homey.app/a/no.sparegris/test))

> [@Glenn\_Johnsen](#):
>
> Maybe it could be easier to spread price points between todays minimum and maximum price somehow.

This is already possible, just set a minimum amount of cheap/expensive hours per day in the app settings.

---

<div class="post-metadata">

**Author:** ![Helge\_Maeland](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/helge_maeland/32/80102_2.png) [@Helge\_Maeland](https://community.homey.app/u/Helge_Maeland)\
**Post date:** [July 20, 2023, 4:46pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/683 "2023-07-20T16:46:57Z")

</div>

Hi.  
there seems to be an issue with flow cards in the piggy bank app. There are several cards that are “When” cards that should have been “Then” cards and vice versa… v0.20.33

 ![Skjermbilde 2023-07-20 kl. 18.41.32](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/2/d2dd249b12d66b5c2f36729dce7640c22ede4883.png)

---

<div class="post-metadata">

**Author:** ![runeben](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/runeben/32/78925_2.png) [@runeben](https://community.homey.app/u/runeben)\
**Post date:** [July 20, 2023, 7:57pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/684 "2023-07-20T19:57:08Z")

</div>

> [@frodeheg](#):
>
> If you remove the charger from Piggys control and adjust the sliders in the Homey Easee app, what happens then? Does it work when you use the direct control from there?

Hmm, it seems the Easee Home app disables the charger as soon as I adjust the slider.

---

<div class="post-metadata">

**Author:** ![KHaugen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/khaugen/32/79563_2.png) [@KHaugen](https://community.homey.app/u/KHaugen)\
**Post date:** [July 27, 2023, 8:31am UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/685 "2023-07-27T08:31:32Z")

</div>

Hi,

Are there any plans om implementing zaptec charger in the app? Or should i start on making flows?

---

<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:** [July 27, 2023, 10:41am UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/686 "2023-07-27T10:41:47Z")

</div>

> [@Helge\_Maeland](#):
>
> There are several cards that are “When” cards that should have been “Then” cards and vice versa… v0.20.33

Sorry about the delay, I have been in Lego-land on vacation, I’ll look into this in a few days when I return home.

> [@runeben](#):
>
> Hmm, it seems the Easee Home app disables the charger as soon as I adjust the slider.

It sounds like a setting that needs to be changed on the Easee home app. Did you figure it out? I am sorry I can’t help you with that as I don’t have an Easee charger.

> [@KHaugen](#):
>
> Are there any plans om implementing zaptec charger in the app?

Yes, all devices that are not supported that I get a device report from will eventually be supported.  
You can follow the steps listed [in the common questions list](https://community.homey.app/t/app-pro-piggy-bank/66677) to send a device report.

---

<div class="post-metadata">

**Author:** ![Jan\_Harald\_Andersen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_harald_andersen/32/71098_2.png) [@Jan\_Harald\_Andersen](https://community.homey.app/u/Jan_Harald_Andersen)\
**Post date:** [August 3, 2023, 9:38pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/687 "2023-08-03T21:38:08Z")

</div>

Hi.  
I´m not getting the Easee charger to work in Homey with the Piggybank. Have the same problems reported by ´runeben´. Nothing happens when Piggybank is in control, no charging when the power is cheap. Have a flow asking for charging the 3 cheapest hours, and the 3 poles show in the app at correct time. But it won´t charge the car, though it is connected. Can only use the Easee app to charge… Is there any flow I am missing, one that shall start the charging - or is Piggybank supposed to do it all by itself at the cheapest hours that is set?  
Easee app only reports «paused» or «waiting for smart charge» when Piggy is in control.  
By the way, Piggybank is great! Works perfectly on all other devices!

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

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