Page 1 of 1

Trend data

Posted: Sat Jun 18, 2022 11:51 am
by masgio69
Hello everyone, I state that I tried to search in the forum but I did not find anything, I wanted to create a page with trend data (for example temperature), but I found the selectors only up to 24 h, it is not possible to have even those at 1 week, 1 month, 1 year? I have tried several solutions but I can't, thanks a lot to those who can help me.

Re: Trend data

Posted: Sat Jun 18, 2022 1:07 pm
by masgio69
Send some sample tags to better understand, [th0temp-act.1: -] ° C current temperature, [th0temp-delta1h: -] ° C temperature 1 hour ago, [th0temp-delta24h: -] ° C temperature 24 hours ago, I can't find the tags for the temperature of 1 month ago and the temperature of 1 year ago .......

Re: Trend data

Posted: Wed Jun 22, 2022 9:16 am
by masgio69
Can anyone help me?

Re: Trend data

Posted: Wed Jun 22, 2022 9:58 am
by Mattk
Delta values are limited to 24 hours (actually will also work to 30 hours) due to the buffered data required

What MB platform are you using?

Re: Trend data

Posted: Thu Jun 23, 2022 9:28 am
by masgio69
Raspberry Pi 4 Model B 3895 MB totale Meteobridge 5.4 (Jun 11 2022, build 2789), FW 1.3

Re: Trend data

Posted: Fri Jul 22, 2022 5:28 pm
by jmontamat
masgio69 wrote: Thu Jun 23, 2022 9:28 am Raspberry Pi 4 Model B 3895 MB totale Meteobridge 5.4 (Jun 11 2022, build 2789), FW 1.3

The problem continues ? The same thing happens to me with RPI too
Platform: Raspberry Pi 4 Model B
RAM: 3895 MB total, 3754 MB free (3% used)
Meteobridge 5.4 (Jul 19 2022, build 2590), FW 1.3

Watch viewtopic.php?t=16631

Re: Trend data

Posted: Fri Jul 22, 2022 11:37 pm
by Mattk
masgio69 wrote: Sat Jun 18, 2022 1:07 pm Send some sample tags to better understand, [th0temp-act.1: -] ° C current temperature, [th0temp-delta1h: -] ° C temperature 1 hour ago, [th0temp-delta24h: -] ° C temperature 24 hours ago, I can't find the tags for the temperature of 1 month ago and the temperature of 1 year ago .......
[th0temp-delta1h: -] ° C temperature 1 hour ago
it is not the temp 1 hour ago but the +/- difference between the current temperature and 1 hour ago
[th0temp-delta24h: -] ° C temperature 24 hours ago
similar, +/- difference between current and 24 hours ago

Avg temperature 30 days ago is [th0temp-avg@D30
Min temperature 365 days ago is [th0temp-min@D365]

If you wanted the average temperature within the current hour 30 days ago then use @h720 instead of @D30

Something like Delta={*[th0temp-avg60]-[th0temp-avg@h35040]*1} would provide temperature difference between the current hour and close to 4 years ago

Those work on a MBPro, I don't have Raspberry Pi