Building a conference attendee tracking system using DNN and MQTT

Slides:



Advertisements
Similar presentations
Eclipse, M2M and the Internet of Things
Advertisements

Eclipse, M2M and the Internet of Things
Bill Chesnut Microsoft BizTalk Virtual Technical Specialist BizTalk Server MVP Principal Consultant for Mexia
MESSAGE QUEUE TELEMETRY TRANSPORT PROTOCOL(MQTT) AND IT’S REAL WORLD APPLICATIONs MRIDUL SEN COMPUTER SCIENCE DEPARTMENT OLD DOMINION UNIVERSITY.
BEYOND SMARTPHONES WITH RASPBERRY PI BY - ASHISH KSHIRSAGAR.
Introduction to push technology © 2009 Research In Motion Limited.
Getting Started with WCF Windows Communication Foundation 4.0 Development Chapter 1.
© 2006 IBM Corporation SOA on your terms and our expertise Software Overview IBM WebSphere Message Broker Extender for TIBCO RV.
Home Automation Console Publish/Subscribe Server for interoperability and reduction of complexity at end devices.
STOMP 1.2 GETTING THE MESSAGE ACROSS: REBOOTED. BRIEF INTRODUCTION Julian Lyndon-Smith, IT Director dot.r limited Progress developer since v3, 1987 Living.
Web services: Why and How OOPSLA 2001 F. Curbera, W.Nagy, S.Weerawarana Nclab, Jungsook Kim.
05/10/20151 MQTT Contribution. 05/10/20152 What is being contributed ■ MQTT was co-invented by IBM and Arcom Systems over 13 years ago. ■ The current.
Web Services & WCF ~ Ankit. Web services A web service is a collection of protocols and standards used for exchanging data between applications or systems.
AMQP, Message Broker Babu Ram Dawadi. overview Why MOM architecture? Messaging broker like RabbitMQ in brief RabbitMQ AMQP – What is it ?
ZEROMQ: CHAPTER 8 A FRAMEWORK FOR DISTRIBUTED COMPUTING.
R Some of these slides are from Prof Frank Lin SJSU. r Minor modifications are made. 1.
SEPTEMBER 8, 2015 Computer Hardware 1-1. HARDWARE TERMS CPU — Central Processing Unit RAM — Random-Access Memory  “random-access” means the CPU can read.
Tango - Icalepcs 2009 ESRF. E Taurel - Icalepcs TANGO kernel status and evolution Brief introduction What's new since Icalepcs 2007 New projects.
Mary Ganesan and Lora Strother Campus Tours Using a Mobile Device.
Using ZeroMQ for GEP. 2 About ZeroMQ The “zero” in ZeroMQZeroMQ  Zero Broker  Zero Latency (Low Latency)  Zero Administration  Zero Cost – Cross Platform.
The Internet of Things ... Babel
Publish subscribe for IoT
Chapter 7: Using Windows Servers
Developing IoT endpoints with mbed Client
James Robertson 17th April 2014 #Scotrug
Internet of Things (Part 1)
Student: Taariq Ghansar Supervisor: Prof Bagula
Discussion on DDS protocol binding
IoT Integration Patterns, REST, and CoAP
SCALE: The Safe Community Awareness and Alerting Network
Home Automation ECE 492 Tarek Kaddoura & Jigar Nahar.
A quick intro to networking
Emerging Technologies and It's Use
Cloud Architecture Internet of Everything Meetup
What is Atlas ? ATLAS is the name of the project that encompasses a range of IOT technologies into outcomes for the Bureau ATLAS is a completely new data.
MQTT – Accessing MQ from anywhere
Most popular IoT Devices (hardware)
Outline Basics of network security Definitions Sample attacks
connectivity | autonomous | electrification | architecture
Software Architecture in Practice
connectivity | autonomous | electrification | architecture
#01 Client/Server Computing
The Internet of Things (IoT)
Class 3: Implementing Network Connectivity 2
Internet of Things (IoT)
Topic 5: Communication and the Internet
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Emitter: Scalable, fast and secure pub/sub in Go
Sensor platforms for smart university project
Eat-out, put-together or cook
Building an Internet of Things Device
Student: Taariq Ghansar Supervisor: Prof. Antoine Bagula
Enter the World of Industry 4.0 with UniStream MQTT
Transport Protocols An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Distributed Data Collection
Internet Protocols IP: Internet Protocol
Message Queuing.
Message Queuing Telemetry Transport (Internet of Things)
Message Queuing Telemetry Transport Lightweight Messaging for IoT
Standards, APIs, and Applications
New Tools In Education Minjun Wang
Computer Networks Protocols
Outline Basics of network security Definitions Sample attacks
Part II Application Layer.
#01 Client/Server Computing
Network Basics and Architectures Neil Tang 09/05/2008
HydroTel/iLink/WebServices Overview
IoT Security and Privacy
Presentation transcript:

Building a conference attendee tracking system using DNN and MQTT Peter Donker DNN Connect 2017

First attempt at this using: Last Year First attempt at this using: Raspberry Pi HD44780 Display RFID Cards and Scanner Mono WebAPI calls to server

Quite a few reliability issues Last Year Quite a few reliability issues IoT app ran as console app Network was not reliable

Console App Because the card reader was a “USB keyboard” Cannot read keyboard in a background process So look for a reader that is not a keyboard

First Snag Could only find “good” code in Python/C for the RC522 chip In general: Python is the most ubiquitous for IoT code, then C Subsequently it is *very* hard to do dotnetcore dev for IoT

The old cards didn’t “work” Many different RFID standards (?!?) Another small snag ;-) The old cards didn’t “work” Many different RFID standards (?!?) 2016: low frequency EM4100 cards 2017: MiFare cards

Second challenge: network reliability We have to assume the network is not always up http web api calls (can be) relatively “demanding” Most common protocol used in these situations: MQTT

MQTT Message Queue Telemetry Transport Traces back to IBM in the 90’s. First standard in 1999. Focus on: limited bandwidth, reliability, simplicity TCP – Ports 1883 or 8883 (SSL) Widespread support

Follows so-called Pub-Sub pattern Message: MQTT Follows so-called Pub-Sub pattern Message: Topic (forward slash separated list) Message (agnostic what it is) QoS (0,1,2) Clients publish and subscribe to topics Everything runs through the “Broker” (i.e. the MQTT server) which does the dispatching of messages

MQTT From https://www.slideshare.net/BryanBoyd/mqtt-austin-api

MQTT From https://www.slideshare.net/BryanBoyd/mqtt-austin-api

MQTT Header size up to 2-4 bytes (pub), for HTTP: 100-1000 bytes Keep alive ping of 2 bytes Client libraries are typically small and available in many languages Simple to implement Easy to find commercially available brokers Reliable …

MQTT From https://www.slideshare.net/BryanBoyd/mqtt-austin-api

MQTT Gotchas: Security is on connection level, not topic level If you wish to have QoS > 0 then client must be able to reliably store queued messages

2017 Conference Tracking System Design Raspberry Pi Zero W Satellite 1 DNN Connect Server MQTT Conference Site (DNN) Satellite 2 Broker MQTT Satellite 3

2017 Conference Tracking System Design RFID DETECTOR Node Red Python http DNN Memory MQTT Broker DISPLAY

Demo time

Where one day DNN would incorporate a MQTT broker so I have a dream Where one day DNN would incorporate a MQTT broker so We can have devices and modules on par We can achieve a new level of extensibility Obstacles Use of non http protocol means it falls outside of IIS scope MQTT is per host – you’d need to solve multiple sites/portals