<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.waterwaysinwhittlesea.org/index.php?action=history&amp;feed=atom&amp;title=Node_RED_data_processing_II</id>
	<title>Node RED data processing II - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.waterwaysinwhittlesea.org/index.php?action=history&amp;feed=atom&amp;title=Node_RED_data_processing_II"/>
	<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=Node_RED_data_processing_II&amp;action=history"/>
	<updated>2026-10-07T10:46:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.4</generator>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=Node_RED_data_processing_II&amp;diff=885&amp;oldid=prev</id>
		<title>EdmondLascaris: Created page with &quot;== Overview == * This lesson will demonstrate how Node-Red can be used to process data from a sensor.  * In this lesson we will learn how to process the output from a python file using the function node in Node-RED.   == Learning Objectives == * Learn how to run a Python program using the Terminal. * Learn how to run a Python program using the Execute node in Node-RED. * Learn how to extract data using the Function node in Node-RED.  File:Screen Shot 2022-01-01 at 6.37...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=Node_RED_data_processing_II&amp;diff=885&amp;oldid=prev"/>
		<updated>2021-12-31T19:40:03Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Overview == * This lesson will demonstrate how Node-Red can be used to process data from a sensor.  * In this lesson we will learn how to process the output from a python file using the function node in Node-RED.   == Learning Objectives == * Learn how to run a Python program using the Terminal. * Learn how to run a Python program using the Execute node in Node-RED. * Learn how to extract data using the Function node in Node-RED.  File:Screen Shot 2022-01-01 at 6.37...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Overview ==&lt;br /&gt;
* This lesson will demonstrate how Node-Red can be used to process data from a sensor. &lt;br /&gt;
* In this lesson we will learn how to process the output from a python file using the function node in Node-RED. &lt;br /&gt;
&lt;br /&gt;
== Learning Objectives ==&lt;br /&gt;
* Learn how to run a Python program using the Terminal.&lt;br /&gt;
* Learn how to run a Python program using the Execute node in Node-RED.&lt;br /&gt;
* Learn how to extract data using the Function node in Node-RED.&lt;br /&gt;
&lt;br /&gt;
[[File:Screen Shot 2022-01-01 at 6.37.31 am.png]]&lt;br /&gt;
&lt;br /&gt;
== learning to process data using Node-RED ==&lt;br /&gt;
* Node-RED makes it very easy to display data using a Dashboard, but first we need to get the data we need. &lt;br /&gt;
* Luckily, we have experience retrieving data from sensors using Python. &lt;br /&gt;
* Reading and processing data using Node-RED is not very different.&lt;br /&gt;
&lt;br /&gt;
=== Open the file peter_hopper_get_data5.py ===&lt;br /&gt;
* From the main Raspberry Pi menu navigate to Programming and open '''Python3 IDLE'''.&lt;br /&gt;
* Navigate to the /home/pi/peter-hopper-t3 directory. (t3 is short for term 3).&lt;br /&gt;
* Open up the file peter_hopper_get_data5.py and review to make sure it is the same as the code below.&lt;br /&gt;
&lt;br /&gt;
[[File:Screen Shot 2022-01-01 at 6.39.11 am.png]]&lt;br /&gt;
&lt;br /&gt;
* Run the file and check that it can retrieve sensor data and send the standard output to the Python Shell.&lt;/div&gt;</summary>
		<author><name>EdmondLascaris</name></author>
	</entry>
</feed>