Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Way to fetch information from a website, then transmit to Netduino via Ethernet?


  • Please log in to reply
9 replies to this topic

#1 CwbhX

CwbhX

    Advanced Member

  • Members
  • PipPipPip
  • 85 posts
  • LocationNYC

Posted 02 December 2010 - 04:49 PM

Is there a way to automatically fetch data from a website, and then send it to the Netduino to complete the action? Sorry if this is obvious. -Cwbh
-Cwbh

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 02 December 2010 - 05:31 PM

Cwbh, Just to clarify: are you looking to have a home computer fetch the data and then send it to the Netduino? I don't know of the best automated method, but it would be pretty straightforward to write a quick app to do this. But frankly, you can just do it directly from the Netduino Plus in most cases without need for an intermediary. Chris

#3 Omar (OZ)

Omar (OZ)

    Advanced Member

  • Members
  • PipPipPip
  • 564 posts

Posted 02 December 2010 - 09:08 PM

Is there a way to automatically fetch data from a website, and then send it to the Netduino to complete the action?
Sorry if this is obvious.

-Cwbh


Depends what website you are fetching data from, and if it meant to return data that can be easily parsed to grab exactly what you want. Take a look at my post about Getting Weather Data with the Netduino plus, the code there might help you a little.

#4 CwbhX

CwbhX

    Advanced Member

  • Members
  • PipPipPip
  • 85 posts
  • LocationNYC

Posted 02 December 2010 - 09:40 PM

Twitter. Just collect text from feeds. I'll take a look now. Thanks! -Cwbh EDIT: Sorry, I didn't see your post Chris. I thought that I would have to have the computer fetch it and then send it. You are saying the Netduino can fetch it directly?
-Cwbh

#5 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 02 December 2010 - 11:01 PM

EDIT: Sorry, I didn't see your post Chris. I thought that I would have to have the computer fetch it and then send it. You are saying the Netduino can fetch it directly?


Elze Kool wrote a pretty rich .NET Micro Framework client for Twitter. You may be able to pull out the graphics code and slim it down to fit on Netduino...
http://www.microfram...twitter-client/

We previously adapted Elze's weather app to work on Netduino Plus. In a spare evening.

#6 Omar (OZ)

Omar (OZ)

    Advanced Member

  • Members
  • PipPipPip
  • 564 posts

Posted 02 December 2010 - 11:04 PM

Twitter. Just collect text from feeds.
I'll take a look now.
Thanks!

-Cwbh

EDIT: Sorry, I didn't see your post Chris. I thought that I would have to have the computer fetch it and then send it. You are saying the Netduino can fetch it directly?


I'm sure you could figure out a way to get stuff from twitter directly. I initially did what you are thinking (Website > Computer > Netduino) but then I fired my computer/cut the middle device (terrible bad economy joke ;) ) and got the netduino plus to get the data right from the website. I hope that helps.

If I get some time this week end I'll search around and see if I can give you any Twitter specific advice.

#7 CwbhX

CwbhX

    Advanced Member

  • Members
  • PipPipPip
  • 85 posts
  • LocationNYC

Posted 02 December 2010 - 11:21 PM

Thanks Chris! Though, this seems to be a huge amount of code. Is the gut of the system in Twitter Client.cs? If it is how would I put it into mine, which would work when I press the button, get the update, and translate it into Morse code. -Cwbh EDIT: I guess while I was writing this you wrote to Omar. Thanks for your support too. I have to finish a video right now, so if i get time I will work again on this project later
-Cwbh

#8 Omar (OZ)

Omar (OZ)

    Advanced Member

  • Members
  • PipPipPip
  • 564 posts

Posted 03 December 2010 - 09:21 PM

Here is a page that should help you out a lot: http://dev.twitter.c...s/user_timeline

#9 CwbhX

CwbhX

    Advanced Member

  • Members
  • PipPipPip
  • 85 posts
  • LocationNYC

Posted 03 December 2010 - 10:55 PM

Thanks a whole bunch Omar! I will get working on this maybe today, but probably tomorrow. Have a good weekend :) -Cwbh
-Cwbh

#10 Omar (OZ)

Omar (OZ)

    Advanced Member

  • Members
  • PipPipPip
  • 564 posts

Posted 03 December 2010 - 11:27 PM

Thanks a whole bunch Omar! I will get working on this maybe today, but probably tomorrow.
Have a good weekend :)

-Cwbh

You're welcome, enjoy your weekend!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.