<?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>particle &#8211; About Things | A Hans Scharler Blog</title>
	<atom:link href="https://nothans.com/tag/particle/feed" rel="self" type="application/rss+xml" />
	<link>https://nothans.com</link>
	<description>Life, Comedy, Games, Tech, Marketing, and Community</description>
	<lastBuildDate>Thu, 18 Apr 2024 13:51:25 +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>particle &#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>Predictive Maintenance: Going Next Level With the Ninja Foodi Air Fryer</title>
		<link>https://nothans.com/when-will-your-air-fryer-fail</link>
					<comments>https://nothans.com/when-will-your-air-fryer-fail#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Thu, 27 May 2021 22:24:42 +0000</pubDate>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[ThingSpeak]]></category>
		<category><![CDATA[internet of things]]></category>
		<category><![CDATA[iot]]></category>
		<category><![CDATA[mathworks]]></category>
		<category><![CDATA[matlab]]></category>
		<category><![CDATA[particle]]></category>
		<category><![CDATA[thingspeak]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=2218</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p><strong><em>I love my air fryer.</em></strong></p>



<p>Our <a href="https://amzn.to/3wvnoJs">Ninja Foodi Air Fryer</a> became our family&#8217;s go-to gadget during the stay-at-home order. When you order takeout, you probably noticed that the food isn&#8217;t the same. The plastic containers are nice for containing during transport, but they have a side effect of steaming your food. Pop your sides into an air fryer and they are back to their former glory&#8230; and sometimes even better. We also found a bunch a <a href="https://amzn.to/3c04Ysj" target="_blank" rel="noreferrer noopener">recipes</a> made for the air fryer. This is going to change your whole existence and I never, ever use hyperbole.</p>



<p>A few years ago, I worked on a <a rel="noreferrer noopener" href="https://www.hackster.io/matlab-iot/condition-based-maintenance-of-a-duct-fan-using-thingspeak-abb23d" target="_blank">predictive maintenance</a> project for duct fans. An air flyer is like a normal oven with the addition of a fan. There are fans in almost every major system and when they fail, the system that they are attached to will eventually fail. Fan blades can get bent, dusty, covered in food particles and oils, and damaged over time. The idea behind predictive maintenance is to predict the remaining useful life (RUL) of a machine and perform maintenance and repairs just-in-time. When applied at scale, predictive maintenance strategies provide a substantial return on investment. Studies show that condition-monitoring and predictive maintenance pays for itself and can be developed by anyone using MATLAB and the <a rel="noreferrer noopener" href="https://www.mathworks.com/products/predictive-maintenance.html" target="_blank">Predictive Maintenance Toolbox</a>.</p>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" fetchpriority="high" decoding="async" width="750" height="580" data-attachment-id="2221" data-permalink="https://nothans.com/when-will-your-air-fryer-fail/air_fryer_thingspeak_particle" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/air_fryer_thingspeak_particle-scaled.jpg?fit=2560%2C1980&amp;ssl=1" data-orig-size="2560,1980" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;1.8&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;Pixel 2&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1622115639&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;4.442&quot;,&quot;iso&quot;:&quot;356&quot;,&quot;shutter_speed&quot;:&quot;0.016671&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}" data-image-title="Air Fryer Connected to ThingSpeak" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/air_fryer_thingspeak_particle-scaled.jpg?fit=750%2C580&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/air_fryer_thingspeak_particle.jpg?resize=750%2C580&#038;ssl=1" alt="" class="wp-image-2221" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/air_fryer_thingspeak_particle-scaled.jpg?resize=1024%2C792&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/air_fryer_thingspeak_particle-scaled.jpg?resize=300%2C232&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/air_fryer_thingspeak_particle-scaled.jpg?resize=768%2C594&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/air_fryer_thingspeak_particle-scaled.jpg?resize=1536%2C1188&amp;ssl=1 1536w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/air_fryer_thingspeak_particle-scaled.jpg?resize=2048%2C1584&amp;ssl=1 2048w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/air_fryer_thingspeak_particle-scaled.jpg?w=2250&amp;ssl=1 2250w" sizes="(max-width: 750px) 100vw, 750px" /><figcaption>Air fryer with vibration sensor connected to ThingSpeak</figcaption></figure>



<p>Check out my <a rel="noreferrer noopener" href="https://www.hackster.io/matlab-iot/condition-based-maintenance-of-a-duct-fan-using-thingspeak-abb23d" target="_blank">Condition-based Maintenance of a Duct Fan</a> using ThingSpeak over at Hackster for a complete tutorial, video, and the source code. I adapted this project for an air fryer, but you could literally apply this technique to any machine that you want to monitor or to predict its remaining useful life. The idea is that fans and monitors vibrate when they are operational. As they degrade, the vibration changes over time. If you train a model with the data, you can use the model to predict the machine&#8217;s state, condition, and remaining lifespan. The predicted information can be used to change the maintenance schedule of the machine and optimize repair timing. It&#8217;s better to replace a part when the machine is scheduled to be down versus when the machine is in production.</p>



<p>I am using the <a href="https://docs.particle.io/reference/discontinued/button/">Particle Internet Button</a> for this project. The button gives me a nice convenient packaging of a Wi-Fi device for connectivity to ThingSpeak, an accelerometer to measure vibration, and LEDs for status lights.</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 class="youtube-player" width="750" height="422" src="https://www.youtube.com/embed/7P-gZ7t-AUQ?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></figure>



<p>The system uses ThingSpeak channels to store the vibration data, MATLAB / Predictive Maintenance Toolbox to build our machine learning model, MATLAB to analyze live data, and ThingSpeak to visualize our machine state and predictions.</p>



<figure class="wp-block-image size-large is-resized"><img data-recalc-dims="1" decoding="async" data-attachment-id="2222" data-permalink="https://nothans.com/when-will-your-air-fryer-fail/rul_system" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/rul_system.jpg?fit=1319%2C712&amp;ssl=1" data-orig-size="1319,712" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;Hans Scharler&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1622137085&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="rul_system" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/rul_system.jpg?fit=750%2C405&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/rul_system.jpg?resize=740%2C399&#038;ssl=1" alt="" class="wp-image-2222" width="740" height="399" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/rul_system.jpg?resize=1024%2C553&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/rul_system.jpg?resize=300%2C162&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/rul_system.jpg?resize=768%2C415&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/rul_system.jpg?w=1319&amp;ssl=1 1319w" sizes="(max-width: 740px) 100vw, 740px" /><figcaption>Predictive Maintenance System Overview</figcaption></figure>



<p>Here&#8217;s an overview of the steps involved:</p>



<ul class="wp-block-list"><li><strong>Data Collection</strong> &#8211; Your first challenge is to collect data from the system. Attach the vibration sensor package to the machine, connect it to the network, and send the data to an IoT service like <a href="https://thingspeak.com">ThingSpeak</a>.</li><li><strong>Data Parsing, Exploration, Feature Extraction, and Training</strong> &#8211; Now that you have data, you have to figure out what it all means. Use MATLAB, the <a href="https://www.mathworks.com/products/predictive-maintenance.html">Predictive Maintenance Toolbox</a>, and the <a href="https://www.mathworks.com/products/statistics.html">Statistics and Machine Learning Toolbox</a> to parse the data, extract interesting features, and to train a machine learning model.</li><li><strong>Visualize and Report</strong> &#8211; Present your findings with charts and gauges. Use ThingSpeak Alerts to send automated email messages about the machine&#8217;s health.</li><li><strong>Profit.</strong></li></ul>



<p>Here&#8217;s what some raw data from air fyer looks like.</p>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="566" data-attachment-id="2223" data-permalink="https://nothans.com/when-will-your-air-fryer-fail/thingspeak_ninja_foodie" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/ThingSpeak_Ninja_Foodie.jpg?fit=848%2C640&amp;ssl=1" data-orig-size="848,640" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;Hans Scharler&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1621603721&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_Ninja_Foodie" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/ThingSpeak_Ninja_Foodie.jpg?fit=750%2C566&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/ThingSpeak_Ninja_Foodie.jpg?resize=750%2C566&#038;ssl=1" alt="" class="wp-image-2223" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/ThingSpeak_Ninja_Foodie.jpg?w=848&amp;ssl=1 848w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/ThingSpeak_Ninja_Foodie.jpg?resize=300%2C226&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/ThingSpeak_Ninja_Foodie.jpg?resize=768%2C580&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/ThingSpeak_Ninja_Foodie.jpg?resize=100%2C75&amp;ssl=1 100w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption>Air Fryer Vibration Data on ThingSpeak</figcaption></figure>



<p>Vibration data is hard to interpret, but with machine learning, it&#8217;s possible to classify what the vibration data means and understand what the changes mean over time. You may even have noticed the sound of these appliances change over time. This is your brain picking up on the changes and telling you, &#8220;IT IS TIME TO CLEAN YOUR NASTY AIR FRYER.&#8221; Imagine a machine learning model always monitoring the vibration data and alerting you on the changes. Things will be working when they are supposed to be working.</p>



<p>Run two experiments with your fan and collect the data:</p>



<ul class="wp-block-list"><li><strong>Experiment 1:</strong>&nbsp;<em>Simulating</em>&nbsp;<em>failure due to blocking the airflow</em>&nbsp;(1000 data points) &#8211; Collect 1000 data points: 250 – OFF, 250 –ON, and 500 – BLOCKAGE</li><li><strong>Experiment 2:</strong>&nbsp;<em>Simulating</em>&nbsp;<em>failure due to rotor imbalance</em>&nbsp;(1000 data points) &#8211; Collect 1000 data points: = 250 – OFF, 250 –ON, 500 – IMBALANCED</li></ul>



<figure class="wp-block-video"><video height="420" style="aspect-ratio: 560 / 420;" width="560" controls src="https://nothans.com/wp-content/uploads/2021/05/data_visualization_Ruv6CGlIdR.mp4"></video><figcaption>MATLAB Data Exploration</figcaption></figure>



<p>When we explore the vibration data, you may notice some things:</p>



<ul class="wp-block-list"><li>The variance of the data in the time domain increases as the fan is turned on and as the failure develops in both experiments.</li><li>In the frequency domain for the experiment 1 data, the peak shifts from 30 Hz to 25 Hz.</li><li>In experiment 2, the peak in the frequency domain remains at the same point but the amplitude at that frequency increases.</li></ul>



<p>Using MATLAB&#8217;s built in Classification Leaner App in the Statistics and Machine Learning Toolbox makes it easy to train a machine learning model with your data.</p>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="604" data-attachment-id="2225" data-permalink="https://nothans.com/when-will-your-air-fryer-fail/classification_learner_app_in_matlab" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/classification_learner_app_in_matlab.jpg?fit=958%2C771&amp;ssl=1" data-orig-size="958,771" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;Hans Scharler&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1622138330&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="classification_learner_app_in_matlab" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/classification_learner_app_in_matlab.jpg?fit=750%2C604&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/classification_learner_app_in_matlab.jpg?resize=750%2C604&#038;ssl=1" alt="" class="wp-image-2225" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/classification_learner_app_in_matlab.jpg?w=958&amp;ssl=1 958w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/classification_learner_app_in_matlab.jpg?resize=300%2C240&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/classification_learner_app_in_matlab.jpg?resize=768%2C618&amp;ssl=1 768w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption>Classification Leaner App in MATLAB</figcaption></figure>



<p>When everything is running in operation, the system will monitor the vibration data, analyze using the MATLAB analytics that we developed in the tutorial, and predict the time to service. As you use appliances and machines they degrade over time. You don&#8217;t always need to clean and maintain. The trick is to do it when you need to do it before catastrophic failure&#8230; or going to <a rel="noreferrer noopener" href="https://amzn.to/3wvnoJs" target="_blank">Amazon</a> and buying a new one.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="552" height="276" data-attachment-id="2226" data-permalink="https://nothans.com/when-will-your-air-fryer-fail/time_to_service" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/time_to_service.jpg?fit=552%2C276&amp;ssl=1" data-orig-size="552,276" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;Hans Scharler&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1622138655&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="time_to_service" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/time_to_service.jpg?fit=552%2C276&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/time_to_service.jpg?resize=552%2C276&#038;ssl=1" alt="" class="wp-image-2226" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/time_to_service.jpg?w=552&amp;ssl=1 552w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/time_to_service.jpg?resize=300%2C150&amp;ssl=1 300w" sizes="auto, (max-width: 552px) 100vw, 552px" /><figcaption>Time To Service</figcaption></figure></div>



<p>If you are looking to try this out for yourself, check out the <a rel="noreferrer noopener" href="https://www.hackster.io/matlab-iot/condition-based-maintenance-of-a-duct-fan-using-thingspeak-abb23d" target="_blank">Condition-based Maintenance of a Duct Fan</a> project published on on Hackster. We have included the source code for the device as well as the MATLAB code to make the system to work. This can be applied to other systems and the process applies to many applications of predictive maintenance. Now that you know that these techniques exist, you might be able to find some useful ways to apply them.</p>



<p><strong><em>Apparently, I like <a rel="noreferrer noopener" href="https://nothans.com/mytoaster" target="_blank">connecting appliances</a> to the internet.</em></strong></p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/when-will-your-air-fryer-fail/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		<enclosure url="https://nothans.com/wp-content/uploads/2021/05/data_visualization_Ruv6CGlIdR.mp4" length="939784" type="video/mp4" />

		<post-id xmlns="com-wordpress:feed-additions:1">2218</post-id>	</item>
		<item>
		<title>(My) History of the Internet of Things</title>
		<link>https://nothans.com/my-history-of-the-internet-of-things</link>
					<comments>https://nothans.com/my-history-of-the-internet-of-things#comments</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Wed, 05 Dec 2018 21:59:29 +0000</pubDate>
				<category><![CDATA[ThingSpeak]]></category>
		<category><![CDATA[internet of things]]></category>
		<category><![CDATA[ioBridge]]></category>
		<category><![CDATA[mytoaster]]></category>
		<category><![CDATA[particle]]></category>
		<category><![CDATA[thingspeak]]></category>
		<category><![CDATA[web of things]]></category>
		<guid isPermaLink="false">http://nothans.com/?p=1217</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p>Back in 2007, <a href="https://github.com/jasontwinters">Jason Winters</a> and I started working on what would become ioBridge, RealTime.io, and <a href="https://thingspeak.com">ThingSpeak</a>. The phrase &#8220;Internet of Things&#8221; got added to the discussion when Richard MacManus resurrected it from the RFID days in the late 90s and applied it to companies like ourselves in a 2009 article in the <a href="https://archive.nytimes.com/www.nytimes.com/external/readwriteweb/2009/12/08/08readwriteweb-top-10-internet-of-things-products-of-2009-74048.html">New York Times</a>. Jason and I had experience with projects going viral such as a remote-controlled tractor with a webcam and an aquarium with real-time controls and monitoring. &#8220;Jason&#8217;s Fishcam&#8221; had sensors reporting temperature on a webpage and an interactive gator inside the aquarium. People used to watch the fish and control the gator&#8217;s mouth.</p>



<div class="wp-block-image wp-image-1223 size-full"><figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="480" height="640" data-attachment-id="1223" data-permalink="https://nothans.com/my-history-of-the-internet-of-things/fishcam_setup" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/Fishcam_Setup.jpg?fit=480%2C640&amp;ssl=1" data-orig-size="480,640" 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="Jason&amp;#8217;s Fishcam Setup" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/Fishcam_Setup.jpg?fit=480%2C640&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/Fishcam_Setup.jpg?resize=480%2C640" alt="" class="wp-image-1223" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/Fishcam_Setup.jpg?w=480&amp;ssl=1 480w, https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/Fishcam_Setup.jpg?resize=225%2C300&amp;ssl=1 225w" sizes="auto, (max-width: 480px) 100vw, 480px" /><figcaption>Jason&#8217;s Fishcam (January 2006)</figcaption></figure></div>



<p>The &#8220;<a href="https://searchmicroservices.techtarget.com/definition/Slashdot-Effect">Slashdot Effect</a>&#8221; used to crush our homespun servers and render our projects useless for a period of time. Jason had the idea of moving the &#8220;control&#8221; part of our projects to the web. If all commands are routed to and from a web server instead of going directly to a device, then we could control which commands went through, secure the connections using SSL, create access lists, and change things on the fly. This idea became our obsession for over a decade with several patents, licenses, open source projects, and customers from all over the world to show for the effort. We still work on large-scale IoT, Internet of Things for short, projects and have helped companies of all sizes reduce costs, predict equipment failures, and bring about connected products that serve a purpose.</p>



<div class="wp-block-image"><figure class="aligncenter"><a href="http://nothans.com/thingspeak-building-my-own-twitter-for-things"><img data-recalc-dims="1" loading="lazy" decoding="async" width="387" height="657" data-attachment-id="1224" data-permalink="https://nothans.com/my-history-of-the-internet-of-things/thingspeak_twitter_demo_app-2" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/ThingSpeak_Twitter_Demo_App.png?fit=387%2C657&amp;ssl=1" data-orig-size="387,657" 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 Twitter Demo App" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/ThingSpeak_Twitter_Demo_App.png?fit=387%2C657&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/ThingSpeak_Twitter_Demo_App.png?resize=387%2C657" alt="" class="wp-image-1224" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/ThingSpeak_Twitter_Demo_App.png?w=387&amp;ssl=1 387w, https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/ThingSpeak_Twitter_Demo_App.png?resize=177%2C300&amp;ssl=1 177w" sizes="auto, (max-width: 387px) 100vw, 387px" /></a><figcaption>&#8220;Twitter for Things&#8221; Demo App</figcaption></figure></div>



<p>When I first heard about Twitter back in 2006, I thought this is a perfect idea for things. Why would a human want to post short statues? Devices have a lot to say. &#8220;The HVAC system just turned on.&#8221; &#8220;The conveyor is drawing 3.1 amps.&#8221; &#8220;SYSTEM FAILURE: Code 87643.&#8221; If a web application could capture these messages, then the messages could be used for analysis. Jason and I started ioBridge in July of 2008 and built a scalable out-of-the-box solution plus a hardware dev kit. The only issue is that we only knew 30 people that were interested in the aquarium&nbsp;project. We sent an email to all 30 people and one person named Pete purchased a dev kit. He&nbsp;built a monitoring system for large aquariums&nbsp;in the Baltimore area. The next wave of users and customers didn&#8217;t come until Stephen Myers created an interactive pet treat dispenser&nbsp;for his dog. Stephen didn&#8217;t have an aquarium, but he did have a dog. <a href="https://www.everythingisaremix.info/watch-the-series/">Everything is a remix</a>. Stephen <a href="http://cygnetengineering.blogspot.com/2008/12/iphone-as-universe-controller-part-1.html">blogged</a> about his project on December 3,&nbsp;2008, and his&nbsp;project got picked up by &#8220;The Unofficial Apple Weblog&#8221; since he used the iPhone as the controller.</p>



<div class="wp-block-image"><figure class="aligncenter"><a href="http://cygnetengineering.blogspot.com/2008/12/iphone-as-universe-controller-part-1.html"><img data-recalc-dims="1" loading="lazy" decoding="async" width="267" height="400" data-attachment-id="1218" data-permalink="https://nothans.com/my-history-of-the-internet-of-things/iphone_pet_treat" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/iphone_pet_treat.jpg?fit=267%2C400&amp;ssl=1" data-orig-size="267,400" 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="iPhone Pet Treat" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/iphone_pet_treat.jpg?fit=267%2C400&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/iphone_pet_treat.jpg?resize=267%2C400" alt="" class="wp-image-1218" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/iphone_pet_treat.jpg?w=267&amp;ssl=1 267w, https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/iphone_pet_treat.jpg?resize=200%2C300&amp;ssl=1 200w" sizes="auto, (max-width: 267px) 100vw, 267px" /></a><figcaption>iPhone Controlled Pet Treat Dispenser (December 2008)</figcaption></figure></div>



<p>To demonstrate the idea for a &#8220;Twitter for Things&#8221; to investors, I created <a href="https://twitter.com/mytoaster">@MyToaster</a> &#8211; a Tweeting Toaster that used our system to send status updates about whether or not it was toasting. I followed Stephen&#8217;s idea and blogged about the toaster with my article, &#8220;<a href="http://nothans.com/social-networking-for-my-toaster">Social Networking for My Toaster</a>&#8221; on December 8, 2008, and described&nbsp;in detail how to build your own connected appliance. A few days later, Priya Ganapati picked up the story of MyToaster and wrote an article for <a href="https://www.wired.com/2008/12/twittering-toas/">Wired Magazine</a>.&nbsp;This project and our company&#8230; took off.</p>



<div class="wp-block-image"><figure class="aligncenter"><a href="https://www.wired.com/2008/12/twittering-toas/"><img data-recalc-dims="1" loading="lazy" decoding="async" width="583" height="443" data-attachment-id="1219" data-permalink="https://nothans.com/my-history-of-the-internet-of-things/mytoaster_wired" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/MyToaster_Wired.png?fit=583%2C443&amp;ssl=1" data-orig-size="583,443" 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="MyToaster Wired" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/MyToaster_Wired.png?fit=583%2C443&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/MyToaster_Wired.png?resize=583%2C443" alt="" class="wp-image-1219" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/MyToaster_Wired.png?w=583&amp;ssl=1 583w, https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/MyToaster_Wired.png?resize=300%2C228&amp;ssl=1 300w" sizes="auto, (max-width: 583px) 100vw, 583px" /></a><figcaption>First MyToaster Article in Wired Magazine (December 2008)</figcaption></figure></div>



<p>The toaster allowed me to start conversations with product manufacturers and designers that had ideas for new products. I worked on a number of consumer products and industrial systems that all use the same technology that Jason and I created. The Amazon Echo wouldn&#8217;t be possible if the Echo device had to understand all aspects of speech and user intents locally. The web allows Echo to tap into a huge data set that enhances its functionality. <a href="https://thingspeak.com">ThingSpeak</a> is still going strong. You can still sign up today for a free, non-commercial account and join a community of over 350,000 developers around the world that are all learning about IoT and building new IoT applications.</p>



<div class="wp-block-image"><figure class="aligncenter"><a href="https://thingspeak.com"><img data-recalc-dims="1" loading="lazy" decoding="async" width="550" height="239" data-attachment-id="1225" data-permalink="https://nothans.com/my-history-of-the-internet-of-things/thingspeak-overview" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/ThingSpeak-Overview.png?fit=550%2C239&amp;ssl=1" data-orig-size="550,239" 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 Overview" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/ThingSpeak-Overview.png?fit=550%2C239&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/ThingSpeak-Overview.png?resize=550%2C239" alt="" class="wp-image-1225" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/ThingSpeak-Overview.png?w=550&amp;ssl=1 550w, https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/ThingSpeak-Overview.png?resize=300%2C130&amp;ssl=1 300w" sizes="auto, (max-width: 550px) 100vw, 550px" /></a><figcaption>ThingSpeak System Diagram (December 2010)</figcaption></figure></div>



<p>Fast forward 10 years, and we are still working on the same thing, but the things are now factories, agricultural systems, windmills, and space probes. I was really happy when Katie Blackley from Pittsburgh&#8217;s NPR News Station asked me for an <a href="http://www.wesa.fm/post/how-tweeting-toaster-helped-bring-internet-things-hungry-public">interview</a> and an update regarding the MyToaster that started my journey. It has been 10 years and the toaster still works. It is now outfitted with a Particle Photon and uses the ThingSpeak web service to update its thousands of followers. I am glad she reached out to me as it caused me to reflect a bit about the journey and prompted me to share my history of the Internet of Things.</p>



<div class="wp-block-image"><figure class="aligncenter"><a href="http://www.wesa.fm/post/how-tweeting-toaster-helped-bring-internet-things-hungry-public"><img data-recalc-dims="1" loading="lazy" decoding="async" width="714" height="783" data-attachment-id="1221" data-permalink="https://nothans.com/my-history-of-the-internet-of-things/wesa_article" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/WESA_Article.png?fit=714%2C783&amp;ssl=1" data-orig-size="714,783" 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="WESA Interview and Article" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/WESA_Article.png?fit=714%2C783&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/WESA_Article.png?resize=714%2C783" alt="" class="wp-image-1221" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/WESA_Article.png?w=714&amp;ssl=1 714w, https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/WESA_Article.png?resize=274%2C300&amp;ssl=1 274w" sizes="auto, (max-width: 714px) 100vw, 714px" /></a></figure></div>


<h2 class="wp-block-heading" id="appendix-mytoaster">Appendix: MyToaster</h2>


<p><a href="https://twitter.com/mytoaster">MyToaster</a> has been popular on its own for a long time. I have gotten requests to talk about the toaster on news stations, interviews for magazines, and to have the toaster brought to IoT conferences. Every trade show we did had MyToaster on display. The &#8220;touring toaster&#8221; was a stand-in and took a lot of abuse over the years.</p>


<p><iframe loading="lazy" class="youtube-player" width="750" height="422" src="https://www.youtube.com/embed/H5daLYlOLj4?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></p>



<p>Another significant event for MyToaster is when the Washington Post posted an infographic on &#8220;<a href="http://nothans.com/mytoaster-the-washington-post-iot-infographic">The Marriage of Appliance and Internet</a>&#8220;.</p>



<div class="wp-block-image"><figure class="aligncenter"><a href="http://nothans.com/mytoaster-the-washington-post-iot-infographic"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="768" data-attachment-id="1233" data-permalink="https://nothans.com/my-history-of-the-internet-of-things/tumblr_nnvtdorblp1tmt0uwo1_1280-1" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/tumblr_nnvtdoRblP1tmt0uwo1_1280-1.png?fit=757%2C775&amp;ssl=1" data-orig-size="757,775" 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="IoT Infographic" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/tumblr_nnvtdoRblP1tmt0uwo1_1280-1.png?fit=750%2C768&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/tumblr_nnvtdoRblP1tmt0uwo1_1280-1.png?resize=750%2C768" alt="" class="wp-image-1233" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/tumblr_nnvtdoRblP1tmt0uwo1_1280-1.png?w=757&amp;ssl=1 757w, https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/tumblr_nnvtdoRblP1tmt0uwo1_1280-1.png?resize=293%2C300&amp;ssl=1 293w, https://i0.wp.com/nothans.com/wp-content/uploads/2018/12/tumblr_nnvtdoRblP1tmt0uwo1_1280-1.png?resize=60%2C60&amp;ssl=1 60w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a></figure></div>



<p>They listed that&nbsp;<a href="http://nothans.com/tag/mytoaster" target="_blank" rel="noopener">MyToaster</a>&nbsp;from 2008 was a significant event that shaped &#8220;Connected Appliances&#8221; and &#8220;Consumer Internet of Things Products&#8221;.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p><b>2008 –&nbsp;<a href="https://twitter.com/mytoaster" target="_blank" rel="noopener">@mytoaster</a>&nbsp;joins Twitter. It’s a toaster that Tweets.&nbsp;<a href="http://nothans.com/" target="_blank" rel="noopener">Hans Scharler</a>&nbsp;rigged up his toaster to his Twitter so the appliance Tweets one of two things: Toasting or Done Toasting.</b></p></blockquote>



<div class="wp-block-image"><figure class="aligncenter"><a href="http://newsfeed.time.com/2013/07/30/tweeting-toaster-has-more-followers-than-you/"><img loading="lazy" decoding="async" width="300" height="300" data-attachment-id="970" data-permalink="https://nothans.com/about/time-logo" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2010/03/time-logo.png?fit=300%2C300&amp;ssl=1" data-orig-size="300,300" 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="Time Logo" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2010/03/time-logo.png?fit=300%2C300&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2010/03/time-logo.png?resize=200%2C200" alt="Time Logo" class="wp-image-970" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2010/03/time-logo.png?w=300&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2010/03/time-logo.png?resize=150%2C150&amp;ssl=1 150w, https://i0.wp.com/nothans.com/wp-content/uploads/2010/03/time-logo.png?resize=60%2C60&amp;ssl=1 60w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a></figure></div>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>A man in Pittsburgh, Pennsylvania has rigged his&nbsp;<a href="https://twitter.com/mytoaster">toaster</a>&nbsp;to tweet “Toasting” or “Done Toasting” with each use, and — despite the account’s lack of variety — has gained more than 2,000 followers.</p><p>In order to further connect us with our possessions, Scharler and his friend Jason Winters created a platform for developers called&nbsp;<a href="https://thingspeak.com/">ThingSpeak</a>— a sort of&nbsp;<em>Twitter for things</em>&nbsp;— that lets objects send messages, broadcast their location, graph their temperature, and more.</p></blockquote>



<p>–<a title="Posts by Jacob Davidson" href="http://newsfeed.time.com/author/jdavidsontime/" rel="author">Jacob Davidson</a>&nbsp;/&nbsp;<a href="http://newsfeed.time.com/2013/07/30/tweeting-toaster-has-more-followers-than-you/">Time</a></p>



<div class="wp-block-image"><figure class="aligncenter"><a href="https://www.wired.com/2009/08/twittering-toaster/"><img decoding="async" data-attachment-id="993" data-permalink="https://nothans.com/about/wired_logo" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2010/03/Wired_Logo-e1475524396757.jpg?fit=1900%2C633&amp;ssl=1" data-orig-size="1900,633" 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="Wired Logo" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2010/03/Wired_Logo-e1475524396757.jpg?fit=750%2C250&amp;ssl=1" src="https://i1.wp.com/nothans.com/wp-content/uploads/2010/03/Wired_Logo.jpg?resize=400%2C267" alt="Wired Logo" class="wp-image-993"/></a></figure></div>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>“Tweeting appliances speaks to this whole ‘internet of things’ idea,” says&nbsp;<a href="http://nothans.com/">Hans Scharler</a>, a tech consultant who also writes comedy material. “If your appliances were outputting information, it can always go to a database. But we love to share information. So why not find a way to do that?” Scharler found&nbsp;<a class="" href="https://www.wired.com/gadgetlab/2008/12/twittering-toas/">online fame for his twittering toaster</a>, whose tweets alternate between “toasting” and “toast is done.”&nbsp;<a href="http://twitter.com/mytoaster">@mytoaster</a>&nbsp;has about 200 twitter followers.</p></blockquote>



<p>–<a href="https://www.wired.com/author/pganapati/">Priya Ganapati</a>&nbsp;/&nbsp;<a href="https://www.wired.com/2009/08/twittering-toaster/">Wired</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/my-history-of-the-internet-of-things/feed</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1217</post-id>	</item>
		<item>
		<title>Use the New MQTT Service from ThingSpeak for Real-time CheerLights Updates</title>
		<link>https://nothans.com/use-the-new-mqtt-service-from-thingspeak-for-real-time-cheerlights-updates</link>
					<comments>https://nothans.com/use-the-new-mqtt-service-from-thingspeak-for-real-time-cheerlights-updates#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Sun, 10 Dec 2017 20:19:06 +0000</pubDate>
				<category><![CDATA[CheerLights]]></category>
		<category><![CDATA[ThingSpeak]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[cheerlights]]></category>
		<category><![CDATA[internet of things]]></category>
		<category><![CDATA[iot]]></category>
		<category><![CDATA[MQTT]]></category>
		<category><![CDATA[particle]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[web of things]]></category>
		<guid isPermaLink="false">http://nothans.com/?p=1147</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<p>It&#8217;s that time again. That time when people all across the world synchronize their lights together with <a href="http://cheerlights.com">CheerLights</a>! People have <a href="https://twitter.com/search?f=images&amp;vertical=default&amp;q=cheerlights">built</a> amazing CheerLights displays. I have seen everything from color-changing shoes to snowmen&#8230; and trees.</p>
<p><a href="http://cheerlights.com"><img data-recalc-dims="1" loading="lazy" decoding="async" data-attachment-id="1148" data-permalink="https://nothans.com/use-the-new-mqtt-service-from-thingspeak-for-real-time-cheerlights-updates/cheerlights_2017" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2017/12/CheerLights_2017.gif?fit=609%2C609&amp;ssl=1" data-orig-size="609,609" 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 2017" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2017/12/CheerLights_2017.gif?fit=609%2C609&amp;ssl=1" class="aligncenter size-full wp-image-1148" src="https://i0.wp.com/nothans.com/wp-content/uploads/2017/12/CheerLights_2017.gif?resize=609%2C609" alt="" width="609" height="609"></a></p>
<p>&nbsp;</p>
<h3>CheerLights Introduction</h3>
<p>Here&#8217;s a&nbsp;quick&nbsp;introduction to the CheerLights project for those who are new to the project. Imagine 1000&#8217;s of multicolored lights all around the world synchronized to one color. When one of the lights turns red, they all turn red. To control CheerLights, send a tweet to&nbsp;<a title="Follow CheerLights on Twitter" href="http://twitter.com/cheerlights" target="_blank" rel="noopener">@cheerlights</a>&nbsp;or include “cheerlights” somewhere in your message with the name of a color.&nbsp;This will cause a chain reaction and all of the CheerLights displays and apps will change their color to red.</p>
<p><iframe loading="lazy" class="youtube-player" width="750" height="422" src="https://www.youtube.com/embed/7eCgA4oEN6g?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></p>
<p>&nbsp;</p>
<h3>ThingSpeak MQTT Service</h3>
<p>CheersLights is powered by <a href="https://thingspeak.com/channels/1417">ThingSpeak IoT</a>. And, this year, I am happy to introduce real-time CheerLights updates using ThingSpeak&#8217;s new <a href="https://blogs.mathworks.com/iot/2017/11/10/subscribe-to-thingspeak-iot-data-using-mqtt/">MQTT</a> service. Using the MQTT service by ThingSpeak, your CheerLights change instantly. ThingSpeak has posted an <a href="https://www.mathworks.com/help/thingspeak/use-particle-photon-client-to-subscribe-to-channel-updates.html">example</a> that gets a Particle Photon connected to CheerLights using MQTT. The&nbsp;<a href="https://www.mathworks.com/help/thingspeak/use-particle-photon-client-to-subscribe-to-channel-updates.html">Subscribe to Channel Updates Using Particle Photon Client</a> example shows&nbsp;you how to use a Particle Photon Wi-Fi board to subscribe to channel updates from the CheerLights <a href="https://thingspeak.com/channels/1417">channel</a>. The program displays the color read from the channel on the built-in LED on the Photon board. You can subscribe to the channel feed or directly to the color field on the CheerLights channel.</p>
<p>Once you learn how to use the MQTT service from ThingSpeak, you can easily adapt it to your IoT project. This is a&nbsp;great way&nbsp;to have real-time control of a device or real-time monitoring of sensors.</p>
<p><a href="https://www.mathworks.com/help/thingspeak/mqtt-api.html"><img data-recalc-dims="1" loading="lazy" decoding="async" data-attachment-id="1149" data-permalink="https://nothans.com/use-the-new-mqtt-service-from-thingspeak-for-real-time-cheerlights-updates/thingspeak_mqtt_subscribe" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2017/12/thingspeak_mqtt_subscribe.png?fit=552%2C432&amp;ssl=1" data-orig-size="552,432" 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 MQTT Subscribe" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2017/12/thingspeak_mqtt_subscribe.png?fit=552%2C432&amp;ssl=1" class="aligncenter size-full wp-image-1149" src="https://i0.wp.com/nothans.com/wp-content/uploads/2017/12/thingspeak_mqtt_subscribe.png?resize=552%2C432" alt="" width="552" height="432" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2017/12/thingspeak_mqtt_subscribe.png?w=552&amp;ssl=1 552w, https://i0.wp.com/nothans.com/wp-content/uploads/2017/12/thingspeak_mqtt_subscribe.png?resize=300%2C235&amp;ssl=1 300w" sizes="auto, (max-width: 552px) 100vw, 552px" /></a></p>
<p><strong>If you want to follow the project and see what others are building, visit <a href="http://cheerlights.com">CheerLights.com</a> or follow on <a href="https://twitter.com/search?q=cheerlights">Twitter</a>.</strong></p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/use-the-new-mqtt-service-from-thingspeak-for-real-time-cheerlights-updates/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1147</post-id>	</item>
		<item>
		<title>CheerLights Robot for Your Nursery</title>
		<link>https://nothans.com/cheerlights-robot-for-your-nursery</link>
					<comments>https://nothans.com/cheerlights-robot-for-your-nursery#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Tue, 28 Feb 2017 16:29:53 +0000</pubDate>
				<category><![CDATA[CheerLights]]></category>
		<category><![CDATA[ThingSpeak]]></category>
		<category><![CDATA[cheerlights]]></category>
		<category><![CDATA[internet of things]]></category>
		<category><![CDATA[particle]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[thingspeak]]></category>
		<guid isPermaLink="false">http://nothans.com/?p=1073</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<p>I shared my latest project over on my <a href="http://nothans.com/nursery-robot-connected-to-cheerlights">Nursery Hacks</a> website. It combines some of my favorite things&#8230; IoT, CheerLights, ThingSpeak, Particle, and building things for my soon-to-be-here son&#8217;s nursery.&nbsp;&nbsp;I didn’t want a bright light in the nursery, but I did want to build a little CheerLights display for something in the background.</p>
<p><a href="https://amzn.to/3g8bKiM"><img data-recalc-dims="1" loading="lazy" decoding="async" data-attachment-id="1074" data-permalink="https://nothans.com/cheerlights-robot-for-your-nursery/nursery_robot_iot" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2017/02/Nursery_Robot_IoT.jpg?fit=982%2C1134&amp;ssl=1" data-orig-size="982,1134" 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="Nursery Robot CheerLights IoT" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2017/02/Nursery_Robot_IoT.jpg?fit=750%2C866&amp;ssl=1" class="aligncenter size-full wp-image-1074" src="https://i0.wp.com/nothans.com/wp-content/uploads/2017/02/Nursery_Robot_IoT.jpg?resize=750%2C866" alt="" width="750" height="866" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2017/02/Nursery_Robot_IoT.jpg?w=982&amp;ssl=1 982w, https://i0.wp.com/nothans.com/wp-content/uploads/2017/02/Nursery_Robot_IoT.jpg?resize=260%2C300&amp;ssl=1 260w, https://i0.wp.com/nothans.com/wp-content/uploads/2017/02/Nursery_Robot_IoT.jpg?resize=768%2C887&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2017/02/Nursery_Robot_IoT.jpg?resize=887%2C1024&amp;ssl=1 887w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a></p>
<p>I found a <a href="https://amzn.to/3g8bKiM">Robot Nightlight</a> on Amazon and purchased it. This little robot is a great night-light and you can change the color using the included infrared remote control. To connect this light to <a href="http://cheerlights.com">CheerLights</a>, I built an IR controller that is internet-connected using the <a href="https://www.amazon.com/gp/product/B016YNU1A0/ref=as_li_tl?ie=UTF8&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B016YNU1A0&amp;linkCode=as2&amp;tag=nurseryhacks-20&amp;linkId=789f5969d27a6c4df48b9c6f343d123f">Particle Photon</a>. The Photon subscribes to the latest CheerLights color on ThingSpeak and transmits the IR code as if the button was pressed on the remote control.</p>
<p><iframe loading="lazy" class="youtube-player" width="750" height="422" src="https://www.youtube.com/embed/sojPxN59SYA?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></p>
<p>To build your own CheerLights Robot, visit <a href="http://nothans.com/nursery-robot-connected-to-cheerlights">Nursery Hacks</a> for the parts and code.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/cheerlights-robot-for-your-nursery/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1073</post-id>	</item>
		<item>
		<title>Open Source IoT Debug Tool for ThingSpeak and Particle</title>
		<link>https://nothans.com/open-source-iot-debug-tool-for-thingspeak-and-particle</link>
					<comments>https://nothans.com/open-source-iot-debug-tool-for-thingspeak-and-particle#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Wed, 03 Aug 2016 17:38:10 +0000</pubDate>
				<category><![CDATA[IoT]]></category>
		<category><![CDATA[ThingSpeak]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[internet of things]]></category>
		<category><![CDATA[particle]]></category>
		<category><![CDATA[thingspeak]]></category>
		<guid isPermaLink="false">http://nothans.com/?p=904</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p>Often, when building IoT projects, you wonder what data is being sent to a cloud service like ThingSpeak. The IoT Debugger tool allows you to see the data inside a ThingSpeak channel in a table view. The ThingSpeak Logger shows you data as the channel gets updated. This is an easy way to see if you are sending bad or null data. The project is open-source and available on <a href="https://github.com/nothans/iot-debugger">GitHub</a>.</p>


<div class="wp-block-image">
<figure class="aligncenter"><a href="https://github.com/nothans/iot-debugger"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="575" data-attachment-id="905" data-permalink="https://nothans.com/open-source-iot-debug-tool-for-thingspeak-and-particle/iot-debugger" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2016/08/IoT-Debugger.png?fit=859%2C658&amp;ssl=1" data-orig-size="859,658" 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="IoT Debug Tool" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2016/08/IoT-Debugger.png?fit=750%2C575&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2016/08/IoT-Debugger.png?resize=750%2C575" alt="IoT Debug Tool" class="wp-image-905" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2016/08/IoT-Debugger.png?w=859&amp;ssl=1 859w, https://i0.wp.com/nothans.com/wp-content/uploads/2016/08/IoT-Debugger.png?resize=300%2C230&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2016/08/IoT-Debugger.png?resize=768%2C588&amp;ssl=1 768w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a><figcaption class="wp-element-caption">IoT Debugger</figcaption></figure>
</div>

<h3 class="wp-block-heading" id="features-of-iot-debugger">Features of IoT Debugger</h3>


<ul class="wp-block-list">
<li>ThingSpeak Data Logger</li>



<li>Particle.io Webhooks Manager</li>



<li>Settings are saved in LocalStorage</li>



<li>Built using HTML5, Bootstrap, and jQuery</li>



<li>Open Source!</li>
</ul>



<p><a href="https://nothans.github.io/iot-debugger/app/thingspeak.html" target="_blank" rel="noreferrer noopener">Demo</a> and download the source code for IoT Debugger on <a href="https://github.com/nothans/iot-debugger">GitHub</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/open-source-iot-debug-tool-for-thingspeak-and-particle/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">904</post-id>	</item>
		<item>
		<title>ThingSpeak + Particle Photon using Webhooks</title>
		<link>https://nothans.com/particle-webhooks-and-thingspeak</link>
					<comments>https://nothans.com/particle-webhooks-and-thingspeak#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Fri, 18 Mar 2016 03:07:13 +0000</pubDate>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[ThingSpeak]]></category>
		<category><![CDATA[hackster]]></category>
		<category><![CDATA[internet of things]]></category>
		<category><![CDATA[iot]]></category>
		<category><![CDATA[iot-debugger]]></category>
		<category><![CDATA[matlab]]></category>
		<category><![CDATA[particle]]></category>
		<category><![CDATA[thingspeak]]></category>
		<guid isPermaLink="false">http://nothans.com/particle-webhooks-and-thingspeak</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p>I got the Particle Photon and Electron working nicely with <a href="https://thingspeak.com/channels/93156" target="_blank" rel="noopener">ThingSpeak</a>. I took the time to document how to connect the&nbsp;<a href="http://particle.io">Particle.io</a>&nbsp;cloud and ThingSpeak together securely. The tutorial is available now at <a href="https://www.hackster.io/15223/thingspeak-particle-photon-using-webhooks-dbd96c" target="_blank" rel="noopener">Hackster.io</a>&nbsp;and the project uses the Particle Photon, ThingSpeak, <a href="https://github.com/nothans/iot-debugger" target="_blank" rel="noopener">IoT Debugger</a>, and MATLAB!</p>



<figure class="wp-block-image size-large"><a href="https://www.hackster.io/sentient-things/thingspeak-particle-photon-using-webhooks-dbd96c"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="464" data-attachment-id="2120" data-permalink="https://nothans.com/particle-webhooks-and-thingspeak/particle_thingpeak" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/03/particle_thingpeak.png?fit=1036%2C641&amp;ssl=1" data-orig-size="1036,641" 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="Particle ThingSpeak" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/03/particle_thingpeak.png?fit=750%2C464&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/03/particle_thingpeak.png?resize=750%2C464&#038;ssl=1" alt="" class="wp-image-2120" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/03/particle_thingpeak.png?resize=1024%2C634&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/03/particle_thingpeak.png?resize=300%2C186&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/03/particle_thingpeak.png?resize=768%2C475&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/03/particle_thingpeak.png?w=1036&amp;ssl=1 1036w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a><figcaption>Particle and ThingSpeak</figcaption></figure>



<p>Particle creates really powerful devices that are cloud-connected to&nbsp;<a href="https://www.particle.io/">Particle.io</a>. They have the Photon and the Electron and the same code works with both. In my project, I use the Wi-Fi powered Photon, but the same steps would work with the Electron that uses 3G cellular data. I will be connecting the Particle devices to&nbsp;<a href="https://thingspeak.com/">ThingSpeak</a>&nbsp;&#8211; a data collection services with built in analytics and visualizations tools using MATLAB. The connection will happen securely from cloud-to-cloud.</p>


<h3 class="wp-block-heading" id="toc-requirements-0">Requirements</h3>


<ul class="wp-block-list"><li>Wi-Fi connected Particle Photon (or activated Particle Electron)</li><li><a href="https://build.particle.io/">Particle.io Build Account</a></li><li><a href="https://thingspeak.com/login">ThingSpeak User Account</a></li></ul>


<h3 class="wp-block-heading" id="toc-credentials-1">Credentials</h3>


<p>We need to gather some credential information before we can build out the rest of the project.</p>



<p><strong>ThingSpeak</strong></p>



<p>Go to <a href="https://thingspeak.com/login">ThingSpeak.com</a> and Sign In. Select Channels and then My Channels. Create a new channel. Click on API Keys and note the <strong>Write API Key</strong> and <strong>Channel ID</strong>.</p>



<p><strong>Particle</strong></p>



<p>Go to <a href="https://build.particle.io/">Particle.io</a> and Sign into Build. Click the gear icon in the bottom left corner of the IDE. This will open the Settings panel. Make a note of the <strong>Access Token</strong>. This will be used to create the webhook in a later step.</p>


<h3 class="wp-block-heading" id="toc-setup-the-webhook-on-particle-io-2">Setup the Webhook on Particle.io</h3>


<p>In order to connect Particle and ThingSpeak together, we need to setup a webhook on Particle. This will make a secure connection from Particle.io to ThingSpeak so that data can be passed back and forth.</p>



<p>You have two options for settings up the webhook. You can use the&nbsp;<a href="https://docs.particle.io/guide/tools-and-features/webhooks/">Particle CLI Tools</a>&nbsp;or&nbsp;<a href="https://github.com/nothans/iot-debugger">IoT Debugger</a>. I will document the steps for the IoT Debugger.</p>



<p><strong>IoT Debugger</strong></p>



<ul class="wp-block-list"><li>Download a copy of&nbsp;<a href="https://github.com/nothans/iot-debugger">IoT Debugger</a></li><li>Open the&nbsp;<a href="http://htmlpreview.github.io/?https://github.com/nothans/iot-debugger/blob/master/app/index.html">index.html</a>&nbsp;file in a web browser tab</li><li>Select&nbsp;<a href="https://htmlpreview.github.io/?https://raw.githubusercontent.com/nothans/iot-debugger/master/app/particle.html">Particle</a></li><li>Enter your Particle&nbsp;<strong>Access Token</strong>&nbsp;into the Access Token field</li><li>Click on &#8220;Create Webhook&#8221;</li></ul>



<p>In the Content (JSON) field, enter the following file:</p>



<pre class="wp-block-code"><code>{
    "event": "thingSpeakWrite_",
    "url": "https://api.thingspeak.com/update",
    "requestType": "POST",
    "form": {
        "api_key": "{{k}}",
        "field1": "{{1}}",
        "field2": "{{2}}",
        "field3": "{{3}}",
        "field4": "{{4}}",
        "field5": "{{5}}",
        "field6": "{{6}}",
        "field7": "{{7}}",
        "field8": "{{8}}",
        "lat": "{{a}}",
        "long": "{{o}}",
        "elevation": "{{e}}",
        "status": "{{s}}"
    },
    "mydevices": true,
    "noDefaults": true
}
</code></pre>



<p>Click &#8220;Save&#8221; to upload the webhook to your Particle account.</p>


<h3 class="wp-block-heading" id="toc-program-particle-photon-3">Program Particle Photon</h3>


<p>Go back to Particle.io and select the device that you want to program.&nbsp;This example will send the value of the analog pin (A0) to ThingSpeak every 16 seconds.</p>



<pre class="wp-block-code"><code>#define publish_delay 16000
unsigned int lastPublish = 0;

void setup() {
}

void loop() {
    unsigned long now = millis();
    if ((now - lastPublish) &lt; publish_delay) {
        return;
    }

    int value = analogRead(A0);
    Particle.publish("thingSpeakWrite_A0", "{ \"1\": \"" + String(value) + "\", \"k\": \"XXXXXXXXXXXXXXXX\" }", 60, PRIVATE);
    lastPublish = now;
}
</code></pre>


<h3 class="wp-block-heading" id="verify-connections">Verify Connections</h3>


<p>Go over to the new ThingSpeak <a href="https://thingspeak.com/channels/93156">channel</a> that you created and see if data is being collected and displayed on one of your charts. You should see a new data point being added every 16 seconds.</p>


<h3 class="wp-block-heading" id="toc-matlab-visualization-4">MATLAB Visualization</h3>


<p>Now that your data is on&nbsp;<a href="https://thingspeak.com/channels/93156">ThingSpeak</a>&nbsp;you can see this data on ThingSpeak using the MATLAB Visualizations app. On ThingSpeak, select Apps and then MATLAB Visualizations. Click &#8220;New&#8221;, select &#8220;Custom (no starter code), and click &#8220;Create&#8221;.</p>



<p>Enter the following MATLAB code and click&nbsp;<strong>Run and Save</strong>:</p>



<pre class="wp-block-code"><code>readChannelID = 93156;
fieldID1 = 1;

readAPIKey = 'MCI6XM81ZFOY8UCE';

%% Read Data %%
&#91;data, time] = thingSpeakRead(readChannelID, 'Field', fieldID1, 'NumPoints', 10, 'ReadKey', <em>readAPIKey</em>);

%% Visualize Data %%
thingSpeakPlot(time, data);
</code></pre>



<p>Make sure to customize the MATLAB code with your <strong>readChannelID</strong> and <strong>readAPIKey</strong>.</p>



<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img data-recalc-dims="1" loading="lazy" decoding="async" data-attachment-id="2119" data-permalink="https://nothans.com/particle-webhooks-and-thingspeak/matlab_visualization" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/03/matlab_visualization.png?fit=663%2C455&amp;ssl=1" data-orig-size="663,455" 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="matlab_visualization" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/03/matlab_visualization.png?fit=663%2C455&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/03/matlab_visualization.png?resize=663%2C455&#038;ssl=1" alt="" class="wp-image-2119" width="663" height="455" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/03/matlab_visualization.png?w=663&amp;ssl=1 663w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/03/matlab_visualization.png?resize=300%2C206&amp;ssl=1 300w" sizes="auto, (max-width: 663px) 100vw, 663px" /><figcaption>MATLAB Plot of ThingSpeak Data</figcaption></figure></div>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/particle-webhooks-and-thingspeak/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">586</post-id>	</item>
		<item>
		<title>Particle Electron and Webhooks to ThingSpeak!</title>
		<link>https://nothans.com/particle-electron-and-webhooks-to-thingspeak</link>
					<comments>https://nothans.com/particle-electron-and-webhooks-to-thingspeak#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Fri, 26 Feb 2016 17:46:10 +0000</pubDate>
				<category><![CDATA[ThingSpeak]]></category>
		<category><![CDATA[internet of things]]></category>
		<category><![CDATA[iot]]></category>
		<category><![CDATA[particle]]></category>
		<category><![CDATA[thingspeak]]></category>
		<guid isPermaLink="false">http://nothans.com/particle-electron-and-webhooks-to-thingspeak</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p>I just built webhooks to ThingSpeak for data that comes from the Particle devices connected to the Particle.io cloud. I will be sharing the <a href="https://www.hackster.io/15223/thingspeak-particle-photon-using-webhooks-dbd96c">source code</a> when everything gets stable.</p>



<figure class="wp-block-image size-full"><a href="https://www.hackster.io/sentient-things/thingspeak-particle-photon-using-webhooks-dbd96c"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="404" data-attachment-id="2785" data-permalink="https://nothans.com/particle-electron-and-webhooks-to-thingspeak/webhooks-overview" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/04/webhooks-overview.png?fit=800%2C431&amp;ssl=1" data-orig-size="800,431" 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="webhooks-overview" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/04/webhooks-overview.png?fit=750%2C404&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2022/04/webhooks-overview.png?resize=750%2C404&#038;ssl=1" alt="" class="wp-image-2785" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2022/04/webhooks-overview.png?w=800&amp;ssl=1 800w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/04/webhooks-overview.png?resize=300%2C162&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/04/webhooks-overview.png?resize=768%2C414&amp;ssl=1 768w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a><figcaption>Particle Webhooks</figcaption></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/particle-electron-and-webhooks-to-thingspeak/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">589</post-id>	</item>
		<item>
		<title>Particle Electron Kickstarter Kit Just Arrived</title>
		<link>https://nothans.com/particle-electron-thingspeak-kickstarter</link>
					<comments>https://nothans.com/particle-electron-thingspeak-kickstarter#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Tue, 23 Feb 2016 15:43:22 +0000</pubDate>
				<category><![CDATA[ThingSpeak]]></category>
		<category><![CDATA[internet of things]]></category>
		<category><![CDATA[iot]]></category>
		<category><![CDATA[particle]]></category>
		<category><![CDATA[thingspeak]]></category>
		<guid isPermaLink="false">http://nothans.com/particle-electron-thingspeak-kickstarter</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<p>I just received my Particle Electron from last year’s Kickstarter. Particle and <a href="https://thingspeak.com">ThingSpeak</a> FTW! Time to get building…</p>
<p><a href="https://www.hackster.io/15223/thingspeak-particle-photon-using-webhooks-dbd96c"><img data-recalc-dims="1" loading="lazy" decoding="async" data-attachment-id="591" data-permalink="https://nothans.com/particle-electron-thingspeak-kickstarter/attachment/591" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2016/02/tumblr_o30boaDQgm1tmt0uwo1_1280-1.jpg?fit=1280%2C720&amp;ssl=1" data-orig-size="1280,720" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;1.8&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;LG-H810&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1456223672&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;4.42&quot;,&quot;iso&quot;:&quot;350&quot;,&quot;shutter_speed&quot;:&quot;0.041666666666667&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}" data-image-title="Particle Electron" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2016/02/tumblr_o30boaDQgm1tmt0uwo1_1280-1.jpg?fit=750%2C422&amp;ssl=1" class="aligncenter size-full wp-image-591" src="https://i0.wp.com/nothans.com/wp-content/uploads/2016/02/tumblr_o30boaDQgm1tmt0uwo1_1280-1.jpg?resize=750%2C422" alt="Particle Electron" width="750" height="422" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2016/02/tumblr_o30boaDQgm1tmt0uwo1_1280-1.jpg?w=1280&amp;ssl=1 1280w, https://i0.wp.com/nothans.com/wp-content/uploads/2016/02/tumblr_o30boaDQgm1tmt0uwo1_1280-1.jpg?resize=300%2C169&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2016/02/tumblr_o30boaDQgm1tmt0uwo1_1280-1.jpg?resize=768%2C432&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2016/02/tumblr_o30boaDQgm1tmt0uwo1_1280-1.jpg?resize=1024%2C576&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2016/02/tumblr_o30boaDQgm1tmt0uwo1_1280-1.jpg?resize=1200%2C675&amp;ssl=1 1200w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/particle-electron-thingspeak-kickstarter/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">590</post-id>	</item>
	</channel>
</rss>
