[th0temp-delta24h: -]. **solved**

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

jmontamat
Senior Boarder
Senior Boarder
Posts: 48
Joined: Tue Sep 09, 2014 4:49 pm
Location: Barcelona Spain
Contact:

[th0temp-delta24h: -]. **solved**

Post by jmontamat »

It doesn't work for me

[th0temp-delta24h: -]

Does it give me a difference of approx 12h ??

Thanks.

Platform: DIR-505 (no USB hub)
RAM: 61556 kB total, 22904 kB free (62% used)
SW Version: Meteobridge 5.1 (Mar 11 2021, build 14351), FW 1.3
Uptime: 1 days, 20 hours, 47 minutes Buffer: 5 items (1%)

Gyvate
Expert Boarder
Expert Boarder
Posts: 126
Joined: Thu May 14, 2020 4:36 pm

Re: [th0temp-delta24h: -]

Post by Gyvate »

reading the wiki gives you the answer:
For sensors delivering cumulated values like "rain0total" and "sol0evo" the following selectors are defined:

sum1, sum2, sum3, ..., sum60, sum1h, sum2h, sum3h, ..., sum24h: selects summarized delta values from the last one to 60 minutes or one to 24 hours. This is useful to get amount of total rain in a certain time frame: "rain0total-sum60" is rainfall in mm of last 60 minutes.
delta1, delta2, delta3, ..., delta60, delta1h, delta2h, delta3h, ..., delta24h: selects difference between current value and value from one to 60 minutes or one to 24 hours ago. A positive number shows that value has increased, a negative number indicates the value has decreased. This is useful to do trend analysis over various time spans.

th0temp is not a sensor with cumulative values - hence [th0temp-delta24h: -] will most likely not work.
Anyhow, if you wanted 12h you should have used delta12h - but again, th0temp is not a cumulative sensor/variable

But it's not clear to me what you want to do in the first place ....
Do you want to know the difference between the highest (max) and lowest (min) outdoor temperature in the past 12 hours ?
If you want this for the day (24h), then you could use the difference of th0temp-dmax and th0temp-dmin.
You may need to create an expression - see examples at the bottom of the wiki templates page.
WH4000SE 1.5.8/GW1000 1.6.6/HP1000SE Pro 1.7.1/WH2650 1.6.7-ß
2xMeteobridge Pro [B+R],RPi4-2/16
Ecowitt 5763, 5764; WU ISAARB3; ISAARB22; Weathercloud 3011399141; http://meshka.eu/meteo/template - http://meshka.eu/Weather34

jmontamat
Senior Boarder
Senior Boarder
Posts: 48
Joined: Tue Sep 09, 2014 4:49 pm
Location: Barcelona Spain
Contact:

Re: [th0temp-delta24h: -]

Post by jmontamat »

Thanks what I want to know is if the current temperature has increased or decreased since the previous day at the same time, that is, 24 hours before.
Attachments
Captura de pantalla 2021-03-22 185822.png
Captura de pantalla 2021-03-22 185822.png (29.73 KiB) Viewed 293 times

paul_1055
Junior Boarder
Junior Boarder
Posts: 33
Joined: Tue Nov 04, 2008 7:08 pm
Contact:

Re: [th0temp-delta24h: -]

Post by paul_1055 »

I do it too and [th0temp-delta24h = c.1: -] works fine

Gruß Torsten

jmontamat
Senior Boarder
Senior Boarder
Posts: 48
Joined: Tue Sep 09, 2014 4:49 pm
Location: Barcelona Spain
Contact:

Re: [th0temp-delta24h: -]

Post by jmontamat »

What does meteobridge hardware use?

paul_1055
Junior Boarder
Junior Boarder
Posts: 33
Joined: Tue Nov 04, 2008 7:08 pm
Contact:

Re: [th0temp-delta24h: -]

Post by paul_1055 »

NanoSD und RPI, tested with NanoSD

Gruß Torsten

jmontamat
Senior Boarder
Senior Boarder
Posts: 48
Joined: Tue Sep 09, 2014 4:49 pm
Location: Barcelona Spain
Contact:

Re: [th0temp-delta24h: -]

Post by jmontamat »

Thanks I will have DIR-505 and TL-MR3020 it in observation ...

