Trend data

This section covers the Meteobridge PRO, PRO2, NANO SD, Raspberry Pi and VM platforms exclusively

Moderator: Mattk

Post Reply
masgio69
Senior Boarder
Senior Boarder
Posts: 67
Joined: Thu Apr 23, 2020 12:38 pm

Trend data

Post 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.
masgio69
Senior Boarder
Senior Boarder
Posts: 67
Joined: Thu Apr 23, 2020 12:38 pm

Re: Trend data

Post 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 .......
masgio69
Senior Boarder
Senior Boarder
Posts: 67
Joined: Thu Apr 23, 2020 12:38 pm

Re: Trend data

Post by masgio69 »

Can anyone help me?
Mattk
Platinum Boarder
Platinum Boarder
Posts: 1387
Joined: Mon Sep 22, 2014 3:24 am

Re: Trend data

Post 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?
masgio69
Senior Boarder
Senior Boarder
Posts: 67
Joined: Thu Apr 23, 2020 12:38 pm

Re: Trend data

Post by masgio69 »

Raspberry Pi 4 Model B 3895 MB totale Meteobridge 5.4 (Jun 11 2022, build 2789), FW 1.3
User avatar
jmontamat
Gold Boarder
Gold Boarder
Posts: 267
Joined: Tue Sep 09, 2014 4:49 pm
Location: Barcelona Spain
Contact:

Re: Trend data

Post 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
Mattk
Platinum Boarder
Platinum Boarder
Posts: 1387
Joined: Mon Sep 22, 2014 3:24 am

Re: Trend data

Post 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
Post Reply