Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


Weather provider and weather condition codes mixup, Whaaaat???


Recommended Posts

Posted

Dear @m.roszak and other brothers in pain that are still using Fibaro gateways!

 

I have done some testing with my weather provider and weather condition codes just to find out how Fibaro managed to do complete nonsense out of this.

First of all this list of weather condition codes was still working on the last stable update 5.180:

 

Please login or register to see this attachment.

 

at least most of them and above codes are almost same as they were on HC2.

Of course, on HC3 WeatherCondition description is reduced to this list:

  • clear
  • partlyCloudy
  • cloudy
  • storm
  • snow
  • rain
  • fog

 

BTW - in the QA example that mr. @m.roszak or mr. @A.Socha is usually asking you to download from 

Please login or register to see this link.

is still NOT corrected after so many years. 

 

Since some genius in Fibaro development team changed so that WeatherCondition selects what weather icon will show on dashboard instead ConditionCode that example is now not so incorrect, now is just missing WeatherCondition "partlyCloudy". Of course this still will work only if you also set ConditionCode to one of available ones:

  • 4
  • 20
  • 30
  • 32
  • 38
  • 40
  • 3200

 

Of course, it doesn't matter if you put ConditionCode 40 which is for "rain", but then set WeatherCondition to "clear" because you will get icon for "clear" even ConditionCode is set to 40. Only ConditionCode 3200 for "unknown" will show icon with crossed circle for any WeatherCondition that is set.


I do not need to mention that after QA changes WeatherCondition from eg. "clear" to "rain" (no matter if ConditionCode is set to proper code or not), then dashboard or GUI home page must be refreshed at least in Firefox to show appropriate icon.

 

Since ConditionCode and WeatherCondition can be mixed and then WeatherCondition has higher priority next table is for info only and might be wrong:

Please login or register to see this code.

Notice that weather conditions "cloudy" and "partlyCloudy" has same ConditionCode, but on dashboard show different icons :-P 

 

So, now I ask Fibaro:

What is weather ConditionCode actually used for ??!?!

Have you really deleted all weather icons from above picture and left only few for the WeatherCondition list? 

 

Posted

So, in general we will bring back the handling for conditionCodes from HC2 for now, we will clear this out and document this later this year. Those were not intended here but was still there for last years. 

Probably we will just bring back some of the obsoleted condition codes and make new weatherCondition enums to support more options, document the backward compatibility. 
 

  • Like 1
  • Topic Author
  • Posted
    4 hours ago, m.roszak said:

    So, in general we will bring back the handling for conditionCodes from HC2 for now, we will clear this out and document this later this year.

     

    So, that means that I can put on hold updating my weather providers QA until the end of this year?

    That is not problem, since I have lots of other coding to do in the mean time, but I really hope you will give some at least basic documentation so I do not have again to loose valuable time to find out what is done through trial & error way as I had to do for the last 10 years. THANKS!

     

    • Like 2
    Posted

    So, for sure ultimately weatherCondition enum will be the one to use, we will document the change.

    webUI will go back to previosly used conditionCodes for now so that your current solution will be running the way it was before. 

    • Thanks 2
    • 1 month later...
  • Topic Author
  • Posted
    On 8/6/2025 at 10:59 AM, m.roszak said:

    So, for sure ultimately weatherCondition enum will be the one to use, we will document the change.

    webUI will go back to previosly used conditionCodes for now so that your current solution will be running the way it was before. 

     

    Hi @m.roszak,

     

    any news on this one? Thanks!

    Posted

    So, we reverted back the handling for conditionCodes in 5.183 beta.

    As for the improvements here, it will take some time to rewrite as this affects also the apps.

    • Thanks 1
  • Topic Author
  • Posted

    Hi @m.roszak,

     

    On 10/6/2025 at 12:09 PM, m.roszak said:

    So, we reverted back the handling for conditionCodes in 5.183 beta.

     

    Well doesn't look OK, even for YR Weather which is maybe abandoned but still new HC3 came with it installed:

    Please login or register to see this attachment.

     

    What is actually official alternative for YR weather anyway? 

     

    On 10/6/2025 at 12:09 PM, m.roszak said:

    As for the improvements here, it will take some time to rewrite as this affects also the apps.

    Any idea how much time? A month, a year, next 5 years? ;-) 

    Posted
    11 hours ago, Sankotronic said:

    Well doesn't look OK, even for YR Weather which is maybe abandoned but still new HC3 came with it installed:

    Its just "clear" condition code, not all old codes has seperate icons now - we mapped some.
    For now we need to live with it.

     

    11 hours ago, Sankotronic said:

    Any idea how much time? A month, a year, next 5 years? ;-) 

    Hah, lets thing more like in Q1/Q2 2026 - not this year for sure.
    Its in the backlog.

    • Thanks 1

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...