Bug/issue with "delta"

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

Moderator: Mattk

Post Reply
RoostWeather
Junior Boarder
Junior Boarder
Posts: 37
Joined: Sat Dec 16, 2023 7:22 pm

Bug/issue with "delta"

Post by RoostWeather »

Hello,

I have a potential bug with exporting "delta" to SQL. From previous posts I understand that "delta" doesn't come from the database, but rather is calculated based on values in memory which are wiped following a reboot.

However, I have noticed that occasionally after a reboot, delta continues to fail to be calculated even when sufficient time has passed and values should be stored in memory.

So for example, my meteobridge PRO2 has currently been up for 3 days
Screenshot 2024-01-14 113321.png
Screenshot 2024-01-14 113321.png (11.92 KiB) Viewed 21205 times
however the 24h delta has been reporting as NULL since this time.
Screenshot 2024-01-14 113400.png
Screenshot 2024-01-14 113400.png (26.55 KiB) Viewed 21205 times
Any ideas? Thanks very much.
RoostWeather
Junior Boarder
Junior Boarder
Posts: 37
Joined: Sat Dec 16, 2023 7:22 pm

Re: Bug/issue with "delta"

Post by RoostWeather »

Anyone? Thanks
Mattk
Platinum Boarder
Platinum Boarder
Posts: 1387
Joined: Mon Sep 22, 2014 3:24 am

Re: Bug/issue with "delta"

Post by Mattk »

What does your 24 hour delta expression look like?
Mattk
Platinum Boarder
Platinum Boarder
Posts: 1387
Joined: Mon Sep 22, 2014 3:24 am

Re: Bug/issue with "delta"

Post by Mattk »

Have run a MBPro2 with Jan 4 firmware for just over 24 hours and noted no issues with delta24h, rebooted with no issues.

Are you using delta24h or delta24H?
RoostWeather
Junior Boarder
Junior Boarder
Posts: 37
Joined: Sat Dec 16, 2023 7:22 pm

Re: Bug/issue with "delta"

Post by RoostWeather »

[th0temp-delta1h:NULL], [th0temp-delta24h:NULL]

Those are the expressions I am using. Unfortunately, it's not a consistently repeatable bug, so I think it will be hard to trace. I now circumvent it by recalculating the deltas from the temperatures, so it is not a problem for me anymore. However, I raise it in case anyone wants to look into it.

Thanks.
Mattk
Platinum Boarder
Platinum Boarder
Posts: 1387
Joined: Mon Sep 22, 2014 3:24 am

Re: Bug/issue with "delta"

Post by Mattk »

Unable to replicate that either (using the NULL component)?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Bug/issue with "delta"

Post by admin »

This effect does show up sometimes, but I still have not fully understood why. My first digging into it for a whole day was not successful. Sorry, no near term fix to be expected.
Post Reply