Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Clear Night" issue(no icon) #19

Open
DarkAssassinUA opened this issue Sep 2, 2024 · 0 comments
Open

"Clear Night" issue(no icon) #19

DarkAssassinUA opened this issue Sep 2, 2024 · 0 comments

Comments

@DarkAssassinUA
Copy link

DarkAssassinUA commented Sep 2, 2024

Hello!
Issue for Awtrix Weather ⛈️ + Forecast + 🌕️
As i said in issue name - there is no icon when weather status is "Clear night"
Empirically, I found out that my weather provider (GisMeteo)(used it bcs that provider give me more relevant weather in Ukraine) gives the status 'clear-night' - and icon not showing.
Link for GisMeteo repo - https://github.com/Limych/ha-gismeteo
I looked into MQTT and found that

{
    "draw": [
      
        {"dp": [8,7,"#9B4ABF"]},
        {"dp": [9,7,"#9B4ABF"]},
        {"dp": [10,7,"#8642B5"]},
        {"dp": [11,7,"#52389F"]},
        {"dp": [12,7,"#4550A8"]},
        {"dp": [13,7,"#4843A2"]},
        {"dp": [14,7,"#683CA8"]},
        {"dp": [15,7,"#773FAF"]},
        {"dp": [16,7,"#8642B5"]},
        {"dp": [17,7,"#8D43B8"]},
        {"dp": [18,7,"#8642B5"]},
        {"dp": [19,7,"#703EAC"]},{"dt":[8.0,1,"18.9°","#9C4ABF"]}
    ,{"db":[0,0,8,8,[0,0,2763306,2763306,2763306,2763306,0,0,0,2763306,2763306,2763306,2763306,2763306,2763306,0,2763306,2763306,2763306,2763306,1842204,1842204,2763306,2763306,2763306,2763306,1842204,2763306,1842204,2763306,2763306,2763306,2763306,2763306,1842204,2763306,2763306,2763306,2763306,2763306,2763306,2763306,2763306,2763306,2763306,1842204,2763306,2763306,0,2763306,2763306,1842204,2763306,2763306,2763306,0,0,0,2763306,2763306,2763306,2763306,0,0]]}
    
    ],
    "icon": "w-clear-night",
    "duration": 30,
    "pushIcon": 2,
    "lifetime": 120,
    "lifetimeMode":1,
    "weather": "clear-night"
    }

and no icon
But!
When i change "weather": "clear-night" to "weather": "clear_night" - icon appears.
Full code:

{
    "draw": [
      
        {"dp": [8,7,"#9B4ABF"]},
        {"dp": [9,7,"#9B4ABF"]},
        {"dp": [10,7,"#8642B5"]},
        {"dp": [11,7,"#52389F"]},
        {"dp": [12,7,"#4550A8"]},
        {"dp": [13,7,"#4843A2"]},
        {"dp": [14,7,"#683CA8"]},
        {"dp": [15,7,"#773FAF"]},
        {"dp": [16,7,"#8642B5"]},
        {"dp": [17,7,"#8D43B8"]},
        {"dp": [18,7,"#8642B5"]},
        {"dp": [19,7,"#703EAC"]},{"dt":[8.0,1,"18.9°","#9C4ABF"]}
    ,{"db":[0,0,8,8,[0,0,2763306,2763306,2763306,2763306,0,0,0,2763306,2763306,2763306,2763306,2763306,2763306,0,2763306,2763306,2763306,2763306,1842204,1842204,2763306,2763306,2763306,2763306,1842204,2763306,1842204,2763306,2763306,2763306,2763306,2763306,1842204,2763306,2763306,2763306,2763306,2763306,2763306,2763306,2763306,2763306,2763306,1842204,2763306,2763306,0,2763306,2763306,1842204,2763306,2763306,2763306,0,0,0,2763306,2763306,2763306,2763306,0,0]]}
    
    ],
    "icon": "w-clear-night",
    "duration": 30,
    "pushIcon": 2,
    "lifetime": 120,
    "lifetimeMode":1,
    "weather": "clear_night"
    }


Maybe u can tell me where i can change - to _?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant