gruijter / com.gruijter.powerhour

Homey app to summarize power meters per hour, day and month
GNU General Public License v3.0
10 stars 13 forks source link

1% higher #82

Closed jibbedeg closed 1 year ago

jibbedeg commented 1 year ago

Hi Robin,

The Card: Price will be 1% (or other %) higher then average of this day (or upcoming 8 hours) isn't correct.

Schermafbeelding 2022-11-22 om 08 02 11

It doesn't do anything and I think why it it. It only triggers if the amount will be exactly 1%. But what I need (and I think what you mean by this card) is when it will turn BIGGER then 1% over the average, a trigger is made (that's what I need anyway). Could you change it to work correctly, or make another triggercard for that occasion? Please let me know.

Jibbe

gruijter commented 1 year ago

It should already work when larger then 1%. So im not sure what is going on.

jibbedeg commented 1 year ago

Is it possible for you to check if it works ok? Cause I don’t get a notification on just the trigger.

Kind regards, Jibbe

Op 22 nov. 2022, om 10:39 heeft gruijter @.***> het volgende geschreven:

It should already work when larger then 1%. So im not sure what is going on.

— Reply to this email directly, view it on GitHub https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgruijter%2Fcom.gruijter.powerhour%2Fissues%2F82%23issuecomment-1323374770&data=05%7C01%7C%7Ccef91fb1ce6d4ec4620208dacc6d6fd9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638047067642615801%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=tpDwkITS8o9iOjXJcd1X1mwwDLASHHaumLGnNJ5z19Y%3D&reserved=0, or unsubscribe https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA4CC343PNRC6LCOGLPQSKKLWJSIETANCNFSM6AAAAAASHOQDWE&data=05%7C01%7C%7Ccef91fb1ce6d4ec4620208dacc6d6fd9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638047067642615801%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=RF3XIkzneLkSpqi5b91Q59d3MLa%2FOihY%2FLPovi2C6yE%3D&reserved=0. You are receiving this because you authored the thread.

jibbedeg commented 1 year ago

Doesn't work, could you please check it? Same goes for "lower then average". And some other triggers which don't work the way they should in PBTH (or I might do something wrong):

Schermafbeelding 2022-11-24 om 13 12 57

On this flow every day the price is 0,16 euro per kWh, but it should vary, and I haven't put a fixed price in the app (only variable of 0,0954 euro and 9% Tax). So how come every day is the same price for a kWh? How will I get the right result of a price which is build up by differtent hourly rates?

And finally: I would like to have a flow where 4 priced CONNECTED hours will be the lowest of the day and before/after 12:00 hrs (cause the line of the EPEX is almost always build up in 2 flows on a day). Will it be possible to make this? Cause it doesn't exist at this moment.

Please let me know, then I can use them properly. Thanks!

Jibbe

jibbedeg commented 1 year ago

I think I found it:

The Power summary's of each machine/device is registered with an "Active MoneyRate" (actief tarief). He is getting that from the P1 (slimme meter). But, on the P1 you can't get an hourly rate, so it should be taken out of the PBTH NL_Netherlands part each hour. Will this be possible to change?

Jibbe

gruijter commented 1 year ago

If you still need this, please post it here: https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740