Integrate OpenWeather data to plugin | ThingSpeak Plugins | Forum

Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
Integrate OpenWeather data to plugin
Avatar
tengelh
New Member
Forum Posts: 2
sp_UserOfflineSmall Offline
1
December 21, 2014 - 9:56 am
sp_Permalink sp_Print

How can i integrate open weather data (http://openweathermap.org/) to an plugin?
The open weather data is available as JSON format (look: http://api.openweathermap.org/data/2.5/weather?q=London,uk). Is it possible to code a plugin which show me the acatual temperature?
Thanks.
Thorsten

Avatar
lee

Forum Posts: 457
sp_UserOfflineSmall Offline
2
December 22, 2014 - 9:25 am
sp_Permalink sp_Print

Hi Thorsten,

I made a plugin that parses the weather data for you: http://api.thingspeak.com/plugins/6878 . You can see the JavaScript that I used by viewing the page source, and you can copy/paste my code and modify it to make your own plugin.

Please note though that you can't access the plugin via https://thingspeak.com though, since the Openweathermap data is not returned via HTTPS (unless you pay them for an upgraded account).

lee

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online: cstapels
21 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 252

Vinod: 164

cstapels: 96

piajola: 75

vespapierre: 63

Adarsh_Murthy: 59

Newest Members:

yeseniara11

RomanFug

JamesPes

RobertBak

ScottSmiva

Amourhotte

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

 

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Administrators: Hans, lee