<?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>MQTT &#8211; OMG The Cloud!</title>
	<atom:link href="https://www.omgthecloud.com/tag/mqtt/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.omgthecloud.com</link>
	<description>Video Tutorials for IT Professionals. Entertainment for the rest of us</description>
	<lastBuildDate>Fri, 18 Jun 2021 14:00:42 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.1</generator>

<image>
	<url>https://www.omgthecloud.com/wp-content/uploads/2021/04/cropped-OMG-logo-1-32x32.jpg</url>
	<title>MQTT &#8211; OMG The Cloud!</title>
	<link>https://www.omgthecloud.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Solar-Powered IoT project: Firmware flash</title>
		<link>https://www.omgthecloud.com/solar-powered-iot-project-firmware-flash/</link>
					<comments>https://www.omgthecloud.com/solar-powered-iot-project-firmware-flash/#respond</comments>
		
		<dc:creator><![CDATA[OMG!]]></dc:creator>
		<pubDate>Fri, 07 May 2021 13:00:00 +0000</pubDate>
				<category><![CDATA[Home Automation]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Home Assistant]]></category>
		<category><![CDATA[IoT]]></category>
		<category><![CDATA[MQTT]]></category>
		<guid isPermaLink="false">https://www.omgthecloud.com/?p=125</guid>

					<description><![CDATA[Let&#8217;s get some ESPHome firmware flashed on to your ESP32 solar-powered IoT project! I&#8217;ll show you the basics of building the base firmware to get it attached to your WiFi network, some tips and tricks for working with mDNS across subnets, and leave you with a working OTA-managable solar-powered sensor! Code&#46;&#46;&#46;]]></description>
										<content:encoded><![CDATA[
<p>Let&#8217;s get some ESPHome firmware flashed on to your ESP32 solar-powered IoT project! I&#8217;ll show you the basics of building the base firmware to get it attached to your WiFi network, some tips and tricks for working with mDNS across subnets, and leave you with a working OTA-managable solar-powered sensor! Code examples are below, as referenced in the video!</p>



<figure class="wp-block-embed"><div class="wp-block-embed__wrapper">
<div class="epyt-video-wrapper"><div  id="_ytid_43477"  width="740" height="416"  data-origwidth="740" data-origheight="416" data-facadesrc="https://www.youtube.com/embed/XppXqKD45Zg?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;modestbranding=1&#038;rel=0&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;" class="__youtube_prefs__ epyt-facade epyt-is-override  no-lazyload" data-epautoplay="1" ><img decoding="async" data-spai-excluded="true" class="epyt-facade-poster skip-lazy" loading="lazy"  alt="YouTube player"  src="https://i.ytimg.com/vi/XppXqKD45Zg/maxresdefault.jpg"  /><button class="epyt-facade-play" aria-label="Play"><svg data-no-lazy="1" height="100%" version="1.1" viewBox="0 0 68 48" width="100%"><path class="ytp-large-play-button-bg" d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z" fill="#f00"></path><path d="M 45,24 27,14 27,34" fill="#fff"></path></svg></button></div></div>
</div></figure>



<p><strong>Flashing firmware via USB</strong><br>If you&#8217;re trying to find your ESP32 / ESP8266 board after you plugged it in to USB, on macOS systems, you will want to go to Terminal, and run:<br><code><strong>ls /dev/tty.usb*</strong></code><br>.. which will output all <code><strong>usbserial</strong></code> devices attached.</p>



<p><strong>Install ESPTOOL.PY</strong><br>You&#8217;re going to need esptool.py for actually flashing the firmware .bin file. I&#8217;m going to send you over to the <a rel="noreferrer noopener" href="https://github.com/espressif/esptool" target="_blank">ESPTool GitHub Page</a> for the most current instructions, but if you are familiar with using <code><strong>pip</strong></code>, then it&#8217;s as simple as running<br><code><strong>pip install esptool</strong></code><br>Once that&#8217;s loaded up, you&#8217;ll be ready to flash the firmware .bin you generated with ESPHome from the video tutorial</p>



<p><strong>Flash ESPHome Firmware</strong><br>Once you&#8217;ve compiled your <strong><code>.bin</code></strong> firmware and downloaded it locally, identified which usbserial device your ESP32 is attached to, and have esptool installed, you&#8217;re ready to flash your firmware! Run the below cmd, with your unique <strong><code>usbserial-xxxx</code></strong> port, and the correct <strong><code>.bin</code></strong> filename<br><strong><code>esptool.py --chip esp32 --port /dev/tty.usbserial-12345678 write_flash 0x0000</code></strong><br>That&#8217;s it! It should begin writing the firmware <strong><code>.bin</code></strong> file to your ESP32! Note: If you&#8217;re using an ESP8266 instead, drop the <strong><code>--chip esp32</code></strong> from the command. </p>



<p><strong>Examples from the ESPHome firmware code</strong><br>A couple notes on what you see below:</p>



<ul class="wp-block-list"><li><strong><code>domain:</code></strong> &lt;&#8211; this is how you ensure your ESP is talking to the right FQDN namespace. Should match your home network internal domain name.</li><li><strong><code>fast_connect:</code></strong> &lt;&#8211; This allows you to connect to a hidden SSID network!</li><li><strong><code>use_address:</code></strong> &lt;&#8211; I didn&#8217;t talk about this in the video, but if you are having trouble with name resolution, you can tell ESPHome to go find your ESP on a specified IP address.</li></ul>



<p><code>esphome:<br>  name: esp32_01<br>  platform: ESP32<br>  board: wemos_d1_mini32</code><br><code>wifi:<br>  ssid: "WiFi Access Point SSID"<br>  password: "secretWifiPassword"<br>  domain: .yourdomain.com<br>  fast_connect: true<br>  use_address: 192.168.0.150</code></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.omgthecloud.com/solar-powered-iot-project-firmware-flash/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">125</post-id>	</item>
		<item>
		<title>Home Assistant OS &#8211; Setup guide</title>
		<link>https://www.omgthecloud.com/home-assistant-os-setup-guide/</link>
					<comments>https://www.omgthecloud.com/home-assistant-os-setup-guide/#respond</comments>
		
		<dc:creator><![CDATA[OMG!]]></dc:creator>
		<pubDate>Fri, 30 Apr 2021 06:00:00 +0000</pubDate>
				<category><![CDATA[Home Automation]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Home Assistant]]></category>
		<category><![CDATA[IoT]]></category>
		<category><![CDATA[MQTT]]></category>
		<guid isPermaLink="false">https://www.omgthecloud.com/?p=82</guid>

					<description><![CDATA[Let’s get your newly-deployed Home-Assistant instance set up, get those day-one add-ons installed, and get some best practices for backups and updates knocked out!]]></description>
										<content:encoded><![CDATA[
<p>Let’s get your newly-deployed Home-Assistant instance set up, get those day-one add-ons installed, and get some best practices for backups and updates knocked out!</p>



<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">
<div class="epyt-video-wrapper"><div  id="_ytid_50958"  width="740" height="416"  data-origwidth="740" data-origheight="416" data-facadesrc="https://www.youtube.com/embed/p0LGbwdyXkI?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;modestbranding=1&#038;rel=0&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;" class="__youtube_prefs__ epyt-facade epyt-is-override  no-lazyload" data-epautoplay="1" ><img decoding="async" data-spai-excluded="true" class="epyt-facade-poster skip-lazy" loading="lazy"  alt="YouTube player"  src="https://i.ytimg.com/vi/p0LGbwdyXkI/maxresdefault.jpg"  /><button class="epyt-facade-play" aria-label="Play"><svg data-no-lazy="1" height="100%" version="1.1" viewBox="0 0 68 48" width="100%"><path class="ytp-large-play-button-bg" d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z" fill="#f00"></path><path d="M 45,24 27,14 27,34" fill="#fff"></path></svg></button></div></div>
</div></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://www.omgthecloud.com/home-assistant-os-setup-guide/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">82</post-id>	</item>
		<item>
		<title>Solar powered ESP32 IoT sensor</title>
		<link>https://www.omgthecloud.com/solar-powered-esp32-iot-sensor/</link>
					<comments>https://www.omgthecloud.com/solar-powered-esp32-iot-sensor/#comments</comments>
		
		<dc:creator><![CDATA[OMG!]]></dc:creator>
		<pubDate>Tue, 27 Apr 2021 21:01:24 +0000</pubDate>
				<category><![CDATA[Home Automation]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Home Assistant]]></category>
		<category><![CDATA[IoT]]></category>
		<category><![CDATA[MQTT]]></category>
		<guid isPermaLink="false">https://www.omgthecloud.com/?p=72</guid>

					<description><![CDATA[In this video, we built a solar-powered, 18650 battery-backed ESP32-powered sensor, sitting in a compact 3D printed housing. This is using a temperature, humidity and barometric pressure sensor, known as the BME280, which runs on the i2c bus. Additionally, we’re using a TP4056 charge controller, the updated version with low-voltage protection!]]></description>
										<content:encoded><![CDATA[
<p>In this video, we built a solar-powered, 18650 battery-backed ESP32-powered sensor, sitting in a compact 3D printed housing. This is using a temperature, humidity and barometric pressure sensor, known as the BME280, which runs on the i2c bus. Additionally, we’re using a TP4056 charge controller, the updated version with low-voltage protection! </p>



<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">
<div class="epyt-video-wrapper"><div  id="_ytid_59729"  width="740" height="416"  data-origwidth="740" data-origheight="416" data-facadesrc="https://www.youtube.com/embed/U3uoa0QX5X4?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;modestbranding=1&#038;rel=0&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;" class="__youtube_prefs__ epyt-facade epyt-is-override  no-lazyload" data-epautoplay="1" ><img decoding="async" data-spai-excluded="true" class="epyt-facade-poster skip-lazy" loading="lazy"  alt="YouTube player"  src="https://i.ytimg.com/vi/U3uoa0QX5X4/maxresdefault.jpg"  /><button class="epyt-facade-play" aria-label="Play"><svg data-no-lazy="1" height="100%" version="1.1" viewBox="0 0 68 48" width="100%"><path class="ytp-large-play-button-bg" d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z" fill="#f00"></path><path d="M 45,24 27,14 27,34" fill="#fff"></path></svg></button></div></div>
</div></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://www.omgthecloud.com/solar-powered-esp32-iot-sensor/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">72</post-id>	</item>
	</channel>
</rss>
