The slides from my workshop on Azure IoT Hubs with Raspberry Pi and Node.js at the Notts Dev Workshop - 06/02/18.
More info here:
http://bit.ly/nottsdeviothub
1. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Microsoft Azure IoT Hubs
with Raspberry Pi and
Node.js
PETE GALLAGHER
PJGCREATIONS.CO.UK
06/02/2018
2. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
About Me
Pete Gallagher
@PJGCreations
www.PJGCreations.co.uk
Pete@PJGCreations.co.uk
âą IT Consultant
âą Decades of Desktop, Web & Embedded
Software experience
âą Gadget Addict
3. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
What weâre going to be doingâŠ
ï”Basic understanding of IoT
ï”The Hardware youâll need
ï”The Software youâll need
ï”GPIO and a description of the Circuit
ï”Building Our Circuit
ï”Connecting to the Raspberry pi
4. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
What weâre going to be doingâŠ
ï”Some coding
ï”Introduction to Azureâs IoT Offering
ï”Lots more coding
ï”Message Routing and Azure Logic Apps
ï”Other cool IoT Tech from Particle and MX Chip
ï”Q&A
ï”ClosingâŠ
5. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
What is IoT?
6. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
The Connected Cow
7. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
ï” Oestrus only lasts between 12-18 hoursâŠ.
ï” Only once per 21 days
ï” Normally occurs between 10pm and 8am
ï” Traditionally detected by visual monitoring
ï” 70% Conception Rate
ï” Only 55% probability of correctly identifying oestrus
ï” Pregnancy Rate of 39%
The Connected Cow
8. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
The Connected Cow
âTo identify a cow in heat, you need to
spend at least 20-30 minutes in the stables
per day, four to five times a dayâ
9. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
The Connected Cow
âHow can this be improved with
technology?â
10. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
The Connected Cow
11. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
The Connected Cow
12th
1am
12th
9am
12th
5pm
13th
7am
13th
9am
13th
5pm
STEPS
16 hours later
Start of Oestrus Optimum for Artificial Insemination
12. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
The Connected Cow
13. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
The Hardware youâll needâŠ
Raspberry Pi B+
Upwards with
Node.js 4.0+
Some
Components
A BreadBoard Some Wires
Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
14. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
The Software youâll needâŠ
Visual Studio
Code
An SSH Client A Web Browser An Azure
Subscription
Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
> _
15. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
http://bit.ly/nottsdevvscodeVisual Studio Code
Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
http://bit.ly/nottsdevputtyAn SSH Client
Any!A Web Browser
http://bit.ly/nottsdevfreeazureAn Azure Subscription
The Software youâll needâŠ
16. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Letâs Get StartedâŠ
17. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
GPIO and the Circuit
LETâS GET HANDS ON
18. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Raspberry Pi GPIO
19. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Raspberry Pi GPIO
21. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Step 1
The Raspberry Pi
ï” This is the heart of our circuit
and will be controlling how all of
the electronics work as well as
running our code.
22. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Step 2
Grab a Breadboard
ï” This is what weâll be using to
connect all of our components
together
23. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
ï” Insert the Red LED with itâs
shortest leg to the outside of the
breadboard, and itâs longest leg
to the hole next to it.
ï” Donât worry about making it
look the same!
ï” LEDâs have a polarity and only
work one way round.
Step 3
Add the Red LED
24. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Step 4
Connect LED Ground
ï” Add a Purple Wire from the Red
LED short Leg to Pin 9 (Ground /
0v) .
ï” This is one side of the circuit to
light the Red LED.
26. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Step 6
Connect Red LED
ï” Connect an Orange Wire to the
hole on the empty side of the
Red LED Resistor to Pin 10
(Wiring Pi Pin 16)
ï” This is the control to turn our
Red LED On and Off
27. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Step 7
Add Green LED
ï” Insert the Green LED with itâs
shortest leg to the outside of the
breadboard
ï” Itâs the same column as the Red
LED
ï” Insert itâs longest leg into the
hole next to the Red LED
Resistor.
29. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Step 9
Connect Green LED
ï” Connect a Grey Wire to the hole
on the empty side of the Green
LED Resistor to Pin 11 (Wiring Pi
Pin 0)
ï” This is the Control to turn our
Green LED On and Off
30. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Step 10
Add a Button
ï” Connect the Button between the
two sides of the Breadboard
ï” It will only fit in one orientation!
ï” Donât force it!
31. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Step 11
Add Button Control
ï” Connect a White Wire from the
Right Hand Button Leg Hole to
Pin 26 (Wiring Pi Pin 11)
ï” This is one side of our Button
Circuit, and how weâre going to
sense if the Button has been
pressed.
32. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Step 12
Add Button Ground
ï” Connect a Black wire from the
Left Hand Button Leg Hole to
Pin 25 (Ground / 0v)
ï” This is the other side of our
Button Circuit.
33. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Step 13
Add the BME280
ï” This is our Temperature /
Humidity / Pressure Sensor
ï” Insert the BME with the body
overlapping the gap, and the
pins in the bottom half of the
breadboard.
34. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Step 14
Add BME280 Power
ï” Connect a Red Wire from the left
most BME280 Pin Hole to Pin 1
(3v)
ï” This supplies the power for the
Sensor.
35. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Step 15
Add BME280 Ground
ï” Connect a Brown Wire from the
Pin Hole to the right of the Red
Wire to Pin 6 (Ground / 0V)
ï” This is our 0v and part of the
power to the BME280
36. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Step 16
Add BME280 Clock
ï” Connect a Yellow Wire from the
Pin Hole to the right of the
Brown Wire to Pin 23 (Wiring Pin
14 / SCLK)
ï” This is the clock for the SPI
(Serial Peripheral Interface)
37. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Step 17
Add BME280 Serial In
ï” Connect a Grey Wire from the
Pin Hole to the right of the
Yellow Wire to Pin 19 (Wiring Pi
Pin 12 / MOSI)
ï” This is the Serial Data from the
BME280 to the Raspberry Pi
38. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Step 18
Add BME Chip Enable
ï” Connect a Green Wire from the
Pin Hole to the right of the Grey
Wire to Pin 24 (Wiring Pi Pin 10 /
CE0)
ï” This allows the Raspberry Pi to
Enable the BME280 in case there
are multiple SPI devices
connected
39. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Step 19
Add BME280 Serial Out
ï” Connect a Blue Wire from the far
right Pin Hole to the right of the
Yellow Wire to Pin 21 (Wiring Pi
Pin 13 / MISO)
ï” This is the Serial Data from the
Raspberry Pi to the BME280
40. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Connecting to the Raspberry Pi
LETS GET TOGETHER
41. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
If youâre using a MacâŠ
ï” Connect your Network cable from the Pi to your Mac
ï” Enable Internet Sharing by going to System Preferences -> Sharing
ï” Select âInternet Sharingâ on the left
ï” In âShare your connection from:â, select your Wifi connection
ï” In âTo computers using:â select âThunderbolt Ethernetâ & âThunderbolt Bridgeâ Connections
ï” Click Start On Sharing when Selecting both.
ï” Open System Preferences -> Network and Select âThunderbolt Ethernetâ
ï” From âConfigure IPv4:â, select âDHCPâ if not already selected
ï” You should see âStatus:â says âConnectedâ at the top, and below DHCP YOUR âIP Addressâ
ï” Go to âApplications -> Utilities -> Terminalâ
ï” Enter âifconfigâ and look for the Connection starting âBridgeâ
ï” Look for the line starting âinetâ and find the IP Address. e.g. 192.168.3.1
ï” Pi will be next IP Address in sequence. e.g. 192.168.3.2
ï” Enter SSH pi@192.168.3.2
ï” Accept the certificate it required
42. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Flashing Our LEDâs
TIME FOR SOME CODING!
43. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
git reset --hard origin/master
git checkout 01_flash_leds
Flashing our LEDâs
If you want to cheatâŠ
44. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Using the Config File
WE DONâT LIKE NUMBERS
45. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Using the Config File
If you want to cheatâŠ
git checkout 03_use_config
46. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Adding a Button
FLASHING IN A LOOP IS BORING
47. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Adding a Button
If you want to cheatâŠ
git checkout 04_add_button
48. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
What is the Azure IoT Hub
HUH?
49. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
What is the Azure IoT Hub?
ï” Provides Device to Cloud and Cloud to Device Messaging using a variety
of protocols including AMQP, MQTT, HTTP etc
ï” Based on Event Hubs⊠But allows for 2 way communications.
ï” Allows for MILLIONS of simultaneous connections.
ï” Stores a Registry of each IoT Device
ï” Provides âDevice Twinâ functionality for Desired and Actual Properties
ï” Device libraries available in a host of languages including .NET, JavaScript,
Node.js etc
ï” Sits on the Edge of the Cloud between the IoT Devices and the full Azure
Stack
ï” Connects to Service Bus, Event Hubs, Blob Storage, Ai etc etc
50. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
R
E
S
O
U
R
C
E
S
F
I
E
L
D
IoT and Azure
I
O
T
H
U
BIoT Hub
AZURE
51. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
What does it cost?
Edition Price Per Unit
(Per Month)
Max Number of
Devices
Total Number of
Messages
(Per Day Per Unit)
Message
Meter Size
Free Free 500 8,000 0.5KB
S1 ÂŁ37.27 Unlimited 400,000 4KB
S2 ÂŁ372.66 Unlimited 6,000,000 4KB
S3 ÂŁ3,726.55 Unlimited 300,000,000 4KB
52. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
A Real World ExampleâŠ
53. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Creating and Connecting to an Azure
IoT Hub
LETâS GET CONNECTED
54. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Configuring and Connecting to an
Azure IoT Hub
If you want to cheatâŠ
git checkout 05_connect_to_iot_hub
You need to create you security.json
{ "SharedAccessKey": "your.access.key" }
Then modify your config.json
55. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Configuring and Connecting to an
Azure IoT Hub
Youâll also needâŠ
Azure IoT Device Explorer Twin
http://bit.ly/nottsdevdevexplorer
56. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Sending a Message to the IoT Hub
HELLO FROM THE OTHER SIDE
57. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Sending a Message to the IoT Hub
If you want to cheatâŠ
git checkout 06_send_iot_hub_msg
58. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Sending a Message to the IoT HubâŠ
Using a Button
WEâRE IN CONTROL
59. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Sending a Message to the IoT HubâŠ
Using a Button
If you want to cheatâŠ
git checkout 07_send_msg_on_button
60. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Using a VS Code extension in place of
the Device Explorer (or Node!)
ALL TOGETHER NOWâŠ
61. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Receive Cloud to Device Messages
ARE YOU LISTENING TO ME?
62. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Receive Cloud to Device Messages
If you want to cheatâŠ
git checkout 08_receive_msg
63. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Invoke a Method on the Device
DO WHAT I TELL YOU TO DO!
64. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Invoke a Method on the Device
If you want to cheatâŠ
git checkout 09_invoke_method
65. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Add in the Temperature Sensor
IS IT HOT IN HERE?
66. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Add in the Temperature Sensor
If you want to cheatâŠ
git checkout 10_add_BME
67. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Routing Messages & the Service Bus
SAT NAV ENGAGED
THIS WAY
68. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
R
E
S
O
U
R
C
E
S
F
I
E
L
D
IoT and Azure
IoT plays nicely with AzureâŠ
I
O
T
H
U
B
IoT Hub
Routes
Service bus
Queue
Topics
Relay
69. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
70. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Add in the Temperature Sensor
If you want to cheatâŠ
git checkout 11_add_routes
71. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
Logic Apps
SPOCK WOULD BE HAPPY
72. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
R
E
S
O
U
R
C
E
S
F
I
E
L
D
IoT and Azure
IoT plays REALLY nicely with AzureâŠ
I
O
T
H
U
B
IoT Hub
Routes
Service bus
Queue
Topics
Relay
73. Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018Raspberry Pi + Azure IoT Hubs + Node.js â Pete Gallagher â PJG Creations - 2018
What are Logic Apps?
ï” Provides a Graphical Interface to Hook together a bunch of Apps, Services,
Workflows and functions.
ï” No code required!
ï” REALLY cheap - ÂŁ0.000019 per execution!
ï” Can hook together an almost unlimited combination of items to perform
just about any Workflow
ï” For example
ï” Twitter Timeline Sentiment Analysis - Populate Power Bi Dashboard to help
improve customer service
ï” Order Approval â Route order types to the correct people
ï” Monitor feedback forms and email the correct people