[APP][Pro] Insight Trends Reloaded

It seems there is no calculation/output.
Anybody an idea how to fix this?

Thanks in advance!

You’d use the [trend] tag I guess.
The selection list you show, just doesn’t show preview values @ Pro 23, like the Pro 16-19 still does.

I do wanna use the trend tag indeed. But this is not generate and I can not use.
I want to use Logic to determine the value and then do something with that trend. But there is no #trend generate, indeed using HP23.

First connect the cards, for the first (left-hand) logic card field, you’d select the variable name you want the value to be saved.
In the field on the right, you’d be able to select a tag, and then select one of the flow tags / local tags on top of the selection list.
Don’t use the filter.

Seems I do succeed!
Thanks for your information!

1 Like

Hi! Something is not working properly for me.. I make a flow so each 15 minutes a trend in energy usage (watt) is calculated over the last 30 minutes.

These are the results (with manually activating the flow). Energy usage is from the eye ± -11.000 watt.. The flow is calculating an average of ± 0.75. What is this 0.75? And how can i calculate the average of watts :slight_smile:

You are using the tag ‘trend’. You should use ‘average ‘


Yes, that was the solution. THanks!

Hi
Thank you for this great app, which seems to do exactly what I would like - but so far I didn’t manage to


I would like to write the rolling “Maximum Value” of the the insight “Gust strength (km/h)” to the variable “rolling_gust”. I would like to do this while a given condition is “true”.
My use case is for awnings: I pull them up if “Gust Strength” exceeds a certain value, and would like to pull them down again, if the gusts have calm down for a while, hence the rolling maximum recording and tracking

Any help like screenshots of how you use this would be highly appreciated

Hi,

You’re supposed to use the “calculate trend” and “when trend calc finished” cards in two flow segments, like this

thank you so much Peter, now it works as expected!
(seems easy - when you know how :slightly_smiling_face: )

1 Like

@Rick_Heesakkers I just posted this question about calculating the total rainfall in the past 72 hours, how did you solve it? [APP][Pro] Advanced Virtual Device (Device Capabilities App) with Unique Text Status Indicator - #757 by Wout_van_den_Dool

@Wout,

It has been a while, but I created a flow that every hour calculates the trend for rain (mm) based on the last 1 hour.

Next another flow - when calculation has finished - calculates total rain for the last 1 hour with this comment:

Insight trend used 720 datapoints, but my Tempest device delivers only 60 datapoints (1 minute interval).
So calculate total as average * (datapoints / 12).

Next, just keep score with a flow that adds total per hour to total per day (or three days or whatever). With a reset of course.

GL

Thanks @Rick_Heesakkers, I found that the Weather Underground app also provides historical data, so no need to record this in separate calculations. My irrigation system is almost finished


App crashes on start since yesterday.
Exit Code: 1, Exit Signal: null
I’ve sent a report: f7e5429f-c05d-49fb-af9a-5b515b1cf105

Hey,

I found the issue. Somehow the cloud URL of your Homey couldn’t be read. I made a change on startup to prevent the app from crashing. Some icons might not be visible though when using the app.


:rocket: Version 1.5.8 – Now live!

:memo: Changelog

  • Fixed a startup crash that could occur on some systems

:bulb: Contribute to My Development:

If you appreciate my work, consider buying me an energy drink :zap: or a beer :beer:.
Your donation is highly appreciated and keeps the motivation high!

:woman_technologist: Developers, Get Involved!

If you’re a developer and want to contribute, feel free to add a pull request to GitHub. Your collaboration is welcomed and valued in making this project even better! :rocket:

1 Like

Oh wow, that was fast. Thanks!

Hello;

Thanks for your work.

This simple flow is not working.

What is going wrong please?

Thx for your help!

Looks like the data is somehow 0.
How does it look in homey insights?

This is the result.

NettoP works fine. Insight NettoP doesn’t work.