user33: How can I run a webserver in a Arduino Uno? I want to use my Arduino to monitor things in my home such as temperature. I want to be able to access this data through the internet.

user113: You'll need something like the Ethernet Shield to connect your Arduino Uno to a LAN.
As for webserver functionality, the Webserver Example sketch does the bulk of what you need.

For the "access this data through the internet" part, assuming you want access beyond your LAN; you'll need to perform Port Forwarding on your local router (i.e. allow the "Internet" to see your Arduino).
If you need wifi, then personally I prefer the CC3300 to the Arduino Wifi shield.

user27: The Arduino Yún has been made with this use case in mind. The Bridge library allows your sketch to publish data such as sensor readings: this data is available through a REST api.
Say you want to publish the temperature of your living room: you'll write something like
Bridge.put("living_room", String(19)); //celsius
You can then access the data via web with a URL like
http://arduino.local/data/get/living_room
You can get all sensor readings without specifying the key name, with
http://arduino.local/data/get

33: <p>How can I run a webserver in a Arduino Uno? I want to use my Arduino to monitor things in my home such as temperature. I want to be able to access this data through the internet.</p>
 113: <p>You'll need something like the Ethernet Shield to connect your Arduino Uno to a LAN.</p>

<p>As for webserver functionality, the <a href="http://arduino.cc/en/Tutorial/WebServer" rel="nofollow noreferrer">Webserver Example</a> sketch does the bulk of what you need.</p>

<p><img src="https://i.stack.imgur.com/ju3X6.png" alt="enter image description here"></p>

<p>For the "access this data through the internet" part, assuming you want access beyond your LAN; you'll need to perform Port Forwarding on your local router (i.e. allow the "Internet" to see your Arduino).</p>

<p>If you need wifi, then personally I prefer the <a href="https://www.adafruit.com/products/1469" rel="nofollow noreferrer">CC3300</a> to the Arduino Wifi shield.</p>
 27: <p>The <a href="http://arduino.cc/en/Main/ArduinoBoardYun" rel="nofollow">Arduino Yún</a> has been made with this use case in mind. The <a href="http://arduino.cc/en/Reference/YunBridgeLibrary" rel="nofollow">Bridge library</a> allows your sketch to publish data such as sensor readings: this data is available through a REST api.</p>

<p>Say you want to publish the temperature of your living room: you'll write something like</p>

<p><code>Bridge.put("living_room", String(19)); //celsius</code></p>

<p>You can then access the data via web with a URL like</p>

<p><code>http://arduino.local/data/get/living_room</code></p>

<p>You can get all sensor readings without specifying the key name, with</p>

<p><code>http://arduino.local/data/get</code></p>
