<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ubidots &#8211; ChilliChump</title>
	<atom:link href="https://chillichump.com/tag/ubidots/feed/" rel="self" type="application/rss+xml" />
	<link>https://chillichump.com</link>
	<description>Your Ultimate Guide to Growing Chillies &#38; Making Hot Sauce! Est. 2006</description>
	<lastBuildDate>Sun, 26 Oct 2025 10:24:19 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.1</generator>

<image>
	<url>https://chillichump.com/wp-content/uploads/2023/08/Untitled-100x100.png</url>
	<title>ubidots &#8211; ChilliChump</title>
	<link>https://chillichump.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">166150923</site>	<item>
		<title>Easy, Cheap Web enabled Temperature and Humidity Sensor &#8211; With Ubidots</title>
		<link>https://chillichump.com/easy-cheap-web-enabled-temperature-and-humidity-sensor-with-ubidots/</link>
					<comments>https://chillichump.com/easy-cheap-web-enabled-temperature-and-humidity-sensor-with-ubidots/#comments</comments>
		
		<dc:creator><![CDATA[Shaun aka ChilliChump]]></dc:creator>
		<pubDate>Fri, 18 Jan 2019 14:30:07 +0000</pubDate>
				<category><![CDATA[Automation and Technology]]></category>
		<category><![CDATA[am2032]]></category>
		<category><![CDATA[dht22]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[humidity]]></category>
		<category><![CDATA[internet of things]]></category>
		<category><![CDATA[iot]]></category>
		<category><![CDATA[sensor]]></category>
		<category><![CDATA[temperature]]></category>
		<category><![CDATA[temperature and humidity]]></category>
		<category><![CDATA[ubidots]]></category>
		<category><![CDATA[wemos d1]]></category>
		<category><![CDATA[wemos d1 mini]]></category>
		<guid isPermaLink="false">https://chillichump.com/?p=267</guid>

					<description><![CDATA[This article is an accompaniment to this youtube video (https://www.youtube.com/watch?v=yqmOp7m4szA). See below the code for the two examples mentioned in the video. Don&#8217;t forget to visit Ubidots: http://bit.ly/ubidotsCC The parts I use in this video: Wemos D1 Mini and DHT22 (AM2032) Sensor IOT: Connecting to WiFi and uploading to Ubidots]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="Easy web-enabled Temperature and Humidity monitoring for your greenhouse" width="1600" height="900" src="https://www.youtube.com/embed/yqmOp7m4szA?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<p class="wp-block-paragraph">This article is an accompaniment to this youtube video (<a href="https://www.youtube.com/watch?v=yqmOp7m4szA" target="_blank" rel="noopener">https://www.youtube.com/watch?v=yqmOp7m4szA</a>). See below the code for the two examples mentioned in the video. Don&#8217;t forget to visit <a href="http://bit.ly/ubidotsCC" target="_blank" rel="noopener">Ubidots: http://bit.ly/ubidotsCC</a></p>



<p class="wp-block-paragraph">The parts I use in this video: </p>



<ul class="wp-block-list">
<li><a href="http://geni.us/wemosd1mini" target="_blank" rel="noopener">Wemos D1 Mini</a></li>



<li><a href="http://geni.us/dht22" target="_blank" rel="noopener">Temp and Hum Sensor</a></li>



<li><a href="http://geni.us/hakkofx888d" target="_blank" rel="noopener">Soldering iron I use</a></li>
</ul>



<p class="wp-block-paragraph"></p>



<h3 class="wp-block-heading"><a href="http://geni.us/wemosd1mini" target="_blank" rel="noopener">Wemos D1 Mini</a> and <a href="http://geni.us/dht22" target="_blank" rel="noopener">DHT22 (AM2032)</a> Sensor</h3>



<pre class="wp-block-code"><code>
//Make sure you setup the ESP8266 Board
//File - Preferences - Additional Board References URL
//http://arduino.esp8266.com/versions/2.3.0/package_esp8266com_index.json

#include "DHT.h" //https://github.com/adafruit/DHT-sensor-library

#define DHTPIN 5 //Pin D1

#define DHTTYPE DHT22 //Temp and Humidity Sensor we are using


DHT dht(DHTPIN, DHTTYPE);

void setup() {
  Serial.begin(115200);
  Serial.println("Initialised...");

  dht.begin();
}

void loop() {

  delay(1500);
  float h = dht.readHumidity();
  // Read temperature as Celsius (the default)
  float t = dht.readTemperature();


  // Check if any reads failed and exit early (to try again).
  if (isnan(h) || isnan(t)) {
    Serial.println("Failed to read from DHT sensor!");
    return;
  }
  Serial.print("Humidity: ");
  Serial.print(h);
  Serial.print("   Temperature: ");
  Serial.println(t);
}
</code></pre>



<h3 class="wp-block-heading">IOT: Connecting to WiFi and uploading to Ubidots</h3>



<pre class="wp-block-code"><code>#include "DHT.h" //https://github.com/adafruit/DHT-sensor-library
#include &lt;ESP8266WiFi.h&gt;
#include "UbidotsESPMQTT.h"
#define DHTPIN 5 //Pin D1

#define DHTTYPE DHT22 //Temp and Humidity Sensor we are using


#define TOKEN "xxxxxxxxxxxxxxxxxxxxxxxxx" // Your Ubidots TOKEN

#define WIFINAME "SSID" //Your SSID
#define WIFIPASS "PASSWORD" //Your Wifi Pass

DHT dht(DHTPIN, DHTTYPE);


Ubidots client(TOKEN);

void callback(char* topic, byte* payload, unsigned int length) {
  Serial.print("Message arrived &#91;");
  Serial.print(topic);
  Serial.print("] ");
  for (int i=0;i&lt;length;i++) {
    Serial.print((char)payload&#91;i]);
  }
  Serial.println();
}

void setup() {
  client.setDebug(true);
  Serial.begin(115200);
  client.wifiConnection(WIFINAME, WIFIPASS);
  client.begin(callback);
  
  Serial.println("");
  Serial.println("WiFi connected");  
  Serial.println("IP address: ");
  Serial.println(WiFi.localIP());

  dht.begin();
}

void loop() {


  float h = dht.readHumidity(); //Humidity in %
  float t = dht.readTemperature(); //Temp in Celsius

  if (isnan(h) || isnan(t)) { //Did the sensor read fail?
    Serial.println("Failed to read from DHT sensor!");
    return;
  }
  
  Serial.print("Humidity: ");
  Serial.print(h);
  Serial.print("   Temperature: ");
  Serial.println(t);

  if(!client.connected()){
      client.reconnect();
  }

  client.add("temperature", t);
  client.add("humidity", h);
  client.ubidotsPublish("Temp_Humidity_SmallGH");
  client.loop();

  delay(60000);
  


}
</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://chillichump.com/easy-cheap-web-enabled-temperature-and-humidity-sensor-with-ubidots/feed/</wfw:commentRss>
			<slash:comments>14</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">267</post-id>	</item>
	</channel>
</rss>