Gyvate
Expert Boarder
Expert Boarder
Posts: 126
Joined: Thu May 14, 2020 4:36 pm

Re: [th0temp-delta24h: -]

Post by Gyvate »

as it appears that you want to have data displayed which is shown in the weather34 template, you should look up the w34 API definition - there you find all your sensors and selectors:
https://weather34.com/homeweatherstatio ... 4-api.html

como parece que quieres que se muestren los datos que se muestran en la plantilla weather34, deberías buscar la definición de la API w34 - ahí encuentras todos tus sensores y selectores:
https://weather34.com/homeweatherstatio ... 4-api.html
WH4000SE 1.5.8/GW1000 1.6.6/HP1000SE Pro 1.7.1/WH2650 1.6.7-ß
2xMeteobridge Pro [B+R],RPi4-2/16
Ecowitt 5763, 5764; WU ISAARB3; ISAARB22; Weathercloud 3011399141; http://meshka.eu/meteo/template - http://meshka.eu/Weather34

jmontamat
Senior Boarder
Senior Boarder
Posts: 48
Joined: Tue Sep 09, 2014 4:49 pm
Location: Barcelona Spain
Contact:

Re: [th0temp-delta24h: -]

Post by jmontamat »

Yes, but I use my own api. Deny it works fine:

