[APP][Pro] Insight Trends Reloaded

I don’t think I used the null values feature on the old app (if that was there? Wasn’t familiair with it), but when I switch it on this happened
image
First the value went to -0.1, then I switched it off and on again and now the value is 0, to that seems to fix something. I’ll see what it does now

Diag sent: 8f2669a3-abc5-4a38-97aa-ef9aae72d2e8

Thats new since the SDK changed the behavior of the insights

I’m getting much better values now, tnx, I’ll see what this does

@spkesDE the reading are better, but the flow that needs to act on the trend value does not;

I have a flow that calculates the trend for humidity
image
I report the value (using another flow) to a variable (to see in insights what it does); the value goes from +0.5 to -0.5

Then I have a flow that should act on the trend


but it doens’t respond to any value, except “equal to 0”, when clearly the trend goes above the 0.06 value I set in the flow

Any idea what I’m doing wrong? This worked with the old app (the lights in the shower turned on and off in respond to a humidity-spike)

btw I checked all flows to have the proper device/capability (*). Perhaps I need to change the “1 minutes” to a longer period? I’m not sure what it does, but I want the lights to turn on as quickly as possibly in respons to humidity

(*) one of the most annoying things about Homey; I cannot see what device is selected in a flowcard. Is there any way to do this? Can’t believe this is still an issue…

Hi @spkesDE ,

It seems that the above flow cards are not available anymore. I was pleased they were added. The winter season is starting now. I want to update my flows based on this new feature. But I see now they are gone. I hope you can re-add them, they worked very well.

image

Best Regards, Hugo

1 Like

Strangely, I didnt change anything on this. I’ll figure it out.

Edit: Fixed with 1.5.1

2 Likes

Many thanks, I have updated the app and it works great again!

Hi @spkesDE,

The new feature/method to split my gas usage into tap water (hot water) usage and central heating system by percentage works great. It is far more accurate now.

As you can see in the image. Usage below the green arrow is now seen as gas usage by my heating system instead of hot water usages. This is good!

Only the values below the red arrows are missing now. This is because the percentage are rounded at whole numbers. Is it possible to update the app so it can work with smaller units for example 2 or 3 decimal?

Many thanks.

Best Regards, Hugo

1 Like

Version 1.5.2 is now live!

  • Added toggle for calculating percentage rounding in the settings.
    • It will use Significant Figures if enabeled; otherwise, it will be the full value
1 Like

Many thanks @spkesDE for the quick app update. I have performed some tests this evening and it worked very well. The smallest amounts of gas usage changes are now calculated correctly too. I’m very happy. You delivered a great job!

image

Is it possible that there is an error with the comparison of negative (trend) values:

current value -0.0000463:

my flow however returns false in this check:
image

although -0.0000463 is smaller than -0.0000416

I installed on my hp23 and it just crash after install, version 1.5.2.
I dont find anything about this in the forum.

My crash-report d17e162e-1d99-419c-ab2e-c07f7304b237

/Rikard

Hey @m.plo.b

That’s a new one for me. Can you send me a diagnostic report on the latest test version (1.5.3)

And for you, @janrikard, that issue is also new to me but fixed in 1.5.3 :slight_smile:

1 Like

Here is a flow in which the current consumption of today, yesterday, the day before yesterday and the past 7 days is calculated. Works like a charm! Thanks for this fantastic app, but this should actually be included in homey by default!

Virtual device:

3 Likes

Hello!
Want to check the tempertaur during the last 24 h. to compare with the watt for my heating.
So i made do get a average value during the day and also check the max and min temp.
But i got Max=0 and that can´t be correct. Have i wrong variable/tag? But i cant find any other that feels right.
The value i got:
Average= -16,04 C
Max=0
Min= -21,1


Skärmavbild 2024-01-20 kl. 00.37.51

Try this setting.

thanks, i think that made it.

1 Like

Hi @spkesDE,

Hope you are doing well?

Is it possible to add a smaller time unit (seconds) to the below action flow card?

image

Thanks.

Best Regards, Hugo

Hi,

I will explain why it would be very useful if a “seconds” unit is added to the above flow card.

I want to calculate our shower and bath times, but mostly this is not rounded at whole minutes.

For measurement of the duration, I use the Chronograph app with a stopwatch. This is the input for the “Insight Trends Reloaded” app. Some of the Chronograph app even haven’t a minute unit. I hope this will clarify the reason for my question about adding a “seconds” unit. I don’t want to end up in more complex calculations to change seconds to minutes. It is not an easy divide by (/60) and rounding.

image

image

Best Regards, Hugo

I looked at the code how it works again. The full system works on minutes scale. I would have to “rewrite” alot of stuff to make it work in seconds.

Hi @spkesDE,

Thanks for checking anyway, I understand that a complete code redesign would be way too much work.

I’ll try to work around it. It seems possible to use a smaller input. (result of some tests: 1 min = 11 data points, 0.5 min = 5 data points, 0.25 min = 2 data points). The number of data points is already so small that it may not yield much extra in seconds.

I am trying to observe a trend change in temperature, but that is not very successful yet.

image