No night information in the icon element

  • 2
  • Problem
  • Updated 2 years ago
Why is it different information in the icon and icon_url element in the forecast current_observation.

I have this information
 So when i use icon element with own icons i do not get night symbols.
Photo of Michael Parment

Michael Parment

  • 1 Post
  • 0 Reply Likes

Posted 4 years ago

  • 2
Photo of Ravi Yadav

Ravi Yadav

  • 82 Posts
  • 9 Reply Likes
Can you share your API request URL? 

The icon URL for clear should be: 

icon: "clear",
icon_url: "href=""
Photo of Max


  • 1 Post
  • 1 Reply Like
I got the same issue for conditions

The forecast get the correct icon name for the icon url. After sunset I receive the icon url for the night condition, but the icon name for the day condition
please add your api key to display

cloudy in the screenshot is not the best example, but please have a look
Photo of Gary Abbott

Gary Abbott

  • 1 Post
  • 1 Reply Like
I would like to replace the icon set, but run into the same issue.  How to know if it is night?
I find no flag or other info in the results.  "icon" does not indicate day or night. 
At this point will have to process "icon_url" string to strip out "nt_cloudy" etc.

No answers on this?
Photo of George Zacharia

George Zacharia

  • 2 Posts
  • 0 Reply Likes
This issue still persists, any updates on this?