<?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>Projects &#8211; About Things | A Hans Scharler Blog</title>
	<atom:link href="https://nothans.com/category/projects/feed" rel="self" type="application/rss+xml" />
	<link>https://nothans.com</link>
	<description>Life, Comedy, Games, Tech, Marketing, and Community</description>
	<lastBuildDate>Sun, 07 Jan 2024 15:02:09 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://i0.wp.com/nothans.com/wp-content/uploads/2023/02/cropped-settings.png?fit=32%2C32&#038;ssl=1</url>
	<title>Projects &#8211; About Things | A Hans Scharler Blog</title>
	<link>https://nothans.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">114568856</site>	<item>
		<title>It&#8217;s Time for Snowblower Maintenance Ahead of the Big Storm</title>
		<link>https://nothans.com/its-time-for-snowblower-maintenance-ahead-of-the-big-storm</link>
					<comments>https://nothans.com/its-time-for-snowblower-maintenance-ahead-of-the-big-storm#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Sat, 06 Jan 2024 22:13:09 +0000</pubDate>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Ariens]]></category>
		<category><![CDATA[maintenance]]></category>
		<category><![CDATA[snowblower]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=4440</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p>The big topic all week is the big storm that is projected to come our way. This means that we are likely to get snow. It would be the first snow of the season. This also means that I haven&#8217;t run my snowblower yet. Well, it&#8217;s time for snowblower maintenance. It is way easier to do the maintenance ahead of the snow season, so you (and everyone else) are not scrambling to The Home Depot for the last shear bolts in stock.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" fetchpriority="high" decoding="async" width="750" height="563" data-attachment-id="4442" data-permalink="https://nothans.com/its-time-for-snowblower-maintenance-ahead-of-the-big-storm/image-6-14" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2024/01/image-6.png?fit=1266%2C950&amp;ssl=1" data-orig-size="1266,950" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Snowblower selfie" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2024/01/image-6.png?fit=750%2C563&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2024/01/image-6.png?resize=750%2C563&#038;ssl=1" alt="" class="wp-image-4442" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2024/01/image-6.png?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2024/01/image-6.png?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2024/01/image-6.png?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2024/01/image-6.png?resize=750%2C563&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2024/01/image-6.png?resize=500%2C375&amp;ssl=1 500w, https://i0.wp.com/nothans.com/wp-content/uploads/2024/01/image-6.png?resize=100%2C75&amp;ssl=1 100w, https://i0.wp.com/nothans.com/wp-content/uploads/2024/01/image-6.png?w=1266&amp;ssl=1 1266w" sizes="(max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">George and I Getting Ready for the Nor&#8217;easter Snow Storm</figcaption></figure>
</div>


<p>Here are some tips that I have learned after a few seasons in New England with an Ariens 1128 Sno-Thro snowblower.</p>



<p><strong>RTFM.</strong> The manual contains a lot of clues. <a href="https://www.ariens.com/en-us/productsupport" target="_blank" rel="noreferrer noopener">Ariens.com</a> has manuals for all of its models archived. Actually, I find that the manual gets more helpful over time. Initially, you don’t know anything about this machine that you just bought. How hard could it be, you may think? The machine typically works pretty well when you first get it. Once you get a little time under your belt, read the manual. You will find little details that help you understand what’s going on.</p>



<p><strong>Take notes.&nbsp;</strong>When you learn something, write it down. Your future self will thank you. Write down the socket sizes, threads, part numbers for replacement parts, and any tips that you discover.</p>



<p><strong>Watch videos on YouTube.</strong>&nbsp;When you encounter a problem or a developing issue, find appropriate videos on YouTube. You will have to make sure that you watch a video on your specific model, as sometimes you might be watching a video on a different model. I tend to act like a detective and seek out the information from the videos. Not all of the videos, or every video you are going to find, are going to apply. This is a good skill to develop to speed up the learning process with anything that you may want to learn.</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe class="youtube-player" width="750" height="422" src="https://www.youtube.com/embed/WaMhISxX9j8?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent" allowfullscreen="true" style="border:0;" sandbox="allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox"></iframe>
</div><figcaption class="wp-element-caption">How To Grease Your Snow Blower Auger</figcaption></figure>



<p><strong>Grease the shear bolts.</strong>&nbsp;Your snowblower is designed to fail-safe when you run over a dog toy, a tree branch, or a rock. A shear bolt is designed to break in case of a jam instead of putting the forces back on the belt, drive, and motor. When you replace your shear bolt, grease it up. It will be easier to remove and replace when you inevitably hit something.</p>



<figure class="wp-block-image"><img decoding="async" width="812" height="887" data-attachment-id="2713" data-permalink="https://nothans.com/zen-and-the-art-of-snowblower-maintenance-ariens-sno-thro-repair/shear-bolt" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/02/shear-bolt.jpg?fit=812%2C887&amp;ssl=1" data-orig-size="812,887" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="shear-bolt" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/02/shear-bolt.jpg?fit=750%2C819&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2022/02/shear-bolt.jpg?resize=750%2C819&amp;ssl=1" alt="" class="wp-image-2713" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2022/02/shear-bolt.jpg?w=812&amp;ssl=1 812w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/02/shear-bolt.jpg?resize=275%2C300&amp;ssl=1 275w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/02/shear-bolt.jpg?resize=768%2C839&amp;ssl=1 768w" sizes="(max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">Greased Shear Bolt</figcaption></figure>



<p><strong>Keep a stock of shear bolts.</strong>&nbsp;Use the manual to find the type of shear bolt you need. Write down the part number.&nbsp;Buy a bunch of <a href="https://amzn.to/41R2eWQ">shear bolts</a>. Try them out as soon as you get them. Make sure they fit and last with normal wear. On Amazon, there is a variety of quality that you will find. So, find ones that work and return the ones that don’t. You will be thankful when you need them. In New England, they tend to be out of stock in the winter since everyone is breaking their shear bolts and going out to buy them. Mine uses a 1/2″ socket to install. Yes, I wrote that down in my notes.</p>



<p><strong>Grease the auger when you replace the shear bolts.&nbsp;</strong>A good time to grease the auger shaft is when you replace the shear bolts. I like to take the shear bolts off and apply grease via the Zerk fittings and then spin the auger to spread out the grease. I squeeze grease in there until it comes out the sides of the auger. This was something I had to watch a&nbsp;<a rel="noreferrer noopener" href="https://www.youtube.com/watch?v=WaMhISxX9j8" target="_blank">YouTube</a>&nbsp;video on. I never used my grease gun before and didn’t even know how to attach it to the grease fitting.</p>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="1184" height="888" data-attachment-id="2714" data-permalink="https://nothans.com/zen-and-the-art-of-snowblower-maintenance-ariens-sno-thro-repair/grease-fitting" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/02/grease-fitting.jpg?fit=1184%2C888&amp;ssl=1" data-orig-size="1184,888" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grease-fitting" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/02/grease-fitting.jpg?fit=750%2C563&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2022/02/grease-fitting.jpg?resize=750%2C563&amp;ssl=1" alt="" class="wp-image-2714" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2022/02/grease-fitting.jpg?w=1184&amp;ssl=1 1184w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/02/grease-fitting.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/02/grease-fitting.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/02/grease-fitting.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/02/grease-fitting.jpg?resize=100%2C75&amp;ssl=1 100w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">Grease Gun Correctly Connected to a Zerk Grease Fitting</figcaption></figure>



<p><strong>Maintain the correct tire pressure.&nbsp;</strong>My Ariens 1128 tires require 14 psi to function properly. I bought a battery-powered air compressor to make it easy to fill the tires. I also like that it tells me the pressure in the tire with a digital readout. Make sure that both tires are set to the same air pressure. This will help the snowblower travel in a straight line. If you don’t know your target PSI, check the sides of the tires. It is usually written on the walls of the tire.</p>



<figure data-carousel-extra='{&quot;blog_id&quot;:1,&quot;permalink&quot;:&quot;https://nothans.com/its-time-for-snowblower-maintenance-ahead-of-the-big-storm&quot;}'  class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="666" height="888" data-attachment-id="2715" data-permalink="https://nothans.com/zen-and-the-art-of-snowblower-maintenance-ariens-sno-thro-repair/tire-air-pressure" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/02/tire-air-pressure.jpg?fit=666%2C888&amp;ssl=1" data-orig-size="666,888" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="tire-air-pressure" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/02/tire-air-pressure.jpg?fit=666%2C888&amp;ssl=1" data-id="2715" src="https://i0.wp.com/nothans.com/wp-content/uploads/2022/02/tire-air-pressure.jpg?resize=666%2C888&#038;ssl=1" alt="" class="wp-image-2715" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2022/02/tire-air-pressure.jpg?w=666&amp;ssl=1 666w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/02/tire-air-pressure.jpg?resize=225%2C300&amp;ssl=1 225w" sizes="auto, (max-width: 666px) 100vw, 666px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="716" height="950" data-attachment-id="4441" data-permalink="https://nothans.com/its-time-for-snowblower-maintenance-ahead-of-the-big-storm/image-5-16" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2024/01/image-5.png?fit=716%2C950&amp;ssl=1" data-orig-size="716,950" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="correct snowblower tire pressure" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2024/01/image-5.png?fit=716%2C950&amp;ssl=1" data-id="4441" src="https://i0.wp.com/nothans.com/wp-content/uploads/2024/01/image-5.png?resize=716%2C950&#038;ssl=1" alt="" class="wp-image-4441" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2024/01/image-5.png?w=716&amp;ssl=1 716w, https://i0.wp.com/nothans.com/wp-content/uploads/2024/01/image-5.png?resize=226%2C300&amp;ssl=1 226w" sizes="auto, (max-width: 716px) 100vw, 716px" /></figure>
</figure>



<p><strong>Take advantage of the calm before the storm.&nbsp;</strong>It’s freezing in the winter, and it&#8217;s not convenient to perform maintenance. In the spring or fall, you can take advantage of warmer weather and lower stakes. Grease the auger, <a href="https://amzn.to/41R2eWQ" target="_blank" rel="noreferrer noopener">buy some shear bolts from Amazon</a>, clean the gas, add oil, tighten the chute, and set the right air pressure in your tires.</p>



<p><em>Godspeed.</em></p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/its-time-for-snowblower-maintenance-ahead-of-the-big-storm/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4440</post-id>	</item>
		<item>
		<title>CheerLights for Halloween</title>
		<link>https://nothans.com/cheerlights-for-halloween-fearlights</link>
					<comments>https://nothans.com/cheerlights-for-halloween-fearlights#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Tue, 24 Oct 2023 19:27:07 +0000</pubDate>
				<category><![CDATA[CheerLights]]></category>
		<category><![CDATA[IoT]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[ThingSpeak]]></category>
		<category><![CDATA[cheerlights]]></category>
		<category><![CDATA[internet of things]]></category>
		<category><![CDATA[iot]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[thingspeak]]></category>
		<category><![CDATA[web of things]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=4170</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p>Are you ready? Ready for another season of <a href="https://cheerlights.com">CheerLights</a>? I love seeing CheerLights have a longer and longer season as the years go by. Last year, many people made Halloween displays that were connected to the CheerLights project&#8230; <a href="http://fearlights.com">FearLights</a>&#8230; if you will.</p>


<div class="wp-block-image">
<figure class="aligncenter"><a href="http://fearlights.com/"><img loading="lazy" decoding="async" width="518" height="142" data-attachment-id="3420" data-permalink="https://nothans.com/cheerlights-for-halloween/cyan-cheerlights-color" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/10/Cyan-CheerLights-Color.png?fit=518%2C142&amp;ssl=1" data-orig-size="518,142" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Cyan CheerLights Color" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/10/Cyan-CheerLights-Color.png?fit=518%2C142&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2022/10/Cyan-CheerLights-Color.png?resize=518%2C142&amp;ssl=1" alt="" class="wp-image-3420" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2022/10/Cyan-CheerLights-Color.png?w=518&amp;ssl=1 518w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/10/Cyan-CheerLights-Color.png?resize=300%2C82&amp;ssl=1 300w" sizes="auto, (max-width: 518px) 100vw, 518px" /></a><figcaption class="wp-element-caption">Cyan FearLights!</figcaption></figure>
</div>


<p><a rel="noreferrer noopener" href="https://cheerlights.com/" target="_blank">CheerLights</a> is a fun way to get started with IoT, microcontrollers, and LED lights. If you know how to make CheerLights work, you can build some other awesome IoT projects. CheerLights is a great project to get people interested in IoT. It&#8217;s often used as an &#8220;Hello, World&#8221; project for the Internet of Things, and what you learn can be applied to other project ideas.</p>



<p>To make a Halloween-inspired project, you can take the CheerLights color and illuminate a pumpkin or even a&#8230; skull from <a rel="noreferrer noopener" href="https://shop.pimoroni.com/products/wireless-plasma-kit" target="_blank">Pimoroni</a>.</p>


<div class="wp-block-image">
<figure class="aligncenter"><a href="https://twitter.com/mtaylorsherwood/status/1585202938850729985/photo/1"><img loading="lazy" decoding="async" width="1300" height="1726" data-attachment-id="3421" data-permalink="https://nothans.com/cheerlights-for-halloween/image-7" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/10/image-7.png?fit=1300%2C1726&amp;ssl=1" data-orig-size="1300,1726" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="CheerLights Halloween Skull" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/10/image-7.png?fit=750%2C996&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2022/10/image-7.png?resize=750%2C996&amp;ssl=1" alt="" class="wp-image-3421" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2022/10/image-7.png?w=1300&amp;ssl=1 1300w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/10/image-7.png?resize=226%2C300&amp;ssl=1 226w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/10/image-7.png?resize=771%2C1024&amp;ssl=1 771w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/10/image-7.png?resize=768%2C1020&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/10/image-7.png?resize=1157%2C1536&amp;ssl=1 1157w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/10/image-7.png?resize=750%2C996&amp;ssl=1 750w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a><figcaption class="wp-element-caption">Pimoroni Wireless Plasma Stick + Glass Skull</figcaption></figure>
</div>


<p>Check out other Halloween CheerLights projects over at the CheerLights <a rel="noreferrer noopener" href="https://cheerlights.com/halloween/" target="_blank">blog</a>. Have fun with the idea, build something spooky, and help spread the… <em>fear</em>.</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">
<iframe loading="lazy" class="youtube-player" width="750" height="422" src="https://www.youtube.com/embed/2so03Zzy5Fc?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent" allowfullscreen="true" style="border:0;" sandbox="allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox"></iframe>
</div><figcaption class="wp-element-caption">Streaming Lo-Fi inspired by the latest CheerLights Color</figcaption></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/cheerlights-for-halloween-fearlights/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4170</post-id>	</item>
		<item>
		<title>Top 10 IoT Project Ideas For ThingSpeak</title>
		<link>https://nothans.com/top-10-iot-project-ideas-for-thingspeak</link>
					<comments>https://nothans.com/top-10-iot-project-ideas-for-thingspeak#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Wed, 22 Feb 2023 00:14:13 +0000</pubDate>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[ThingSpeak]]></category>
		<category><![CDATA[ideas]]></category>
		<category><![CDATA[internet of things]]></category>
		<category><![CDATA[iot]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[thingspeak]]></category>
		<category><![CDATA[web of things]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=3649</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<h2 class="wp-block-heading" id="what-is-thingspeak">What is ThingSpeak?</h2>


<p><a href="https://thingspeak.com">ThingSpeak</a> is an Internet of Things (IoT) platform that allows you to collect, analyze, and act on data from sensors and other IoT devices. The platform provides a web-based interface for users to create and manage channels, which are virtual locations where data from sensors and other devices can be collected and analyzed using the built-in MATLAB analytics app.</p>



<figure class="wp-block-image size-full"><a href="https://thingspeak.com/"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="555" data-attachment-id="3650" data-permalink="https://nothans.com/top-10-iot-project-ideas-for-thingspeak/image-3-6" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/02/image-3.png?fit=949%2C702&amp;ssl=1" data-orig-size="949,702" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="ThingSpeak for IoT Projects" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/02/image-3.png?fit=750%2C555&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/02/image-3.png?resize=750%2C555&#038;ssl=1" alt="" class="wp-image-3650" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/02/image-3.png?w=949&amp;ssl=1 949w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/02/image-3.png?resize=300%2C222&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/02/image-3.png?resize=768%2C568&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/02/image-3.png?resize=750%2C555&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/02/image-3.png?resize=100%2C75&amp;ssl=1 100w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a><figcaption class="wp-element-caption">ThingSpeak for IoT Projects</figcaption></figure>



<p>With ThingSpeak, you can visualize your data in real-time, generate alerts and notifications based on pre-defined thresholds, and even automate actions based on specific conditions. The platform also includes built-in integrations with popular IoT hardware platforms, such as Arduino and Raspberry Pi, making it easy to connect your devices to the internet and start collecting data.</p>


<h2 class="wp-block-heading" id="top-10-iot-project-ideas-for-thingspeak">Top 10 IoT Project Ideas for ThingSpeak</h2>


<ol class="wp-block-list">
<li><strong>Weather Station:</strong> Build a weather station using a microcontroller such as Arduino or Raspberry Pi that collects data on temperature, humidity, and air pressure, and sends it to ThingSpeak for real-time monitoring and analysis.</li>



<li><strong>Home Automation: </strong>Use ThingSpeak to automate your home by controlling lights, fans, and other appliances based on sensor data, such as motion, temperature, or light levels.</li>



<li><strong>Smart Agriculture:</strong> Monitor soil moisture, temperature, and other environmental variables to optimize crop growth and water usage, using ThingSpeak to collect and analyze the data.</li>



<li><strong>Water Quality Monitoring</strong>: Monitor water quality in lakes, rivers, and other bodies of water using sensors to collect data on pH, temperature, and other parameters, and then use ThingSpeak to analyze the data and generate alerts for unsafe conditions.</li>



<li><strong>Smart Parking</strong>: Use ThingSpeak to monitor parking spots and guide drivers to available spots using sensors and real-time data analysis.</li>



<li><strong>Industrial Automation</strong>: Monitor machine data in a factory or other industrial setting to detect anomalies and predict equipment failures, using ThingSpeak to collect and analyze the data.</li>



<li><strong>Healthcare Monitoring</strong>: Use ThingSpeak to monitor patients&#8217; health data, such as heart rate, blood pressure, and oxygen levels, in real-time and alert healthcare professionals of any critical changes.</li>



<li><strong>Air Quality Monitoring</strong>: Use ThingSpeak to collect data on air quality, including particulate matter and pollutants, and generate alerts and visualizations for high-risk areas.</li>



<li><strong>Smart Energy</strong>: Monitor energy usage in homes or businesses and automatically adjust consumption based on sensor data, such as occupancy or sunlight levels.</li>



<li><strong>Smart City</strong>: Use ThingSpeak to monitor and optimize traffic flow, waste management, and other city services based on sensor data from a network of IoT devices.</li>
</ol>



<p><a href="/subscribe">Subscribe</a> to the <em>About Things</em> blog for more IoT news, tips, and projects. If you need help or want to share ideas,  connect with me and the community on our <a href="/discord">Quandary Discord Server</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/top-10-iot-project-ideas-for-thingspeak/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3649</post-id>	</item>
		<item>
		<title>IoT On Air Light Project Featured on Hackaday Blog!</title>
		<link>https://nothans.com/on-air-light-project-on-hackaday</link>
					<comments>https://nothans.com/on-air-light-project-on-hackaday#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Mon, 30 Jan 2023 17:02:49 +0000</pubDate>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Hackaday]]></category>
		<category><![CDATA[internet of things]]></category>
		<category><![CDATA[iot]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[press]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[thingspeak]]></category>
		<category><![CDATA[web of things]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=3579</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p>While scrolling through my newsreader this morning, I discovered my <a href="https://nothans.com/on-air-light-2023" data-type="post" data-id="3550">On Air Light</a> project featured on the Hackaday project blog. <a rel="noreferrer noopener" href="https://hackaday.com/author/robinkearey/" target="_blank">Robin Kearey</a> shared my project and extra detail on their post. I got a few messages this morning from friends and coworkers who saw the article. I am thankful for being included on the Hackaday blog and also thankful that Hackaday has stayed on top of maker projects for such a long time.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://hackaday.com/2023/01/29/automatic-on-air-light-prevents-distractions-during-online-meetings/"><img data-recalc-dims="1" loading="lazy" decoding="async" width="605" height="721" data-attachment-id="3580" data-permalink="https://nothans.com/on-air-light-project-on-hackaday/image-24" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-24.png?fit=605%2C721&amp;ssl=1" data-orig-size="605,721" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="On Air Light Featured on Hackaday" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-24.png?fit=605%2C721&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-24.png?resize=605%2C721&#038;ssl=1" alt="" class="wp-image-3580" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-24.png?w=605&amp;ssl=1 605w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-24.png?resize=252%2C300&amp;ssl=1 252w" sizes="auto, (max-width: 605px) 100vw, 605px" /></a><figcaption class="wp-element-caption">On Air Light Project on <a href="https://hackaday.com/2023/01/29/automatic-on-air-light-prevents-distractions-during-online-meetings/" target="_blank" rel="noreferrer noopener">Hackaday</a></figcaption></figure>
</div>


<p>This version of the On Air Light is cheaper and easier to build than my previous <a href="https://nothans.com/tag/on-air-light" data-type="post_tag" data-id="350">versions</a>.</p>



<figure data-carousel-extra='{&quot;blog_id&quot;:1,&quot;permalink&quot;:&quot;https://nothans.com/on-air-light-project-on-hackaday&quot;}'  class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://nothans.com/on-air-light-for-microsoft-teams-and-zoom-meetings"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="563" data-attachment-id="1491" data-permalink="https://nothans.com/on-air-light-for-microsoft-teams-and-zoom-meetings/on-air-light" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2020/03/On-Air-Light.jpg?fit=1224%2C918&amp;ssl=1" data-orig-size="1224,918" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="On-Air-Light" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2020/03/On-Air-Light.jpg?fit=750%2C563&amp;ssl=1" data-id="1491" src="https://i0.wp.com/nothans.com/wp-content/uploads/2020/03/On-Air-Light.jpg?resize=750%2C563&#038;ssl=1" alt="" class="wp-image-1491" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2020/03/On-Air-Light.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2020/03/On-Air-Light.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2020/03/On-Air-Light.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2020/03/On-Air-Light.jpg?w=1224&amp;ssl=1 1224w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a><figcaption class="wp-element-caption">First On Air Light</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://nothans.com/on-air-light-for-live-streaming"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="732" data-attachment-id="2372" data-permalink="https://nothans.com/on-air-light-for-live-streaming/on-air-light-led-strip" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/on-air-light-led-strip.jpg?fit=1016%2C992&amp;ssl=1" data-orig-size="1016,992" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="On Air Light with LED Strip" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/on-air-light-led-strip.jpg?fit=750%2C732&amp;ssl=1" data-id="2372" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/on-air-light-led-strip.jpg?resize=750%2C732&#038;ssl=1" alt="" class="wp-image-2372" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/on-air-light-led-strip.jpg?w=1016&amp;ssl=1 1016w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/on-air-light-led-strip.jpg?resize=300%2C293&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/on-air-light-led-strip.jpg?resize=768%2C750&amp;ssl=1 768w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a><figcaption class="wp-element-caption">No Code On Air Light</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://nothans.com/on-air-light-2023"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="565" data-attachment-id="3553" data-permalink="https://nothans.com/on-air-light-2023/image-10-2" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-10.png?fit=1253%2C943&amp;ssl=1" data-orig-size="1253,943" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="New On Air Light" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-10.png?fit=750%2C565&amp;ssl=1" data-id="3553" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-10.png?resize=750%2C565&#038;ssl=1" alt="" class="wp-image-3553" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-10.png?resize=1024%2C771&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-10.png?resize=300%2C226&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-10.png?resize=768%2C578&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-10.png?resize=750%2C564&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-10.png?resize=500%2C375&amp;ssl=1 500w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-10.png?resize=100%2C75&amp;ssl=1 100w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-10.png?w=1253&amp;ssl=1 1253w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a><figcaption class="wp-element-caption">Easy On Air Light</figcaption></figure>
<figcaption class="blocks-gallery-caption wp-element-caption">Evolution of On Air Light Projects</figcaption></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/on-air-light-project-on-hackaday/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3579</post-id>	</item>
		<item>
		<title>On Air Light 2023: Easy DIY Status Light for Microsoft Teams and Zoom</title>
		<link>https://nothans.com/on-air-light-2023</link>
					<comments>https://nothans.com/on-air-light-2023#comments</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Wed, 25 Jan 2023 22:03:24 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[ThingSpeak]]></category>
		<category><![CDATA[internet of things]]></category>
		<category><![CDATA[iot]]></category>
		<category><![CDATA[making]]></category>
		<category><![CDATA[On Air Light]]></category>
		<category><![CDATA[Teams]]></category>
		<category><![CDATA[thingspeak]]></category>
		<category><![CDATA[web of things]]></category>
		<category><![CDATA[Zoom]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=3550</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p>In March 2020, I made an <a href="https://nothans.com/on-air-light-for-microsoft-teams-and-zoom-meetings" data-type="post" data-id="1489">On Air Light for Microsoft Teams</a> to indicate whether or not my camera was on for all of my newfound remote meetings. Oh, those were the days. At the time, it was a fun project. I didn&#8217;t expect it to be something I still use daily after three years. And my project was complicated. I called it a DIY project, but you had to have two specialized parts: the light housing and some LEDs from an upcycled light. I literally just used what I had in my parts storage area. I get an email almost daily from folks building their own, getting stuck, or asking for clarification. I decided to redo the project using things from Amazon, reduce some of the DIY aspects, and simplify the code. </p>


<h2 class="wp-block-heading" id="the-idea">The Idea</h2>


<p>I want a light that turns on when my webcam turns on. I want the light to turn off when my camera turns off. The idea is that my camera is on when I am in an online meeting. The light is a good indicator to everyone, including myself, that I am in a meeting.</p>


<h2 class="wp-block-heading" id="the-system">The System</h2>


<p>In order to turn a light on and off, I need a script that monitors my webcam for activity. This script will then send the status of my webcam to <a href="https://thingspeak.com" target="_blank" rel="noreferrer noopener">ThingSpeak</a>, a cloud IoT platform that allows you to save and retrieve sensor data. Then, the on-air light controller will read the data from ThingSpeak and turn the light on if my camera is on.</p>


<h2 class="wp-block-heading" id="the-parts">The Parts</h2>


<p>I was able to find everything you need on Amazon to build this project.</p>



<ul class="wp-block-list">
<li><a href="https://amzn.to/3H02OIv" target="_blank" rel="noreferrer noopener">On Air sign</a></li>



<li><a href="https://amzn.to/3H0fChm" target="_blank" rel="noreferrer noopener">ESP32 board</a></li>



<li><a href="https://amzn.to/3kIJIhY" target="_blank" rel="noreferrer noopener">ESP32 screw terminal board</a></li>



<li><a rel="noreferrer noopener" href="https://amzn.to/3R3heM5" target="_blank">LED light strip</a></li>
</ul>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="612" data-attachment-id="3551" data-permalink="https://nothans.com/on-air-light-2023/image-8-3" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-8.png?fit=1222%2C998&amp;ssl=1" data-orig-size="1222,998" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-8" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-8.png?fit=750%2C612&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-8.png?resize=750%2C612&#038;ssl=1" alt="" class="wp-image-3551" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-8.png?resize=1024%2C836&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-8.png?resize=300%2C245&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-8.png?resize=768%2C627&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-8.png?resize=750%2C613&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-8.png?resize=80%2C64&amp;ssl=1 80w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-8.png?w=1222&amp;ssl=1 1222w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">DIY On Air Light Parts</figcaption></figure>



<p>Here are some notes about these parts.</p>



<ul class="wp-block-list">
<li>You can use any sign that you want to light up. I chose this one since it was $15 US and looks great. It also includes a Micro USB cable that you can use for the ESP32 device.</li>



<li>Screw terminals make this project a solder-free project. Some people who wrote me said that soldering was a barrier to getting started. I want this to be accessible to as many makers as possible. Screw terminals offer a quick way to break out the pins of the ESP32 board and easily connect wires.</li>



<li>Only certain styles of the ESP32 board work with the screw terminals. The terminals are for the 38-pin version of the HiLetgo ESP-WROOM-32 ESP32 dev board. The two parts that I linked to on Amazon will fit together perfectly. Other ESP32 boards might not work with the screw terminal expansion board.</li>
</ul>


<h2 class="wp-block-heading" id="thingspeak-setup">ThingSpeak Setup</h2>


<p><a href="https://thingspeak.com">ThingSpeak</a> is an IoT service hosted by MathWorks. It is focused on being easy to collect data and then retrieve that data. We are going to leverage that core functionality for this project. ThingSpeak stores data in a channel and each channel has eight fields.</p>



<p>Visit&nbsp;<a href="https://thingspeak.com/">ThingSpeak.com</a>&nbsp;and&nbsp;<a href="https://thingspeak.com/users/sign_up">Sign Up</a>&nbsp;for an account. This will just take a minute and user accounts are free. Once you have a user account, you need to create a channel. ThingSpeak channels are where data gets stored.&nbsp;Create a new channel by selecting&nbsp;<em>Channels</em>,&nbsp;<em>My Channels</em>, and then&nbsp;<em>New Channel</em>. Name the channel, “On Air Light&#8221; and name Field 1, “Webcam State”. Click “Save Channel” at the bottom to finish the process.</p>



<p>Click <em>API Keys</em> and note your write API key and read API key. The write API key will be used by the code to track your webcam state. The read API key will be used to turn on or off the light based on the webcam state.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="552" height="191" data-attachment-id="3552" data-permalink="https://nothans.com/on-air-light-2023/image-9-2" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-9.png?fit=552%2C191&amp;ssl=1" data-orig-size="552,191" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-9" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-9.png?fit=552%2C191&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-9.png?resize=552%2C191&#038;ssl=1" alt="" class="wp-image-3552" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-9.png?w=552&amp;ssl=1 552w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-9.png?resize=300%2C104&amp;ssl=1 300w" sizes="auto, (max-width: 552px) 100vw, 552px" /></figure>
</div>

<h2 class="wp-block-heading" id="track-webcam-state">Track Webcam State</h2>


<p>I wrote a Python script that uses OpenCV to detect if the camera is in use or not. It sends a &#8220;1&#8221; to field1 of the ThingSpeak Channel if the camera is in use. It sends a 0 if the camera is not in use. Just run this code on a periodic basis to track the state of your webcam.</p>



<p>The code to track my webcam state and upload the state to ThingSpeak is available on&nbsp;<a rel="noreferrer noopener" href="https://github.com/nothans/webcam-state" target="_blank">GitHub</a>. Update the code with your ThingSpeak Channel&#8217;s write API key.</p>



<p>Most of the magic is here:</p>



<pre class="wp-block-preformatted">def&nbsp;returnWebcamStatus(webcamIndex):

&nbsp;&nbsp;&nbsp;&nbsp;webcam&nbsp;=&nbsp;cv2.VideoCapture(webcamIndex,&nbsp;cv2.CAP_DSHOW)

&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;webcam.isOpened():
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;webcam.release()
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;True&nbsp;#Webcam&nbsp;not&nbsp;in&nbsp;use
&nbsp;&nbsp;&nbsp;&nbsp;else:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;False&nbsp;#Webcam&nbsp;in&nbsp;use</pre>


<div class="wp-block-image">
<figure class="aligncenter"><a href="https://github.com/nothans/webcam-state"><img data-recalc-dims="1" loading="lazy" decoding="async" width="483" height="335" data-attachment-id="1692" data-permalink="https://nothans.com/on-air-light-for-microsoft-teams-and-zoom-meetings/webcamstatus_thingspeak2" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/WebcamStatus_ThingSpeak2.png?fit=483%2C335&amp;ssl=1" data-orig-size="483,335" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="WebcamStatus_ThingSpeak2" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/WebcamStatus_ThingSpeak2.png?fit=483%2C335&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/WebcamStatus_ThingSpeak2.png?resize=483%2C335&#038;ssl=1" alt="" class="wp-image-1692" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/WebcamStatus_ThingSpeak2.png?w=483&amp;ssl=1 483w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/WebcamStatus_ThingSpeak2.png?resize=300%2C208&amp;ssl=1 300w" sizes="auto, (max-width: 483px) 100vw, 483px" /></a><figcaption class="wp-element-caption">ThingSpeak chart of my webcam status</figcaption></figure>
</div>

<h2 class="wp-block-heading" id="assembly">Assembly</h2>


<p>Get your parts together and get ready to put everything together. Take your time and step through. There is no soldering, just some connections to be made on a set of screw terminals. You will need cutters, a small screwdriver, and some tape to complete the assembly.</p>


<h3 class="wp-block-heading" id="connect-the-esp32-board-to-the-screw-terminal-board">Connect the ESP32 board to the SCrew Terminal Board</h3>


<p>Make sure to get the right orientation of the boards together. The 5V pins should line up and the USB part should be pointing down.</p>



<figure data-carousel-extra='{&quot;blog_id&quot;:1,&quot;permalink&quot;:&quot;https://nothans.com/on-air-light-2023&quot;}'  class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="565" data-attachment-id="3557" data-permalink="https://nothans.com/on-air-light-2023/terminal-next-to-esp32" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/terminal-next-to-esp32.jpg?fit=1253%2C943&amp;ssl=1" data-orig-size="1253,943" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="terminal next to esp32" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/terminal-next-to-esp32.jpg?fit=750%2C565&amp;ssl=1" data-id="3557" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/terminal-next-to-esp32-1024x771.jpg?resize=750%2C565&#038;ssl=1" alt="" class="wp-image-3557" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/terminal-next-to-esp32.jpg?resize=1024%2C771&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/terminal-next-to-esp32.jpg?resize=300%2C226&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/terminal-next-to-esp32.jpg?resize=768%2C578&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/terminal-next-to-esp32.jpg?resize=750%2C564&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/terminal-next-to-esp32.jpg?resize=500%2C375&amp;ssl=1 500w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/terminal-next-to-esp32.jpg?resize=100%2C75&amp;ssl=1 100w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/terminal-next-to-esp32.jpg?w=1253&amp;ssl=1 1253w" sizes="auto, (max-width: 750px) 100vw, 750px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="565" data-attachment-id="3558" data-permalink="https://nothans.com/on-air-light-2023/esp32-on-terminal-board" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/esp32-on-terminal-board.jpg?fit=1253%2C943&amp;ssl=1" data-orig-size="1253,943" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="esp32 on terminal board" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/esp32-on-terminal-board.jpg?fit=750%2C565&amp;ssl=1" data-id="3558" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/esp32-on-terminal-board.jpg?resize=750%2C565&#038;ssl=1" alt="" class="wp-image-3558" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/esp32-on-terminal-board.jpg?resize=1024%2C771&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/esp32-on-terminal-board.jpg?resize=300%2C226&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/esp32-on-terminal-board.jpg?resize=768%2C578&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/esp32-on-terminal-board.jpg?resize=750%2C564&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/esp32-on-terminal-board.jpg?resize=500%2C375&amp;ssl=1 500w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/esp32-on-terminal-board.jpg?resize=100%2C75&amp;ssl=1 100w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/esp32-on-terminal-board.jpg?w=1253&amp;ssl=1 1253w" sizes="auto, (max-width: 750px) 100vw, 750px" /></figure>
</figure>


<h3 class="wp-block-heading" id="cut-off-the-out-connector-from-the-led-strip">Cut Off the Out Connector from the LED Strip</h3>


<p>We can use the connector on the out side of the LED strip. Cut this off and strip back some of the insulation. We will use this connector for the screw terminals.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="996" data-attachment-id="3559" data-permalink="https://nothans.com/on-air-light-2023/image-14" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-14.png?fit=752%2C999&amp;ssl=1" data-orig-size="752,999" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-14" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-14.png?fit=750%2C996&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-14.png?resize=750%2C996&#038;ssl=1" alt="" class="wp-image-3559" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-14.png?w=752&amp;ssl=1 752w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-14.png?resize=226%2C300&amp;ssl=1 226w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-14.png?resize=750%2C996&amp;ssl=1 750w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">The Out Side of the LED Strip</figcaption></figure>
</div>

<h3 class="wp-block-heading" id="connect-the-connector-to-the-screw-terminal-board">Connect the Connector to the Screw Terminal Board</h3>


<p>Connect the red wire to the 5v terminal. Connect the green wire to P13. Connect the white wire to GND.</p>



<figure class="wp-block-image size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="996" data-attachment-id="3560" data-permalink="https://nothans.com/on-air-light-2023/image-15" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-15.png?fit=752%2C999&amp;ssl=1" data-orig-size="752,999" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-15" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-15.png?fit=750%2C996&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-15.png?resize=750%2C996&#038;ssl=1" alt="" class="wp-image-3560" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-15.png?w=752&amp;ssl=1 752w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-15.png?resize=226%2C300&amp;ssl=1 226w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-15.png?resize=750%2C996&amp;ssl=1 750w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">Connector on the Screw Terminal Board</figcaption></figure>


<h3 class="wp-block-heading" id="connect-the-led-strip-to-the-connector">Connect the LED Strip to the Connector</h3>

<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="677" height="815" data-attachment-id="3561" data-permalink="https://nothans.com/on-air-light-2023/image-16" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-16.png?fit=677%2C815&amp;ssl=1" data-orig-size="677,815" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-16" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-16.png?fit=677%2C815&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-16.png?resize=677%2C815&#038;ssl=1" alt="" class="wp-image-3561" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-16.png?w=677&amp;ssl=1 677w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-16.png?resize=249%2C300&amp;ssl=1 249w" sizes="auto, (max-width: 677px) 100vw, 677px" /><figcaption class="wp-element-caption">Connect the LED Strip to the Terminal Board</figcaption></figure>
</div>

<h3 class="wp-block-heading" id="program-the-esp32">Program the ESP32</h3>


<p>Using the Micro USB cable that comes with the On Air Light, connect the ESP32 to your computer.</p>



<p>The code that the Arduino IDE uses is called a “sketch” – this is just a short program that the device runs over and over. In this project, we are going to have the code that checks the ThingSpeak channel for the webcam status and sets the LED strip to either on or off. Copy the&nbsp;<a href="https://gist.github.com/nothans/cdd101ec75210c4ecb64c7240f6c9727" target="_blank" rel="noreferrer noopener">example code</a>&nbsp;to your Arduino IDE and change some of the defaults to match your Wi-Fi network and ThingSpeak settings.</p>



<p>Once everything is set, click Sketch and then Upload. This will take the code and program the ESP32 with it. It takes a minute, so be patient. If anything goes wrong, make sure that you have the right board settings and that your “Port” matches what your laptop thinks the port is.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="612" height="441" data-attachment-id="3562" data-permalink="https://nothans.com/on-air-light-2023/image-17" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-17.png?fit=612%2C441&amp;ssl=1" data-orig-size="612,441" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-17" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-17.png?fit=612%2C441&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-17.png?resize=612%2C441&#038;ssl=1" alt="" class="wp-image-3562" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-17.png?w=612&amp;ssl=1 612w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-17.png?resize=300%2C216&amp;ssl=1 300w" sizes="auto, (max-width: 612px) 100vw, 612px" /><figcaption class="wp-element-caption">Arduino Setting for ESP32-WROOM</figcaption></figure>
</div>

<h3 class="wp-block-heading" id="open-the-on-air-light">Open the On Air Light</h3>


<p>The housing of the On Air light is held together by several tabs. Take your screwdriver and gently twist in each opening. It will come apart without damage. Just take your time and open each tab.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="565" data-attachment-id="3563" data-permalink="https://nothans.com/on-air-light-2023/image-18" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-18.png?fit=1253%2C943&amp;ssl=1" data-orig-size="1253,943" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-18" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-18.png?fit=750%2C565&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-18.png?resize=750%2C565&#038;ssl=1" alt="" class="wp-image-3563" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-18.png?resize=1024%2C771&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-18.png?resize=300%2C226&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-18.png?resize=768%2C578&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-18.png?resize=750%2C564&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-18.png?resize=500%2C375&amp;ssl=1 500w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-18.png?resize=100%2C75&amp;ssl=1 100w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-18.png?w=1253&amp;ssl=1 1253w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">Openned Up On Air Light</figcaption></figure>
</div>

<h3 class="wp-block-heading" id="remove-the-existing-led-board">Remove the Existing LED Board</h3>


<p>Remove the existing board on the inside of the light. Trim the wires off close to the circuit board so you have some length to work with.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="996" data-attachment-id="3564" data-permalink="https://nothans.com/on-air-light-2023/image-19" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-19.png?fit=752%2C999&amp;ssl=1" data-orig-size="752,999" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-19" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-19.png?fit=750%2C996&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-19.png?resize=750%2C996&#038;ssl=1" alt="" class="wp-image-3564" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-19.png?w=752&amp;ssl=1 752w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-19.png?resize=226%2C300&amp;ssl=1 226w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-19.png?resize=750%2C996&amp;ssl=1 750w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">George Liked Taking the Light Apart</figcaption></figure>
</div>

<h3 class="wp-block-heading" id="connect-the-usb-wires-to-the-board">Connect the USB Wires to the Board</h3>


<p>Connect the red wire to the 5v screw terminal. Connect the black wire to the GND screw terminal. You will have two wires in each. I used some tape to make sure that the screw terminal board doesn&#8217;t move around.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="565" data-attachment-id="3566" data-permalink="https://nothans.com/on-air-light-2023/image-21" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-21.png?fit=1253%2C943&amp;ssl=1" data-orig-size="1253,943" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-21" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-21.png?fit=750%2C565&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-21.png?resize=750%2C565&#038;ssl=1" alt="" class="wp-image-3566" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-21.png?resize=1024%2C771&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-21.png?resize=300%2C226&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-21.png?resize=768%2C578&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-21.png?resize=750%2C564&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-21.png?resize=500%2C375&amp;ssl=1 500w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-21.png?resize=100%2C75&amp;ssl=1 100w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-21.png?w=1253&amp;ssl=1 1253w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">Connect the Wiress to the USB Port</figcaption></figure>
</div>

<h3 class="wp-block-heading" id="snap-it-all-back-together">Snap It All Back Together</h3>


<p>Carefully snap the two halves back together.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="565" data-attachment-id="3553" data-permalink="https://nothans.com/on-air-light-2023/image-10-2" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-10.png?fit=1253%2C943&amp;ssl=1" data-orig-size="1253,943" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="New On Air Light" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-10.png?fit=750%2C565&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-10.png?resize=750%2C565&#038;ssl=1" alt="" class="wp-image-3553" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-10.png?resize=1024%2C771&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-10.png?resize=300%2C226&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-10.png?resize=768%2C578&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-10.png?resize=750%2C564&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-10.png?resize=500%2C375&amp;ssl=1 500w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-10.png?resize=100%2C75&amp;ssl=1 100w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-10.png?w=1253&amp;ssl=1 1253w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">Updated On Air Light and the Orginal On Air Light</figcaption></figure>
</div>

<h2 class="wp-block-heading" id="profit">Profit.</h2>


<p>Enjoy your On Air light. Maybe this will remind you or someone in your family that you actually work when you are home.</p>



<p>My goal was to show you the steps as clearly as possible and share the code. I hope that you can reproduce this as easily as possible. If you need help leave a comment or join me on my new <a href="https://nothans.com/discord" target="_blank" rel="noreferrer noopener">Discord</a> server.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/on-air-light-2023/feed</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3550</post-id>	</item>
		<item>
		<title>Classify a Photo Using ResNet-50 and MATLAB Online</title>
		<link>https://nothans.com/classify-a-photo-using-resnet-50-and-matlab-online</link>
					<comments>https://nothans.com/classify-a-photo-using-resnet-50-and-matlab-online#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Sat, 14 Jan 2023 04:16:31 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[deep learning]]></category>
		<category><![CDATA[matlab]]></category>
		<category><![CDATA[MATLAB Online]]></category>
		<category><![CDATA[ResNet-50]]></category>
		<category><![CDATA[webcam]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=3536</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p>MATLAB is a powerful tool for technical computing and data analysis. It is widely used in a variety of fields such as engineering, finance, and science. One of the strengths of MATLAB is its ability to work with images and perform image processing tasks.</p>



<p>Most people experienced MATLAB on their PC, but you can also access MATLAB in your browser with <a rel="noreferrer noopener" href="https://matlab.mathworks.com" target="_blank">MATLAB Online</a>. MATLAB Online is a web-based version of MATLAB that allows users to access the software and its features through a web browser. It eliminates the need to install and configure the software on a local computer, making it accessible from anywhere with an internet connection.</p>



<p>In this project, I will be using MATLAB Online to take a picture with a webcam, classify the image using a pre-trained deep learning model, and display the results.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="428" height="428" data-attachment-id="3537" data-permalink="https://nothans.com/classify-a-photo-using-resnet-50-and-matlab-online/webcam" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/webcam.png?fit=428%2C428&amp;ssl=1" data-orig-size="428,428" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="webcam" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/webcam.png?fit=428%2C428&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/webcam.png?resize=428%2C428&#038;ssl=1" alt="" class="wp-image-3537" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/webcam.png?w=428&amp;ssl=1 428w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/webcam.png?resize=300%2C300&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/webcam.png?resize=150%2C150&amp;ssl=1 150w" sizes="auto, (max-width: 428px) 100vw, 428px" /><figcaption class="wp-element-caption">MATLAB Online Selfie</figcaption></figure>
</div>


<p>I selected the ResNet-50 model, which is a deep convolutional neural network (CNN) trained on the ImageNet dataset. ResNet-50 stands for &#8220;Residual Network with 50 layers&#8221; and was developed by Microsoft Research in 2015. The architecture is known for its ability to train very deep neural networks without the problem of vanishing gradients, which allows for improved performance on image classification tasks. The model is capable of identifying objects in images and classifying them into one of 1000 different categories.</p>



<pre class="wp-block-code"><code>% Connect to webcam
cam = webcam;

% Take a picture
img = snapshot(cam);

% Resize image to &#91;224 224 3]
img = imresize(img, &#91;224 224]);

% Display the picture
imshow(img);

% Load pretrained model
net = resnet50;

% Classify image
label = classify(net, img);

% Display label
disp(label);

% Release webcam
clear cam;</code></pre>



<p>What&#8217;s really neat is that MATLAB Online can use your webcam. This code takes a photo, resizes it for ResNet-50, shows the output, and classifies the photo.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://matlab.mathworks.com/"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="390" data-attachment-id="3538" data-permalink="https://nothans.com/classify-a-photo-using-resnet-50-and-matlab-online/image-2-5" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-2.png?fit=1311%2C682&amp;ssl=1" data-orig-size="1311,682" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-2" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-2.png?fit=750%2C390&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-2.png?resize=750%2C390&#038;ssl=1" alt="" class="wp-image-3538" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-2.png?resize=1024%2C533&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-2.png?resize=300%2C156&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-2.png?resize=768%2C400&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-2.png?resize=750%2C390&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-2.png?w=1311&amp;ssl=1 1311w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a><figcaption class="wp-element-caption">Old A.I. Thinks My Phone is an iPod</figcaption></figure>
</div>


<p>Check out <a rel="noreferrer noopener" href="https://matlab.mathworks.com/" target="_blank">MATLAB Online</a> and run the very latest version of MATLAB and select toolboxes. Everyone should be able to try this project out and get started with image classification.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/classify-a-photo-using-resnet-50-and-matlab-online/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3536</post-id>	</item>
		<item>
		<title>Send IoT Data to ThingSpeak using AT Commands (Arduino and SIM800L Tutorial)</title>
		<link>https://nothans.com/send-data-to-thingspeak-with-at-commands</link>
					<comments>https://nothans.com/send-data-to-thingspeak-with-at-commands#comments</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Mon, 09 Jan 2023 14:36:41 +0000</pubDate>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[ThingSpeak]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[GPRS]]></category>
		<category><![CDATA[GSM]]></category>
		<category><![CDATA[internet of things]]></category>
		<category><![CDATA[iot]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[SIM800L]]></category>
		<category><![CDATA[thingspeak]]></category>
		<category><![CDATA[web of things]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=3524</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<h2 class="wp-block-heading" id="introduction">Introduction</h2>


<p>The <a rel="noreferrer noopener" href="https://www.amazon.com/HiLetgo-Smallest-Breakout-Quad-band-3-7-4-2V/dp/B01DLIJM2E?&amp;linkCode=sl1&amp;tag=nothans&amp;linkId=bba6df7a7bd85a7a248f9a73f8d4b1c3&amp;language=en_US&amp;ref_=as_li_ss_tl" target="_blank">SIM800L</a> module is a GSM/GPRS module that can be used to connect to the internet via a cellular network. It has a built-in SIM card slot and can be used to send and receive data over a cellular network connection instead of WI-Fi. <a rel="noreferrer noopener" href="https://thingspeak.com/" target="_blank">ThingSpeak</a> is an IoT platform that allows you to send and receive data from devices over the internet.</p>



<p>In this tutorial, we will use the SIM800L module and ThingSpeak&#8217;s API to send data from an Arduino board to be stored in the cloud.</p>


<h2 class="wp-block-heading" id="hardware">Hardware</h2>


<p>To complete this tutorial, you will need the following hardware:</p>



<ul class="wp-block-list">
<li>Arduino board</li>



<li>SIM800L module</li>
</ul>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://amzn.to/3VX9D2t"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="667" data-attachment-id="3526" data-permalink="https://nothans.com/send-data-to-thingspeak-with-at-commands/image-1-6" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-1.png?fit=909%2C809&amp;ssl=1" data-orig-size="909,809" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="SIM800L Module" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-1.png?fit=750%2C667&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-1.png?resize=750%2C667&#038;ssl=1" alt="" class="wp-image-3526" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-1.png?w=909&amp;ssl=1 909w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-1.png?resize=300%2C267&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-1.png?resize=768%2C684&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-1.png?resize=750%2C667&amp;ssl=1 750w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a><figcaption class="wp-element-caption"><a href="https://amzn.to/3VX9D2t" target="_blank" rel="noreferrer noopener">HiLetgo SIM800L GPRS GSM Breakout Module</a></figcaption></figure>
</div>

<h2 class="wp-block-heading" id="setting-up-the-sim800l-module">Setting up the SIM800L module</h2>


<p>First, let&#8217;s set up the SIM800L module. To use the SIM800L module with your Arduino board, you&#8217;ll need to connect it to the appropriate pins on the Arduino. The SIM800L module has a number of different pins, including power pins, serial communication pins, and control pins. You&#8217;ll need to consult the documentation for your particular module to determine which pins to use.</p>



<p>Once you have the SIM800L module connected to your Arduino board, you&#8217;ll need to use AT commands to communicate with it. AT commands are simple text-based commands that are used to control the module and send and receive data. Some common AT commands include <code>AT+CPIN</code>, which is used to enter the SIM card PIN number, and <code>AT+CREG</code>, which is used to check the registration status of the module.</p>



<p>To connect to the internet using the SIM800L module, you&#8217;ll need to attach it to the GPRS service and get an IP address. You can do this using the following AT commands:</p>



<pre class="wp-block-code"><code>sendATCommand("AT+CFUN=1", 2000, DEBUG); // Enable full functionality
sendATCommand("AT+CIPMUX=0", 1000, DEBUG); // Set single connection mode
sendATCommand("AT+CGATT=1", 1000, DEBUG); // Attach to GPRS service
sendATCommand("AT+SAPBR=3,1,\"CONTYPE\",\"GPRS\"", 1000, DEBUG); // Set connection type to GPRS
sendATCommand("AT+SAPBR=3,1,\"APN\",\"YOUR_APN\"", 1000, DEBUG); // Set APN
sendATCommand("AT+SAPBR=1,1", 1000, DEBUG); // Enable GPRS
sendATCommand("AT+SAPBR=2,1", 1000, DEBUG); // Get IP address
</code></pre>


<h2 class="wp-block-heading" id="setting-up-thingspeak">Setting up ThingSpeak</h2>


<p>Now that we have the SIM800L module set up, let&#8217;s set up ThingSpeak. To use ThingSpeak&#8217;s API with your SIM800L module, you&#8217;ll need to create a new &#8220;channel&#8221; on the ThingSpeak website. A channel is a way to represent a device or a group of devices on the ThingSpeak platform. Once you&#8217;ve created a channel, you&#8217;ll be given an API key that you can use to access and update the channel from your Arduino sketch.</p>


<h2 class="wp-block-heading" id="sending-data-to-thingspeak">Sending data to ThingSpeak</h2>


<p>To send data to ThingSpeak using the SIM800L module, you&#8217;ll need to use the <code>AT+HTTPPARA</code> command to set the necessary parameters for the HTTP request, and then use the <code>AT+HTTPACTION</code> command to send the request.</p>


<h2 class="wp-block-heading" id="receiving-a-response-from-thingspeak">Receiving a response from ThingSpeak</h2>


<p>After sending the request, you can use the <code>AT+HTTPREAD</code> command to read the response from the server. The response will be a string of text, which you can parse to check for any errors or confirm that the data was successfully sent.</p>


<h2 class="wp-block-heading" id="putting-it-all-together">Putting it all together</h2>


<p>Here is an example of how you can use the SIM800L module and ThingSpeak&#8217;s API to send data from your Arduino board to the internet:</p>



<pre class="wp-block-code"><code>#include &lt;SoftwareSerial.h&gt;

SoftwareSerial sim800l(10, 11); // RX, TX

void setup() {
  sim800l.begin(9600);
  sendATCommand("AT+CFUN=1", 2000, DEBUG); // Enable full functionality
  sendATCommand("AT+CIPMUX=0", 1000, DEBUG); // Set single connection mode
  sendATCommand("AT+CGATT=1", 1000, DEBUG); // Attach to GPRS service
  sendATCommand("AT+SAPBR=3,1,\"CONTYPE\",\"GPRS\"", 1000, DEBUG); // Set connection type to GPRS
  sendATCommand("AT+SAPBR=3,1,\"APN\",\"YOUR_APN\"", 1000, DEBUG); // Set APN
  sendATCommand("AT+SAPBR=1,1", 1000, DEBUG); // Enable GPRS
  sendATCommand("AT+SAPBR=2,1", 1000, DEBUG); // Get IP address
}

void loop() {
  sendDataToThingSpeak();
  delay(20000); // delay 20 seconds
}

void sendDataToThingSpeak() {
  String cmd = "AT+HTTPPARA=\"URL\",\"http://api.thingspeak.com/update?api_key=YOUR_API_KEY&amp;field1=42\"";
  sendATCommand(cmd, 1000, DEBUG); // Set URL
  cmd = "AT+HTTPACTION=0";
  sendATCommand(cmd, 3000, DEBUG); // Send request
  delay(1000);
  String response = sendATCommand("AT+HTTPREAD", 1000, DEBUG); // Read response
  Serial.println(response);
}

String sendATCommand(String cmd, const int timeout, boolean debug) {
  String response = "";
  sim800l.println(cmd);
  long int time = millis();
  while((time+timeout) &gt; millis()) {
    while(sim800l.available()) {
      char c = sim800l.read();
      response += c;
    }
  }
  if (debug) {
    Serial.println(response);
  }
  return response;
}</code></pre>



<p>In this example code, the <code>sendATCommand</code> function sends AT commands to the SIM800L module and reads the response. The <code>sendDataToThingSpeak</code> function is used to set the URL for the HTTP request using the <code>AT+HTTPPARA</code> command, send the request using the <code>AT+HTTPACTION</code> command, and read the response using the <code>AT+HTTPREAD</code> command. The <code>loop</code> function calls the <code>sendDataToThingSpeak</code> function every 20 seconds to send data (the number 42 in this case) to ThingSpeak. You can customize the code to send any data that you want to the fields of your ThingSpeak channel.</p>


<h2 class="wp-block-heading" id="conclusion">Conclusion</h2>


<p>In this tutorial, we have learned how to use the SIM800L module and ThingSpeak&#8217;s API to send data from an Arduino board to the internet. We have set up the SIM800L module and used AT commands to connect to the internet and send HTTP requests. We have also set up a ThingSpeak channel and used the API to send data to the internet.</p>



<p>With these tools and techniques, you can build your own IoT projects and start collecting and analyzing data from your devices. You can use ThingSpeak to visualize the data and create charts and graphs, or you can use the data in your own applications or MATLAB analyses.</p>



<p>If you found this tutorial helpful and would like to stay updated with more IoT and Arduino tips and tricks, consider <a href="https://nothans.com/subscribe" data-type="page" data-id="3041">subscribing</a> to my blog. I post about once per week.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/send-data-to-thingspeak-with-at-commands/feed</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3524</post-id>	</item>
		<item>
		<title>A ChatGPT Blog Post Written by ChatGPT</title>
		<link>https://nothans.com/a-chatgpt-blog-post-written-by-chatgpt</link>
					<comments>https://nothans.com/a-chatgpt-blog-post-written-by-chatgpt#comments</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Thu, 05 Jan 2023 20:52:16 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[chatbot]]></category>
		<category><![CDATA[ChatGPT]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=3521</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<h2 class="wp-block-heading" id="i-would-like-to-write-a-blog-post-about-chatgpt">I would like to write a blog post about ChatGPT</h2>


<p>ChatGPT is a variant of the GPT-3 language model that was specifically designed to support conversation and chatbot applications. It was developed by OpenAI, and is notable for its ability to generate human-like text that is coherent and appropriate for a wide range of conversation topics.</p>



<p>One potential topic for a blog post about ChatGPT could be a review or evaluation of the model&#8217;s performance. This could involve comparing ChatGPT to other chatbot models or discussing its strengths and weaknesses in terms of its ability to generate natural-sounding text and handle different types of conversation.</p>



<p>Another possible angle for a blog post on ChatGPT could be a tutorial or guide on how to use the model to build a chatbot application. This could include step-by-step instructions on how to access and utilize ChatGPT, as well as tips and best practices for getting the most out of the model.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="740" height="740" data-attachment-id="3522" data-permalink="https://nothans.com/a-chatgpt-blog-post-written-by-chatgpt/image-11" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image.png?fit=740%2C740&amp;ssl=1" data-orig-size="740,740" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Chatbot Illustration &amp;#8211; AI &amp;#8211; ChatGPT" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image.png?fit=740%2C740&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image.png?resize=740%2C740&#038;ssl=1" alt="" class="wp-image-3522" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image.png?w=740&amp;ssl=1 740w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image.png?resize=300%2C300&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image.png?resize=150%2C150&amp;ssl=1 150w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image.png?resize=530%2C530&amp;ssl=1 530w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image.png?resize=500%2C500&amp;ssl=1 500w" sizes="auto, (max-width: 740px) 100vw, 740px" /><figcaption class="wp-element-caption">Chatbot Illustration</figcaption></figure>
</div>


<p>There are many other possible topics that could be explored in a blog post about ChatGPT, depending on your interests and goals. Some other ideas might include exploring the technical details of the model and how it works, discussing the potential applications of ChatGPT in various fields, or examining the ethical considerations surrounding the use of chatbot technology.</p>


<h2 class="wp-block-heading" id="write-a-blog-post-about-the-chatgpt-models-performance">Write a blog post about the ChatGPT model&#8217;s performance</h2>


<p>To evaluate the performance of ChatGPT, we can compare it to other chatbot models and assess its ability to generate natural-sounding text and handle different types of conversation. One way to do this is to test ChatGPT in a variety of scenarios and compare its output to that of other models.</p>



<p>One area where ChatGPT appears to excel is in its ability to maintain coherence and context in long-term conversations. Unlike some chatbot models that struggle to keep track of past conversations and may produce unrelated or nonsensical responses, ChatGPT is able to retain and utilize information from previous exchanges to generate more relevant and appropriate responses.</p>



<p>Another strength of ChatGPT is its versatility. It is able to handle a wide range of conversation topics and styles, and can generate text that is appropriate for different audiences and contexts. This makes it a good choice for chatbot applications that need to support a diverse set of conversation types.</p>



<p>However, ChatGPT is not without its limitations. Like any language model, it is not perfect and may produce responses that are unnatural or inappropriate in certain situations. It may also struggle with more complex or abstract topics, or those that require a deep understanding of specific domain knowledge.</p>



<p>Overall, ChatGPT is a highly capable chatbot model that is able to generate natural-sounding text and handle a wide range of conversation types. While it is not perfect and may have some limitations, it is a strong performer in the field of chatbot technology and is well-suited for many different applications.</p>


<h2 class="wp-block-heading" id="can-you-write-a-blog-post-about-your-second-idea">Can you write a blog post about your second idea?</h2>


<p>Certainly! Here is a blog post on the topic of using ChatGPT to build a chatbot application:</p>



<p>The ChatGPT model is a variant of the GPT-3 language model developed by OpenAI specifically for chatbot applications. It is designed to generate natural-sounding text that is coherent and appropriate for a wide range of conversation topics. In this blog post, we will provide a tutorial on how to use ChatGPT to build a chatbot application.</p>



<p>Step-by-step guide:</p>



<ol class="wp-block-list">
<li>First, you will need to sign up for an OpenAI API key to gain access to ChatGPT. You can do this by visiting the OpenAI website and creating an account.</li>



<li>Once you have obtained your API key, you can use the OpenAI API to send requests to ChatGPT and receive responses back. You can use one of the API client libraries provided by OpenAI or make requests directly using the API endpoint.</li>



<li>To use ChatGPT, you will need to provide it with a prompt, which is a piece of text that the model will use to generate a response. The prompt should include any necessary context or information that the model needs to understand the conversation.</li>



<li>You can customize ChatGPT&#8217;s behavior by setting various parameters in your API request, such as the length of the generated response or the type of response you want (e.g. multiple choice options or open-ended text).</li>



<li>Once you have sent your request and received a response back from ChatGPT, you can use this text to update your chatbot&#8217;s conversation with the user.</li>
</ol>



<p>Tips and best practices:</p>



<ul class="wp-block-list">
<li>It is a good idea to test ChatGPT with a variety of prompts and parameters to get a sense of its capabilities and limitations.</li>



<li>You can use the OpenAI API&#8217;s &#8220;temperature&#8221; parameter to control the level of creativity and diversity in ChatGPT&#8217;s responses. A higher temperature will result in more varied responses, while a lower temperature will produce responses that are more predictable and conservative.</li>



<li>ChatGPT is trained on a large dataset of human conversation, so it is important to remember that it may generate responses that are inappropriate or offensive. It is up to you as the developer to implement any necessary filters or moderation to ensure that your chatbot&#8217;s responses are suitable for your intended audience.</li>
</ul>



<p>The ChatGPT model is a powerful tool for building chatbot applications that can engage in natural-sounding conversation with users. By following the steps outlined in this tutorial, you can use ChatGPT to create a chatbot that is capable of handling a wide range of conversation topics and styles. With its ability to generate coherent and appropriate responses, ChatGPT is a valuable resource for chatbot developers looking to create engaging and lifelike conversational experiences.</p>


<h2 class="wp-block-heading" id="can-you-discuss-potential-applications-of-chatgpt-for-bloggers">Can you discuss potential applications of ChatGPT for bloggers?</h2>


<p>Here are a few potential applications of ChatGPT for bloggers:</p>



<ol class="wp-block-list">
<li>Blog comment moderation: ChatGPT could be used to help moderate the comments section of a blog by automatically detecting and flagging inappropriate or offensive comments. The model could be trained on a dataset of previously moderated comments to learn what types of language are acceptable and what types are not.</li>



<li>Blog post generation: ChatGPT could be used to generate blog post ideas or outlines by providing the model with a list of keywords or topics related to the blog. The model could then generate a list of potential post ideas or an outline for a post based on these keywords.</li>



<li>Chatbot assistant: ChatGPT could be used to build a chatbot assistant for a blog, allowing readers to ask questions or get help with tasks related to the blog. For example, a blogger could use ChatGPT to create a chatbot that can answer frequently asked questions about their blog, suggest related posts, or provide information about the blogger.</li>



<li>Social media management: ChatGPT could be used to assist with social media management by generating social media posts or responses to comments and messages. For example, a blogger could use ChatGPT to generate Twitter or Instagram posts based on a list of keywords or topics related to their blog.</li>
</ol>



<p>There are many other potential applications of ChatGPT for bloggers, depending on the specific needs and goals of the blogger. Some other ideas might include using ChatGPT to generate newsletter content or email responses, or to assist with the research and fact-checking of blog posts.</p>


<h2 class="wp-block-heading" id="can-you-write-a-nice-wrap-up-to-these-blog-posts-with-a-calltoaction-to-subscribe-to-the-about-things-blog">Can you write a nice wrap up to these blog posts with a call-to-action to subscribe to the <em>About Things</em> blog?</h2>


<p>Thank you for reading these blog posts about ChatGPT and its potential applications for bloggers. We hope you found this information useful and that it has given you some ideas on how you can use ChatGPT in your own blog or chatbot projects.</p>



<p>If you enjoyed these posts and would like to stay up-to-date with the latest news and insights from the About Things blog, be sure to <a href="https://nothans.com/subscribe" data-type="page" data-id="3041">subscribe</a> to our newsletter. By subscribing, you&#8217;ll receive updates on our latest posts and access to exclusive content and resources.</p>



<p>Don&#8217;t miss out on the valuable information and inspiration that the About Things blog has to offer. Subscribe now and join our community of like-minded bloggers and chatbot enthusiasts.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/a-chatgpt-blog-post-written-by-chatgpt/feed</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3521</post-id>	</item>
		<item>
		<title>Give the Gift of CheerLights this Holiday Season</title>
		<link>https://nothans.com/give-the-gift-of-cheerlights-this-holiday-season</link>
					<comments>https://nothans.com/give-the-gift-of-cheerlights-this-holiday-season#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Tue, 29 Nov 2022 23:18:34 +0000</pubDate>
				<category><![CDATA[CheerLights]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[ThingSpeak]]></category>
		<category><![CDATA[cheerlights]]></category>
		<category><![CDATA[Christmas]]></category>
		<category><![CDATA[internet of things]]></category>
		<category><![CDATA[iot]]></category>
		<category><![CDATA[MicroPython]]></category>
		<category><![CDATA[Pico W]]></category>
		<category><![CDATA[Pimoroni]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=3455</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p>Tis&#8217; the season. <a rel="noreferrer noopener" href="https://cheerlights.com/" target="_blank">CheerLights</a> season! This might be my favorite time of year. I love seeing people build IoT projects, share their experiences, and control the lights around the world. I love checking the daily action in our community over at <a rel="noreferrer noopener" href="https://cheerlights.com/discord" target="_blank">Discord</a>.</p>



<p>Borrowing ideas from my <a href="https://nothans.com/lofi-girl-shadowbox" data-type="post" data-id="3436">Lofi Girl CheerLights Shadowbox</a> project, George and I made a CheerLights Gift for under our Christmas tree. This gift changes color based on the latest CheerLights color and anyone on Twitter or Discord can change its color and the color of all of the other CheerLights projects.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="702" height="933" data-attachment-id="3456" data-permalink="https://nothans.com/give-the-gift-of-cheerlights-this-holiday-season/image-6-2" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-6.png?fit=702%2C933&amp;ssl=1" data-orig-size="702,933" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="CheerLights Gift" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-6.png?fit=702%2C933&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-6.png?resize=702%2C933&#038;ssl=1" alt="" class="wp-image-3456" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-6.png?w=702&amp;ssl=1 702w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-6.png?resize=226%2C300&amp;ssl=1 226w" sizes="auto, (max-width: 702px) 100vw, 702px" /><figcaption class="wp-element-caption">CheerLights Gift Under the Tree</figcaption></figure>
</div>


<p>The CheerLights Gift project is based on the <a rel="noreferrer noopener" href="https://shop.pimoroni.com/products/plasma-stick-2040-w" target="_blank">Pimoroni Plasma Stick 2040 W</a> and NeoPixel string lights for illumination. The Plasma Stick ships with CheerLights code main MicroPython file, so all you have to do is change the Wi-Fi network name and password. The microcontroller makes a request to the <a rel="noreferrer noopener" href="https://cheerlights.com/learn/" target="_blank">ThingSpeak API</a> to get the latest CheerLights color, sets the color of the NeoPixel LED lights, waits 10 seconds, and repeats. This is about the fastest way to build your own CheerLights display.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="733" height="974" data-attachment-id="3462" data-permalink="https://nothans.com/give-the-gift-of-cheerlights-this-holiday-season/image-9" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-9.png?fit=733%2C974&amp;ssl=1" data-orig-size="733,974" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-9" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-9.png?fit=733%2C974&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-9.png?resize=733%2C974&#038;ssl=1" alt="" class="wp-image-3462" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-9.png?w=733&amp;ssl=1 733w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-9.png?resize=226%2C300&amp;ssl=1 226w" sizes="auto, (max-width: 733px) 100vw, 733px" /><figcaption class="wp-element-caption">Metal Giftbox with Pimoroni Plasma Stick 2040 W</figcaption></figure>
</div>


<p>I used a metal gift box that I found in a craft store to house the lights and controller. All we needed to do was stuff the LEDs inside and glue them in place. I only burned my fingers twice.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="702" height="933" data-attachment-id="3459" data-permalink="https://nothans.com/give-the-gift-of-cheerlights-this-holiday-season/image-8-2" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-8.png?fit=702%2C933&amp;ssl=1" data-orig-size="702,933" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-8" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-8.png?fit=702%2C933&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-8.png?resize=702%2C933&#038;ssl=1" alt="" class="wp-image-3459" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-8.png?w=702&amp;ssl=1 702w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-8.png?resize=226%2C300&amp;ssl=1 226w" sizes="auto, (max-width: 702px) 100vw, 702px" /><figcaption class="wp-element-caption">Hot gluing NeoPixel LEDs</figcaption></figure>
</div>


<p>The project turned out well and kept my five-year-old&#8217;s interest for the duration of the build. I was happy that the Plasma Stick 2040 W made it really easy to get the project going.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="705" data-attachment-id="3458" data-permalink="https://nothans.com/give-the-gift-of-cheerlights-this-holiday-season/image-7-2" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-7.png?fit=993%2C933&amp;ssl=1" data-orig-size="993,933" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-7" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-7.png?fit=750%2C705&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-7.png?resize=750%2C705&#038;ssl=1" alt="" class="wp-image-3458" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-7.png?w=993&amp;ssl=1 993w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-7.png?resize=300%2C282&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-7.png?resize=768%2C722&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-7.png?resize=750%2C705&amp;ssl=1 750w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">George Loves Cyan</figcaption></figure>
</div>


<p>Join the CheerLights IoT community at <a href="https://cheerlights.com/" target="_blank" rel="noreferrer noopener">CheerLights.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/give-the-gift-of-cheerlights-this-holiday-season/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3455</post-id>	</item>
		<item>
		<title>LIFX Cloud API Authentication</title>
		<link>https://nothans.com/lifx-cloud-api-authentication</link>
					<comments>https://nothans.com/lifx-cloud-api-authentication#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Wed, 16 Nov 2022 23:53:31 +0000</pubDate>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[internet of things]]></category>
		<category><![CDATA[iot]]></category>
		<category><![CDATA[lifx]]></category>
		<category><![CDATA[lights]]></category>
		<category><![CDATA[projects]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=3446</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p><a href="https://amzn.to/3EEOIvR" target="_blank" rel="noreferrer noopener">LIFX</a> makes some excellent Wi-Fi light bulbs and LED strips. Right after I got my first light from LIFX, I wanted to control those lights from an API and make a cool light fixture for my house.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><a href="https://www.instagram.com/p/BTISd08ghl7/" target="_blank" rel="noreferrer noopener"><img data-recalc-dims="1" loading="lazy" decoding="async" data-attachment-id="3447" data-permalink="https://nothans.com/lifx-cloud-api-authentication/image-5-2" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-5.png?fit=778%2C777&amp;ssl=1" data-orig-size="778,777" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-5" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-5.png?fit=750%2C749&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-5.png?resize=389%2C389&#038;ssl=1" alt="" class="wp-image-3447" width="389" height="389" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-5.png?w=778&amp;ssl=1 778w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-5.png?resize=300%2C300&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-5.png?resize=150%2C150&amp;ssl=1 150w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-5.png?resize=768%2C767&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-5.png?resize=530%2C530&amp;ssl=1 530w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-5.png?resize=750%2C749&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/11/image-5.png?resize=500%2C500&amp;ssl=1 500w" sizes="auto, (max-width: 389px) 100vw, 389px" /></a><figcaption class="wp-element-caption">Outside Light with a LIFX Light Bulb</figcaption></figure>
</div>


<p>LIFX lets you control the lights with the LIFX Cloud API. The only thing stopping you is the authentication token. The token will be needed to send API requests to the LIFX Cloud API to leverage all of the commands in the <a rel="noreferrer noopener" href="https://api.developer.lifx.com/reference/introduction" target="_blank">HTTP REMOTE CONTROL API</a>. All requests require an OAuth 2 access token. </p>


<h2 class="wp-block-heading" id="how-to-get-your-lifx-bearer-token">How to get your LIFX Bearer Token</h2>


<p>To get your access token for LIFX, go to: <a rel="noreferrer noopener" href="https://cloud.lifx.com/" target="_blank">https://cloud.lifx.com/</a>, sign in with the same account that you registered your lights, and click <a rel="noreferrer noopener" href="https://cloud.lifx.com/settings" target="_blank">Settings</a>. Under <em>Personal access tokens</em>, click <em>GENERATE NEW TOKEN</em>, enter a label, and click <em>Generate</em>. This will generate a new token that you can use for the LIFX Cloud API. Caution thought. This will be the last time that you see this token. If you lose it, you will have to generate a new API key.</p>


<h2 class="wp-block-heading" id="how-to-use-the-lifx-access-token">How to use the LIFX Access Token</h2>


<p>I recommend using the LIFX token in the HTTP authorization header. It is pretty easy to do. Here&#8217;s an example in Python.</p>



<pre class="wp-block-code"><code>import requests

token = "&#91;&#91;app:Token]]"

headers = {
    "Authorization": "Bearer %s" % token,
}

response = requests.get('https://api.lifx.com/v1/lights/all', headers=headers)</code></pre>



<p>Have fun and build some cool integrations with the LIFX Cloud API!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/lifx-cloud-api-authentication/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3446</post-id>	</item>
	</channel>
</rss>
