element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Enchanted Objects
  • Challenges & Projects
  • Design Challenges
  • Enchanted Objects
  • More
  • Cancel
Enchanted Objects
Blog Enchanted Wardrobe: Fetching Weather Information
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: iayanpahwa
  • Date Created: 5 Jun 2015 12:03 PM Date Created
  • Views 701 views
  • Likes 3 likes
  • Comments 2 comments
  • enchanted_wardrobe
  • enchanted_iot_devices
Related
Recommended

Enchanted Wardrobe: Fetching Weather Information

iayanpahwa
iayanpahwa
5 Jun 2015

In this blog post I'll show you how to fetch weather information from Yahoo Weather API using Temboo services which came pre bundled for Arduino Yun.

 

About TEMBOO:

 

Temboo is an online service which enables developer build Internet enabled applications using 200+ choreos and APIs around the web without actually coding, The temboo generates the required code needed to accomplished work from an API ex Fetching geo coordinates from google services, Weather from yahoo etc. Temboo also supports a large number of boards ranging from Arduino to TEXAS INSTRUMENTS MXP430, CC3200 and now even SAMSUNG ARTIK. You can program them to talk to web using Temboo auto code generation service in IoT mode.

Here I've used Temboo to fetch Weather data of my city using Yahoo Weather API.image

 

 

step 1>> Sign up for a Temboo's account on www.temboo.com.

step 2>> Select Arduino Yun as board and turn on IoT mode.

step 3>> On left hand side choose Yahoo Weather > Weather by location choreo.

step 4>> Enter your city credentials and other optional inputs like you want temperature in *c or *f.

step 4>> Copy the generated code and header file.

step 5>> Open Arduino IDE and paste the code, compile and and upload to target board.

step 6>> Open Serial Monitor to check the output.

 

I am attaching the code, just change the header file credentials according to your account info.

 

The data in serial monitor will be a raw XML response from yahoo server from which usefull data can be extracted using Parseing, In next blog post we'll parse the temperature and other data using Temboo output Filters and use them efficiently.

 

imageimageimageimage

Attachments:
raw_response.ino.zip
TembooAccount.h.zip
  • Sign in to reply

Top Comments

  • iayanpahwa
    iayanpahwa over 10 years ago +1
    Well, Temboo gives flexibility to focus more on the task than to code so it can generate code for you and keeping all the server-client relationship maintained. A typial hardware person can use temboo…
  • iayanpahwa
    iayanpahwa over 10 years ago

    Well, Temboo gives flexibility to focus more on the task than to code so it can generate code for you and keeping all the server-client relationship maintained. A typial hardware person can use temboo to connect to web services without worrying about data paresing and api calling methods. It gets the work done easily And let you focus more on your circuits than cloud services. Backend part is all done by them and also it supports a variety of languages.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Workshopshed
    Workshopshed over 10 years ago

    Hi Ayan, what is the advantage of using Temboo over calling the API directly?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube