burnacid / homey-com.burnacid.ztatz

Homey app for P1 Monitor ztatz (https://www.ztatz.nl/)
GNU General Public License v3.0
0 stars 3 forks source link

Usage values not correct in ztatz #55

Closed wrutjes closed 1 year ago

wrutjes commented 1 year ago

Hello,

I've created an advanced flow on my Homey and then I don't see the values ​​I expect. I assume that "Final reading electricity use today" and "Final reading electricity production today" ("Eindstand electriciteit gebruik vandaag" em "Eindstand electriciteit productie vandaag" ) retrieve values ​​from p1 monitor at 0:00 and that the flow runs.

However, I see wrong values ​​in kWh consumption while the financial values ​​are good. Am I doing something wrong?

ztatz-02b ztatz-01 ztatz-03

Thanks in advance.

Wilfried

burnacid commented 1 year ago

Are you using the tags that the if card (als) gives? or are those tags just the values from the device? As the if card triggers after reset of Ztatz day value. It it then tags the last known value back in a tag.

This works fine for me

image image
wrutjes commented 1 year ago

Hello, thanks for your answer.

I am not sure how I did it but I made 2 new (simple) flows instead of one advanced flow and there was another tag that I could use which is not available in the advanced flow "Electriciteit geproduceerd". So I now have the right values (that I want ) reported.

It somehow doesn't work very consistently and not all tags are available in both flow options it seems.

ztatz05 ztatz04 ztatz06

Kind regards,

Wilfried

burnacid commented 1 year ago

Hi Wilfried

You want to use the values from This Flow:

image

Using values from the devices might render unexpected values. As they will be 0 at 0:00 If you are missing values you rather have I could be able to make them. But for Eindstand electriciteit x vandaag it will only return the kWh value

wrutjes commented 1 year ago

For "Verbruik en opbrengst" I have used tags for this flow now and for the costs I have picked others from P1 Fiananciel Day. This is ok for me now. When I need more tags i'll let you know. Thanks for the offer and have a nice weekend.

ztatz07

kind regards, Wilfried