mb.php?d=[DD]/[MM]/[YYYY] [hh]:[mm]:[ss] [th0temp-act:--] [th0hum-act:--] [th0dew-act:--] [wind0avgwind-act:--] [wind0wind-act:--] [wind0dir-act:--] [rain0rate-act:--] [rain0total-daysum:--] [thb0seapress-act:--] [wind0dir-avg5:--] [wind0wind-act=bft.0:--] m/s C hPa mm [wind0wind-avg5:--] [thb0seapress-val60:--] [rain0total-monthsum:--] [rain0total-yearsum:--] [rain0total-ydaysum:--] [thb0temp-act:--] [thb0hum-act:--] [wind0chill-act:--] [mbsystem-station:--] [th0temp-dmax:--] [th0temp-dmaxtime:--] [th0temp-dmin:--] [th0temp-dmintime:--] [th0temp-delta24h:--] [wind0wind-dmaxtime:--] [wind0wind-dmax:--] [wind0wind-ydavg] [thb0seapress-dmax:--] [thb0seapress-dmaxtime:--] [thb0seapress-dmin:--] [thb0seapress-dmintime:--] [mbsystem-swversion:--] [mbsystem-buildnum:--] [wind0wind-max10:--] [thb0seapress-delta24h:--] [th0heatindex-act:--] [uv0index-act:--] [rain0total-sum24h:--] [sol0rad-act:--] [wind0dir-avg10:--] [rain0total-sum60:--] [th0dew-mmax:--] [th0dew-mmaxtime:--] [th0dew-mmin:--] [th0dew-mmintime:--] [th0dew-ydmax:--] [th0dew-ydmaxtime:--] [th0dew-ymax:--] [th0dew-ymaxtime:--] [th0dew-ymin:--] [th0dew-ymintime:--] [uv0index-dmax:--] [th0hum-dmax:--] [th0hum-dmaxtime:--] [th0hum-dmin:--] [th0hum-dmintime:--] [th0dew-dmax:--] [th0dew-dmaxtime:--] [th0dew-dmin:--] [th0dew-dmintime:--] [th0temp-val15:--] [th0hum-val15:--] [th0dew-val15:--] [thb0temp-val15:--] [thb0hum-val15.0:--] [wind0wind-avg15:--] [wind0wind-avg30:--] [lgt0energy-act:--] [lgt0dist-act:--] [lgt0dist-age:--] [lgt0total-daysum.0:--] [lgt0total-monthsum.0:--] [lgt0total-yearsum.0:--] [sol0rad-dmax:--] [mbsystem-uptime:--] [th0temp-ydmax:--] [th0temp-ydmaxtime:--] [th0temp-ydmin:--] [th0temp-ydmintime:--] [th0temp-mmax:--] [th0temp-mmaxtime:--] [th0temp-mmin:--] [th0temp-mmintime:--] [th0temp-ymax:--] [th0temp-ymaxtime:--] [th0temp-ymin:--] [th0temp-ymintime:--] [wind0wind-ydmax:--] [wind0wind-ydmaxtime:--] [wind0wind-mmax:--] [wind0wind-mmaxtime:--] [wind0wind-ymax:--] [wind0wind-ymaxtime:--] [rain0total-ydmax:--] [rain0total-mmax:--] [rain0total-mmintime:--] [rain0total-ymax:--] [rain0total-ymaxtime:--] [sol0rad-dmax:--] [sol0rad-dmaxtime:--] [sol0rad-ydmax:--] [sol0rad-ydmaxtime:--] [sol0rad-mmax:--] [sol0rad-mmaxtime:--] [sol0rad-ymax:--] [sol0rad-ymaxtime:--] [uv0index-dmaxtime:--] [uv0index-ydmax:--] [uv0index-ydmaxtime:--] [uv0index-mmax:--] [uv0index-mmaxtime:--] [uv0index-ymax:--] [uv0index-ymaxtime:--] [th0dew-ydmin:--] [th0dew-ydmintime:--] [wind0dir-yavg:--] [wind0wind-ydavg:--] [rain0total-nonzerotime:--] [th0temp-amax:--] [th0temp-amaxtime:--] [th0temp-amin:--] [th0temp-amintime:--] [th0dew-amax:--] [th0dew-amaxtime:--] [th0dew-amin:--] [th0dew-amintime:--] [wind0wind-amax:--] [wind0wind-amaxtime:--] [thb0seapress-ydmax:--] [thb0seapress-ydmaxtime:--] [thb0seapress-ydmin:--] [thb0seapress-ydmintime:--] [thb0seapress-mmax:--] [thb0seapress-mmaxtime:--] [thb0seapress-mmin:--] [thb0seapress-mmintime:--] [thb0seapress-ymax:--] [thb0seapress-ymaxtime:--] [thb0seapress-ymin:--] [thb0seapress-ymintime:--] [thb0seapress-amax:--] [thb0seapress-amaxtime:--] [thb0seapress-amin:--] [thb0seapress-amintime:--] [rain0total-allsum:--] [th0temp-davg:--] [mbsystem-lunarsegment:--] [mbsystem-lunarpercent:--] [mbsystem-daylength:--] [mbsystem-moonrise:--] [mbsystem-moonset:--] [wind0wind-davg:--] [th0hum-mmax:--] [th0hum-mmaxtime:--] [th0hum-mmin:--] [th0hum-mmintime:--] [th0hum-ymax:--] [th0hum-ymaxtime:--] [th0hum-ymin:--] [th0hum-ymintime:--] [th0hum-ydmax:--] [th0hum-ydmaxtime:--] [th0hum-ydmin:--] [th0hum-ydmintime:--] [wind0dir-ydavg:--] [wind0wind-ydmax:--] [rain0total-max@M1:--] [rain0total-max@Y1:--] [air0pm-act:--] [sol0rad-amax:--] [sol0rad-amaxtime:--] [uv0index-amax:--] [uv0index-amaxtime:--] [air2pm-act:--] [air1pm-act:--] [air0pm-act:--] [air2pm-davg:--] [air1pm-davg:--] [air0pm-davg:--] [air1pm-dmax:--] [air0pm-dmax:--] [wind0dir-davg:--] [wind0wind-dmax=bft.0:--] [wind0wind-davg=bft.0:--] [wind0dir-mavg:--] [th0heatindex-ymax:--] [th0heatindex-ymaxtime:--] [wind0chill-ymin:--] [wind0chill-ymintime:--] [th0temp-delta24h:--] _[forecast-text:]

User avatar
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1053
Joined: Tue Mar 28, 2017 6:57 am
Contact:

Re: [th0temp-delta24h: -]

Post by weatherist34 »

hello Josep hope all is well

are you using this
https://meteosantgenis.org/MKII/mbridge ... upload.txt ?

or

https://meteosantgenis.org/pws/mbridge/ ... upload.txt

confused which one to diagnose

for the output are you using position 30 ?

in your api output you are requesting [th0temp-delta24h:--] twice

1. [th0temp-dmintime:--] [th0temp-delta24h:--] [wind0wind-dmaxtime:--]

2. at the end of API [wind0chill-ymintime:--] [th0temp-delta24h:--] _[forecast-text:]


