# Darksky alternative

**URL:** <https://community.grafana.com/t/darksky-alternative/57037>\
**Category:** Grafana Cloud\
**Tags:** json-api-datasource, api, plugins\
**Created:** [December 1, 2021, 7:34pm UTC](https://community.grafana.com/t/darksky-alternative/57037 "2021-12-01T19:34:34Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![dlemaire](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/dlemaire/32/20033_2.png) [@dlemaire](https://community.grafana.com/u/dlemaire)\
**Post date:** [December 1, 2021, 7:34pm UTC](https://community.grafana.com/t/darksky-alternative/57037/1 "2021-12-01T19:34:34Z")

</div>

Wondering if anyone has a Darksky alternative for Grafana Cloud? e.g. an Openweather Plugin, etc?

---

<div class="post-metadata">

**Author:** ![grant2](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/grant2/32/42281_2.png) [@grant2](https://community.grafana.com/u/grant2)\
**Post date:** [December 1, 2021, 9:11pm UTC](https://community.grafana.com/t/darksky-alternative/57037/2 "2021-12-01T21:11:06Z")

</div>

Welcome to the :grafana: Forum!

Indeed, since Apple acquired Darksky and greedily locked out the API, I was just exploring different weather plugins. I think one simple way to do this (though I have not yet tried it) would be to use one of the JSON plugins ([this](https://grafana.com/grafana/plugins/marcusolsson-json-datasource/) or [this](https://grafana.com/grafana/plugins/simpod-json-datasource/)) and then query an API that offers a free tier. I have found several that may work:

> **[Pricing - OpenWeatherMap](https://openweathermap.org/price)**
>
> All data provided by OpenWeatherMap can be freely used through API with non-commercial or commercial purposes. Subscribe to current weather, forecasts, and historical data collections and enjoy our fast simple API.

> **[Pricing - weatherstack](https://weatherstack.com/product)**
>
> Start out with our free plan or an affordable premium pricing plan for your use of weatherstack, a lightweight weather JSON API for any city worldwide.

> **[Pricing - WeatherAPI.com](https://www.weatherapi.com/pricing.aspx)**
>
> Simple pricing plan for all weather api requirements from WeatherAPI.com

[https://www.weather.gov/documentation/services-web-api#](https://www.weather.gov/documentation/services-web-api#)

If I get a chance to install / try these out, I will post here how it goes.

---

<div class="post-metadata">

**Author:** ![grant2](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/grant2/32/42281_2.png) [@grant2](https://community.grafana.com/u/grant2)\
**Post date:** [December 4, 2021, 1:10am UTC](https://community.grafana.com/t/darksky-alternative/57037/3 "2021-12-04T01:10:35Z")

</div>

I found that [this basic API](https://fcc-weather-api.glitch.me/) that returns JSON works fine with [the JSON API datasource plugin](https://marcus.se.net/grafana-json-datasource/).

Setup is like this:

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/e/2/e2fddf29200f15ba9b90d30571b61c9d86d8c650.png)

and then in the panel:

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/c/8/c82c4a58743ac242474cb659eb85a08788ee2f93.png)

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/4/9/49b35083c0ebc5717cfc68207b214c11aecc9c27.png)

Thanks to @marcusolsson for developing such a great plugin.

---

<div class="post-metadata">

**Author:** ![marcusolsson](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/marcusolsson/32/7922_2.png) [@marcusolsson](https://community.grafana.com/u/marcusolsson)\
**Post date:** [December 8, 2021, 1:43pm UTC](https://community.grafana.com/t/darksky-alternative/57037/4 "2021-12-08T13:43:13Z")

</div>

Thanks for the kind words! ❤

---

<div class="post-metadata">

**Author:** ![the1cyrus](https://avatars.discourse-cdn.com/v4/letter/t/eb8c5e/32.png) [@the1cyrus](https://community.grafana.com/u/the1cyrus)\
**Post date:** [January 21, 2022, 5:05am UTC](https://community.grafana.com/t/darksky-alternative/57037/5 "2022-01-21T05:05:47Z")

</div>

Possible to convert the temp that is in Celsius to Fahrenheit?

---

<div class="post-metadata">

**Author:** ![discarn8](https://avatars.discourse-cdn.com/v4/letter/d/8baadc/32.png) [@discarn8](https://community.grafana.com/u/discarn8)\
**Post date:** [March 24, 2022, 5:53pm UTC](https://community.grafana.com/t/darksky-alternative/57037/6 "2022-03-24T17:53:45Z")

</div>

I tried to test / accomplish this by performing a field override, but… no go [Yes, I realize the F-\>C  
formula is wrong - I was simply testing it, real quick]

 ![fo](https://us1.discourse-cdn.com/grafana/original/3X/f/6/f6d8b215165ce4efc250d64c782a767cd3cd7634.png)  
 ![fo2](https://us1.discourse-cdn.com/grafana/original/3X/a/0/a0c328385b24cd78b592642369a47221f05ff16f.png)

---

<div class="post-metadata">

**Author:** ![discarn8](https://avatars.discourse-cdn.com/v4/letter/d/8baadc/32.png) [@discarn8](https://community.grafana.com/u/discarn8)\
**Post date:** [March 24, 2022, 6:02pm UTC](https://community.grafana.com/t/darksky-alternative/57037/7 "2022-03-24T18:02:41Z")

</div>

Grant - is there any way to beg of you to expound on the “Value mappings” that you give a peak of, in the screenshot, where you map / assign the icons to the conditions? I [understand the concept](https://grafana.com/docs/grafana/next/panels/format-data/map-a-value/), but not quite sure how you got an icon / image in there.  
I reviewed the thread where you discussed this: [Image based on value-stat](: [https://community.grafana.com/t/image-based-on-value-stat/50570/3](https://community.grafana.com/t/image-based-on-value-stat/50570/3))  
Read the [grafana doc that you referenced](https://grafana.com/docs/grafana/next/panels/working-with-panels/configure-legend/),  
Read the [Grafana doc on unit picker](https://grafana.com/docs/grafana/latest/packages_api/ui/unitpicker/)  
Read the Grafana doc on get [Field Type icon](https://grafana.com/docs/grafana/latest/packages_api/ui/getfieldtypeicon/)  
Referenced the [emoji list](https://unicode.org/emoji/charts/full-emoji-list.html) and yet, I’m not connecting the dots. I’ve tried pasting the emoji URL, the base64, etc. into the “Display text field”, but none of them display. If I simply put “Clouds” for clouds - that text displays just fine.

I _do_, however, have the rest nailed down.

 ![graph](https://us1.discourse-cdn.com/grafana/original/3X/a/9/a9da0c8187005db1adc04873fd2b39111cf1c5d7.png)

Thanks  
~Richard

---

<div class="post-metadata">

**Author:** ![grant2](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/grant2/32/42281_2.png) [@grant2](https://community.grafana.com/u/grant2)\
**Post date:** [March 24, 2022, 10:42pm UTC](https://community.grafana.com/t/darksky-alternative/57037/8 "2022-03-24T22:42:28Z")

</div>

No need to beg. I am about to expound…

In the right pane, click Edit Vaue Mappings…

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/3/3/3393fa1931476594c8c436152056f33aa99dfc3b.png)

Paste the emoji that corresponds to the value that is getting returned by the query. In my JSON example, the response was this: [https://cdn.glitch.me/6e8889e5-7a72-48f0-a061-863548450de5%2F50d.png](https://cdn.glitch.me/6e8889e5-7a72-48f0-a061-863548450de5%2F50d.png)

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/1/3/137cd8f5d7344114206300d74ff71f89fe63b950.png)

Click update, and voila!

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/5/c/5c444fe721c9d42cc3e7bd3ed920956a2b83a6fd.png)

---

<div class="post-metadata">

**Author:** ![discarn8](https://avatars.discourse-cdn.com/v4/letter/d/8baadc/32.png) [@discarn8](https://community.grafana.com/u/discarn8)\
**Post date:** [March 27, 2022, 5:31am UTC](https://community.grafana.com/t/darksky-alternative/57037/9 "2022-03-27T05:31:33Z")

</div>

First of all - THANK YOU

This just doesn’t seem to be working for me [pasting the emoji], but I’m not sure why. I browse to the emoji list… and try to right-click and select copy image or copy image address.

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/6/7/67d15411e845f701000817da0d911e31b2df685e.png)

Then, I try to 1) paste the image 2) paste the image address in the ‘display text field’ - both paste as base64 instead of an image:

 ![value](https://us1.discourse-cdn.com/grafana/original/3X/c/8/c81637317f17101078863580e6136e4ccfc2436f.png)

Neither works. Is it my browser, do you think?

---

<div class="post-metadata">

**Author:** ![grant2](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/grant2/32/42281_2.png) [@grant2](https://community.grafana.com/u/grant2)\
**Post date:** [March 27, 2022, 7:20am UTC](https://community.grafana.com/t/darksky-alternative/57037/10 "2022-03-27T07:20:13Z")

</div>

From your screenshot, it looks like you are using a Mac. Is Grafana installed on that Mac or on another type of computer on your network? In my example, I am using Grafana Cloud (paid version) and I was using a Windows PC to do the value mappings configuration.

For sure I would see if using a different browser helps.

---

<div class="post-metadata">

**Author:** ![discarn8](https://avatars.discourse-cdn.com/v4/letter/d/8baadc/32.png) [@discarn8](https://community.grafana.com/u/discarn8)\
**Post date:** [March 27, 2022, 9:50am UTC](https://community.grafana.com/t/darksky-alternative/57037/11 "2022-03-27T09:50:25Z")

</div>

Ahaaaah. I suspect that this feature is included only in the paid version and not the “Community Version” that I am using. I am on all Linux software. Raspberry Pi 3 running Raspbian OS hosting the Grafana engine and I’m doing the dashboard edits from an Ubuntu 20 desktop, presenting it on a Raspberry Pi 4 running Raspbian OS. I’ll research a little more to determine if the paid version is required to do the emojis as well as trying an alternative browser.

Thank you so very much once again, for your help sir.

---

<div class="post-metadata">

**Author:** ![Melody](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@Melody](https://community.grafana.com/u/Melody)\
**Post date:** [April 15, 2022, 7:38pm UTC](https://community.grafana.com/t/darksky-alternative/57037/12 "2022-04-15T19:38:50Z")

</div>

Hi all!

There are definitely some [differences in features](https://grafana.com/grafana/deployment-options/) between Grafana Cloud and self-hosting Grafana open source, however most of the core visualization options should be the same when building dashboards. That is to say, the value mapping differences shouldn’t be a feature locked behind a paywall. I’m very interested to hear if you’ve had time to test with a different OS and/or browser just to rule those out. In the meantime, I’ll see if I can replicate and get some issues opened if needed!

---

<div class="post-metadata">

**Author:** ![discarn8](https://avatars.discourse-cdn.com/v4/letter/d/8baadc/32.png) [@discarn8](https://community.grafana.com/u/discarn8)\
**Post date:** [March 28, 2023, 7:04pm UTC](https://community.grafana.com/t/darksky-alternative/57037/13 "2023-03-28T19:04:52Z")

</div>

Thank you, Melody. I downloaded and installed Grafana Enterprise v8.5 standalone version on a Dell Micro PC, running Debian 11 and I am still experiencing this. I.e.: the inability to insert / paste an icon or icon url in the value mappings field. I’ve attempted to flip the data between fields - just to see if I pasted the data in the inverse field. I am using the Brave / Chrome browser. I will attempt the same operation in Opera, Firefox, tonight, to see if the browser is the culprit.

Next, I will try the Grafana v9.4.7 Enterprise version.

---

<div class="post-metadata">

**Author:** ![discarn8](https://avatars.discourse-cdn.com/v4/letter/d/8baadc/32.png) [@discarn8](https://community.grafana.com/u/discarn8)\
**Post date:** [March 29, 2023, 4:33am UTC](https://community.grafana.com/t/darksky-alternative/57037/14 "2023-03-29T04:33:43Z")

</div>

Using the latest Grafana v9.4.7 Enterprise stand-alone version, Brave [Chrome] browser on a Dell PC running Debian 11

I believe that I discovered the disconnect and point of failure [me]. I was attempting to copy random icons from the [icon page](https://unicode.org/emoji/charts/full-emoji-list.html) instead of specifically choosing from the “Browser” column. Copying icons from the **Browser** column allowed me to then successfully paste the icon into the Value Mapping field and map them to the json data

Thanks very much, all, for your help

---

<div class="post-metadata">

**Author:** ![Invisionary](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/invisionary/32/31733_2.png) [@Invisionary](https://community.grafana.com/u/Invisionary)\
**Post date:** [April 10, 2023, 2:18pm UTC](https://community.grafana.com/t/darksky-alternative/57037/15 "2023-04-10T14:18:33Z")

</div>

Hello all,

I don’t think this alternative was mentioned but I came across [www.visualcrossing.com](https://www.visualcrossing.com/) .

They have some great tools to help tune their weather API to your needs, and also a guide here for migrating from Dark Sky:

[https://www.visualcrossing.com/resources/blog/how-to-replace-the-dark-sky-api-using-the-visual-crossing-timeline-weather-api/](https://www.visualcrossing.com/resources/blog/how-to-replace-the-dark-sky-api-using-the-visual-crossing-timeline-weather-api/)

Hope this is helpful!
