CurrentConditions Block (v24.1) - Activating Dual Units

Post Reply
User avatar
MonyMony
Forecaster
Forecaster
Posts: 180
Joined: Sun Aug 20, 2017 12:54 pm
Location: Elkton, Maryland, US
Station model: Davis Pro 2
Software: WeatherCat/Meteobridge
Contact:

CurrentConditions Block (v24.1) - Activating Dual Units

Post by MonyMony » Thu Jan 12, 2023 12:58 pm

After some time, I am finally taking some time to do much needed updates to my site. One of the updates was to the CurrentConditions block to v24.1 (one of the 'unofficial' versions). Immediately I found that on my site no conditions were loading in the updated block. I spend some time going through the settings and if I disable the option for 'Dual Units' then the block loads.

Has anyone seen this before as I hate to reinvent the wheel trying to fix this but doing a quick search of the forums did not reveal anything similar. I will also point out that my default units are Imperial and the dual units would be metric so I suspect that is a factor.

If anyone has experience and/or resolved this please pass on your suggestions. Otherwise I'll be going into debug mode and eventually track this issue down when time allows.
Image

User avatar
MonyMony
Forecaster
Forecaster
Posts: 180
Joined: Sun Aug 20, 2017 12:54 pm
Location: Elkton, Maryland, US
Station model: Davis Pro 2
Software: WeatherCat/Meteobridge
Contact:

Re: CurrentConditions Block (v24.1) - Activating Dual Units

Post by MonyMony » Thu Jan 12, 2023 2:54 pm

So apparently I 'fixed' this very issue back in 2018! :oops:

http://meteotemplate.com/forum/viewtopi ... 5713#p5713

I will finalize the updates and post the code updates so the unofficial block can be updated with this fixes as soon as I can.
Image

Post Reply