you output broken down to positions
jo.jpg
jo.jpg (31.56 KiB) Viewed 250 times

jmontamat
Senior Boarder
Senior Boarder
Posts: 48
Joined: Tue Sep 09, 2014 4:49 pm
Location: Barcelona Spain
Contact:

Re: [th0temp-delta24h: -]

Post by jmontamat »

Thanks Brian for your interest.

https://meteosantgenis.org/pws/mbridge/ ... upload.txt

if I have it duplicated, in position 30 and 196

// $ weather ["temp_24H"] = $ meteobridgeapi [196];
$ weather ["temp_24H"] = $ meteobridgeapi [30];

in case it is a position problem, but it gives the same values. I think the problem is in meteobridge

Platform: TL-MR3020 (not USB hub)
RAM: 29364 kB total, 2096 kB free (92% used)
SW Version: Meteobridge 5.1 (Mar 11 2021, build 14351), FW 1.4
Uptime: 8 days, 1 hours, 50 minutes Buffer: 1 items (0%)

User avatar
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1053
Joined: Tue Mar 28, 2017 6:57 am
Contact:

Re: [th0temp-delta24h: -]

Post by weatherist34 »

jmontamat wrote:
Tue Mar 23, 2021 1:15 pm
Thanks Brian for your interest.

https://meteosantgenis.org/pws/mbridge/ ... upload.txt

if I have it duplicated, in position 30 and 196

// $ weather ["temp_24H"] = $ meteobridgeapi [196];
$ weather ["temp_24H"] = $ meteobridgeapi [30];

in case it is a position problem, but it gives the same values. I think the problem is in meteobridge

Platform: TL-MR3020 (not USB hub)
RAM: 29364 kB total, 2096 kB free (92% used)
SW Version: Meteobridge 5.1 (Mar 11 2021, build 14351), FW 1.4
Uptime: 8 days, 1 hours, 50 minutes Buffer: 1 items (0%)
so is 3.4c warmer at that time not the correct output value ?

jmontamat
Senior Boarder
Senior Boarder
Posts: 48
Joined: Tue Sep 09, 2014 4:49 pm
Location: Barcelona Spain
Contact:

Re: [th0temp-delta24h: -]

Post by jmontamat »

No and in barometer It seems that neither, I will keep it under observation.

Thanks.

User avatar
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1053
Joined: Tue Mar 28, 2017 6:57 am
Contact:

Re: [th0temp-delta24h: -]

Post by weatherist34 »

what value is expected in difference between now and yesterday

User avatar
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1053
Joined: Tue Mar 28, 2017 6:57 am
Contact:

Re: [th0temp-delta24h: -]

Post by weatherist34 »

jmontamat wrote:
Tue Mar 23, 2021 1:45 pm
No and in barometer It seems that neither, I will keep it under observation.

Thanks.
look carefully at your output the temp24h is the same as the wind

5.1 20210323054236 3.4

then a few seconds later !!

3.4 20210323054236 3.4

see below output for another change

now this kind of leads me to think are you running multiple api services mistakenly ? to the same file because the value changes in a matter of seconds
then nothing for another minute then 2 short changes in seconds

30 -- * Not Used but you have temp24hdelta assigned
31 [wind0wind-dmaxtime:--]
32 [wind0wind-dmax:--]

at 13:09:01 it showed 3.4 at position 30

23/03/2021 13:09:01 14.6 60.0 6.9 0.0 0.5 90.0 0.0 0.0 1022.0 90.0 1 m/s C hPa mm 0.2 1022.2 7.9 39.6 0.0 19.7 42.0 14.7 GW1000 14.8 20210323123137 8.1 20210323071248 3.4 20210323054236 3.4 ****************

at 13:09:10 it showed 5.3 at position 30

23/03/2021 13:09:10 14.7 60.0 7.0 0.0 0.0 90.0 0.0 0.0 1022.1 90.0 0 m/s C hPa mm 0.2 1022.1 7.9 39.6 0.0 19.7 42.0 14.7 GW1000 14.8 20210323123137 8.1 20210323071248 5.3 20210323054236 3.4 ****************

I used this to monitor https://meteosantgenis.org/pws/mbridge/ ... upload.txt

Post Reply