SlideShare uma empresa Scribd logo
1 de 22
OMM Solutions
TECHtalk #2
www.omm-solutions.de
26.04.2017 < OMM Solutions GmbH > 1
www.tech-talks.eu
Einmal im Monat ist TECHtalk Zeit! First come first served!
< OMM Solutions GmbH > 2
Talk: Electronic Door Opener with Node.js, Arduino
and a RPi
Speaker: David Werth
3< OMM Solutions GmbH >
Why?
• New employees
• Not enough keys (yale-type)
26.04.2017
• Rented facilities
< OMM Solutions GmbH > 4
Switch-button closes circuit
26.04.2017 < OMM Solutions GmbH > 5
Planning
26.04.2017 < OMM Solutions GmbH > 6
Hardware Setup
• Arduino Nano  8€
• Solid State Relay  7€
• Raspberry Pi  40€
26.04.2017 < OMM Solutions GmbH > 7
Node.js as REST-Server
• Express-Framework
• server.ts  71 LoC
• Receives REST-call  executes a bash-command
26.04.2017 < OMM Solutions GmbH > 8
Raspberry Pi as Server
• Install Node.js
• Create user ‘edo’
Grant GPIO-permission
• Install Homebridge
• Bash-script
Read GPIO 19  write to GPIO 26
Read GPIO 26  write to GPIO 19
• Wiring
26.04.2017 < OMM Solutions GmbH > 9
Arduino for Relay-Control
26.04.2017 < OMM Solutions GmbH > 10
Web-Interface
• Pug-Framework
html
head
title= title
script(src="jquery-
1.9.1.js")
script(src="/scripts/main.js"
)
body
block content
h1= message
button(onclick=("Main.openDoo
r()")) Open door
div(id="response")
26.04.2017 < OMM Solutions GmbH > 11
HomeKit
HomeKit != OfficeKit
26.04.2017 < OMM Solutions GmbH > 12
NFC vs. BLE or compare apples to oranges
• NFC = RFID, RFID != NFC
• Cheap
• Many controllers, libraries,
resources, tag-types
• Made for ticketing, entry
control, …
• Expensive
• Sender-receiver system
Own power supply
Phone is receiver!
26.04.2017 < OMM Solutions GmbH > 13
Conclusion
• 2 person days
• Works like a charm ;-)
26.04.2017 < OMM Solutions GmbH > 14
Limitations
• No user-management
• WiFi as only security layer
• Phone required
• Smart home integration only for
iOS
26.04.2017 < OMM Solutions GmbH > 15
Further Roadmap
• Own security layer
• Logging
• NFC/RFID
• Advanced role management
26.04.2017 < OMM Solutions GmbH > 16
EDO (in the case)
26.04.2017 < OMM Solutions GmbH > 17
EDO (open)
26.04.2017 < OMM Solutions GmbH > 18
Source code
https://github.com/ommsolutions
http://omm-solutions.de/blog/
26.04.2017 < OMM Solutions GmbH > 19
Vielen Dank für Eure Aufmerksamkeit!
20< OMM Solutions GmbH >
OMM Solutions GmbH
Vor dem Lauch 4
70567 Stuttgart
Germany
Fragen oder Interesse?
21< OMM Solutions GmbH >
Ihr persönlicher Ansprechpartner
David Werth
Software Engineer
OMM Solutions GmbH
Vor dem Lauch 4
70567 Stuttgart
Germany
dw@omm-solutions.de
+49 (0)711 75 86 46 05
22< OMM Solutions GmbH >
www.omm-solutions.de
OMM Solutions GmbH
Vor dem Lauch 4
70567 Stuttgart
Geschäftsführer
Martin Allmendinger
Malte Horstmann
Olaf Horstmann
Kontakt
Telefon: +49 711 6747 051-0
E-Mail: info@omm-solutions.de
Umsatzsteuer-ID: DE295716572
Sitz der Gesellschaft: Stuttgart
Amtsgericht Stuttgart, HRB 749562
Impressum

Mais conteúdo relacionado

Semelhante a Electronic Door Opener with Node.js, Arduino and a RPi

Tipps zur Performanceoptimierung für Liferay Portal
Tipps zur  Performanceoptimierung für Liferay PortalTipps zur  Performanceoptimierung für Liferay Portal
Tipps zur Performanceoptimierung für Liferay PortalStefan Hilpp
 
Elastic stack – A product of recent changes in IT infrastructure?
Elastic stack – A product of recent changes in IT infrastructure?Elastic stack – A product of recent changes in IT infrastructure?
Elastic stack – A product of recent changes in IT infrastructure?OMM Solutions GmbH
 
FMK2018- Anforderungen einer Standardsoftware Karsten Risseeuw
FMK2018- Anforderungen einer Standardsoftware Karsten RisseeuwFMK2018- Anforderungen einer Standardsoftware Karsten Risseeuw
FMK2018- Anforderungen einer Standardsoftware Karsten RisseeuwVerein FM Konferenz
 
FMK2018- Web direct fuer Einsteiger Alexis Gehrt
FMK2018- Web direct fuer Einsteiger Alexis GehrtFMK2018- Web direct fuer Einsteiger Alexis Gehrt
FMK2018- Web direct fuer Einsteiger Alexis GehrtVerein FM Konferenz
 
Graphing mit Graphite (Webinar vom 06.11.2013)
Graphing mit Graphite (Webinar vom 06.11.2013)Graphing mit Graphite (Webinar vom 06.11.2013)
Graphing mit Graphite (Webinar vom 06.11.2013)NETWAYS
 
IBM Sametime 9.0.1 "basic" (aka. limited use)
IBM Sametime 9.0.1 "basic" (aka. limited use)IBM Sametime 9.0.1 "basic" (aka. limited use)
IBM Sametime 9.0.1 "basic" (aka. limited use)Novakenstein
 
FMK2017 - Tools für FileMaker Entwickler by Alexis Gehrt
FMK2017 -  Tools für FileMaker Entwickler by Alexis GehrtFMK2017 -  Tools für FileMaker Entwickler by Alexis Gehrt
FMK2017 - Tools für FileMaker Entwickler by Alexis GehrtVerein FM Konferenz
 
AdminCamp2017 - ApplicationInsights
AdminCamp2017 - ApplicationInsightsAdminCamp2017 - ApplicationInsights
AdminCamp2017 - ApplicationInsightsChristoph Adler
 
DNUG Webcast: Notes/Domino 10 + News von der IBM Think 2018
DNUG Webcast: Notes/Domino 10 + News von der IBM Think 2018DNUG Webcast: Notes/Domino 10 + News von der IBM Think 2018
DNUG Webcast: Notes/Domino 10 + News von der IBM Think 2018Christoph Adler
 
OSMC 2009 | Erfahrungen bei der Migration einer kommerziellen Monitoringsuite...
OSMC 2009 | Erfahrungen bei der Migration einer kommerziellen Monitoringsuite...OSMC 2009 | Erfahrungen bei der Migration einer kommerziellen Monitoringsuite...
OSMC 2009 | Erfahrungen bei der Migration einer kommerziellen Monitoringsuite...NETWAYS
 
DNUG 2017 - ApplicationInsights
DNUG 2017 - ApplicationInsightsDNUG 2017 - ApplicationInsights
DNUG 2017 - ApplicationInsightsChristoph Adler
 
Mag. Franz Waldhofer (Raiffeisen Software)
Mag. Franz Waldhofer (Raiffeisen Software)Mag. Franz Waldhofer (Raiffeisen Software)
Mag. Franz Waldhofer (Raiffeisen Software)Praxistage
 
FMK2017 - Das FileMaker Selector-Connector Modell - Wie kann ich es sinnvoll ...
FMK2017 - Das FileMaker Selector-Connector Modell - Wie kann ich es sinnvoll ...FMK2017 - Das FileMaker Selector-Connector Modell - Wie kann ich es sinnvoll ...
FMK2017 - Das FileMaker Selector-Connector Modell - Wie kann ich es sinnvoll ...Verein FM Konferenz
 
DNUG - ApplicationInsights: So analysieren, optimieren und modernisieren Sie ...
DNUG - ApplicationInsights: So analysieren, optimieren und modernisieren Sie ...DNUG - ApplicationInsights: So analysieren, optimieren und modernisieren Sie ...
DNUG - ApplicationInsights: So analysieren, optimieren und modernisieren Sie ...panagenda
 
FMK2022 FileMaker Server unter Linux Workshop von Bernhard Schulz
FMK2022 FileMaker Server unter Linux Workshop von Bernhard SchulzFMK2022 FileMaker Server unter Linux Workshop von Bernhard Schulz
FMK2022 FileMaker Server unter Linux Workshop von Bernhard SchulzVerein FM Konferenz
 
What's new? UiPath Neuerungen 2023
What's new? UiPath Neuerungen 2023What's new? UiPath Neuerungen 2023
What's new? UiPath Neuerungen 2023FotiosKaramitsos
 
Zurück in die Zukunft - DNUG 2014 - Track 5.2
Zurück in die Zukunft - DNUG 2014 - Track 5.2Zurück in die Zukunft - DNUG 2014 - Track 5.2
Zurück in die Zukunft - DNUG 2014 - Track 5.2panagenda
 
FMK2022 FileMaker und Javascript von Adam Augustin
FMK2022 FileMaker und Javascript von Adam AugustinFMK2022 FileMaker und Javascript von Adam Augustin
FMK2022 FileMaker und Javascript von Adam AugustinVerein FM Konferenz
 
Top 10 Internet Trends 2005
Top 10 Internet Trends 2005Top 10 Internet Trends 2005
Top 10 Internet Trends 2005Jürg Stuker
 
Grundlagen puppet
Grundlagen puppetGrundlagen puppet
Grundlagen puppetinovex GmbH
 

Semelhante a Electronic Door Opener with Node.js, Arduino and a RPi (20)

Tipps zur Performanceoptimierung für Liferay Portal
Tipps zur  Performanceoptimierung für Liferay PortalTipps zur  Performanceoptimierung für Liferay Portal
Tipps zur Performanceoptimierung für Liferay Portal
 
Elastic stack – A product of recent changes in IT infrastructure?
Elastic stack – A product of recent changes in IT infrastructure?Elastic stack – A product of recent changes in IT infrastructure?
Elastic stack – A product of recent changes in IT infrastructure?
 
FMK2018- Anforderungen einer Standardsoftware Karsten Risseeuw
FMK2018- Anforderungen einer Standardsoftware Karsten RisseeuwFMK2018- Anforderungen einer Standardsoftware Karsten Risseeuw
FMK2018- Anforderungen einer Standardsoftware Karsten Risseeuw
 
FMK2018- Web direct fuer Einsteiger Alexis Gehrt
FMK2018- Web direct fuer Einsteiger Alexis GehrtFMK2018- Web direct fuer Einsteiger Alexis Gehrt
FMK2018- Web direct fuer Einsteiger Alexis Gehrt
 
Graphing mit Graphite (Webinar vom 06.11.2013)
Graphing mit Graphite (Webinar vom 06.11.2013)Graphing mit Graphite (Webinar vom 06.11.2013)
Graphing mit Graphite (Webinar vom 06.11.2013)
 
IBM Sametime 9.0.1 "basic" (aka. limited use)
IBM Sametime 9.0.1 "basic" (aka. limited use)IBM Sametime 9.0.1 "basic" (aka. limited use)
IBM Sametime 9.0.1 "basic" (aka. limited use)
 
FMK2017 - Tools für FileMaker Entwickler by Alexis Gehrt
FMK2017 -  Tools für FileMaker Entwickler by Alexis GehrtFMK2017 -  Tools für FileMaker Entwickler by Alexis Gehrt
FMK2017 - Tools für FileMaker Entwickler by Alexis Gehrt
 
AdminCamp2017 - ApplicationInsights
AdminCamp2017 - ApplicationInsightsAdminCamp2017 - ApplicationInsights
AdminCamp2017 - ApplicationInsights
 
DNUG Webcast: Notes/Domino 10 + News von der IBM Think 2018
DNUG Webcast: Notes/Domino 10 + News von der IBM Think 2018DNUG Webcast: Notes/Domino 10 + News von der IBM Think 2018
DNUG Webcast: Notes/Domino 10 + News von der IBM Think 2018
 
OSMC 2009 | Erfahrungen bei der Migration einer kommerziellen Monitoringsuite...
OSMC 2009 | Erfahrungen bei der Migration einer kommerziellen Monitoringsuite...OSMC 2009 | Erfahrungen bei der Migration einer kommerziellen Monitoringsuite...
OSMC 2009 | Erfahrungen bei der Migration einer kommerziellen Monitoringsuite...
 
DNUG 2017 - ApplicationInsights
DNUG 2017 - ApplicationInsightsDNUG 2017 - ApplicationInsights
DNUG 2017 - ApplicationInsights
 
Mag. Franz Waldhofer (Raiffeisen Software)
Mag. Franz Waldhofer (Raiffeisen Software)Mag. Franz Waldhofer (Raiffeisen Software)
Mag. Franz Waldhofer (Raiffeisen Software)
 
FMK2017 - Das FileMaker Selector-Connector Modell - Wie kann ich es sinnvoll ...
FMK2017 - Das FileMaker Selector-Connector Modell - Wie kann ich es sinnvoll ...FMK2017 - Das FileMaker Selector-Connector Modell - Wie kann ich es sinnvoll ...
FMK2017 - Das FileMaker Selector-Connector Modell - Wie kann ich es sinnvoll ...
 
DNUG - ApplicationInsights: So analysieren, optimieren und modernisieren Sie ...
DNUG - ApplicationInsights: So analysieren, optimieren und modernisieren Sie ...DNUG - ApplicationInsights: So analysieren, optimieren und modernisieren Sie ...
DNUG - ApplicationInsights: So analysieren, optimieren und modernisieren Sie ...
 
FMK2022 FileMaker Server unter Linux Workshop von Bernhard Schulz
FMK2022 FileMaker Server unter Linux Workshop von Bernhard SchulzFMK2022 FileMaker Server unter Linux Workshop von Bernhard Schulz
FMK2022 FileMaker Server unter Linux Workshop von Bernhard Schulz
 
What's new? UiPath Neuerungen 2023
What's new? UiPath Neuerungen 2023What's new? UiPath Neuerungen 2023
What's new? UiPath Neuerungen 2023
 
Zurück in die Zukunft - DNUG 2014 - Track 5.2
Zurück in die Zukunft - DNUG 2014 - Track 5.2Zurück in die Zukunft - DNUG 2014 - Track 5.2
Zurück in die Zukunft - DNUG 2014 - Track 5.2
 
FMK2022 FileMaker und Javascript von Adam Augustin
FMK2022 FileMaker und Javascript von Adam AugustinFMK2022 FileMaker und Javascript von Adam Augustin
FMK2022 FileMaker und Javascript von Adam Augustin
 
Top 10 Internet Trends 2005
Top 10 Internet Trends 2005Top 10 Internet Trends 2005
Top 10 Internet Trends 2005
 
Grundlagen puppet
Grundlagen puppetGrundlagen puppet
Grundlagen puppet
 

Mais de OMM Solutions GmbH

Mythos und Realität des Intrapreneurs - Wer ist er und welche organisatorisch...
Mythos und Realität des Intrapreneurs - Wer ist er und welche organisatorisch...Mythos und Realität des Intrapreneurs - Wer ist er und welche organisatorisch...
Mythos und Realität des Intrapreneurs - Wer ist er und welche organisatorisch...OMM Solutions GmbH
 
How everyone can program a browser to quickly automate research and analyst-t...
How everyone can program a browser to quickly automate research and analyst-t...How everyone can program a browser to quickly automate research and analyst-t...
How everyone can program a browser to quickly automate research and analyst-t...OMM Solutions GmbH
 
How we automate tasks and processes at OMM
How we automate tasks and processes at OMMHow we automate tasks and processes at OMM
How we automate tasks and processes at OMMOMM Solutions GmbH
 
The possibilities of information that can be extracted from seemingly simpel ...
The possibilities of information that can be extracted from seemingly simpel ...The possibilities of information that can be extracted from seemingly simpel ...
The possibilities of information that can be extracted from seemingly simpel ...OMM Solutions GmbH
 
How AI will affect individuals
How AI will affect individualsHow AI will affect individuals
How AI will affect individualsOMM Solutions GmbH
 
Quantum computing - the next big thing
Quantum computing - the next big thingQuantum computing - the next big thing
Quantum computing - the next big thingOMM Solutions GmbH
 
How AI will affect individuals
How AI will affect individuals How AI will affect individuals
How AI will affect individuals OMM Solutions GmbH
 
Industry ready software ecosystems how to attract software development part...
Industry ready software ecosystems   how to attract software development part...Industry ready software ecosystems   how to attract software development part...
Industry ready software ecosystems how to attract software development part...OMM Solutions GmbH
 
Wie Edtech das Lernen der Zukunft verändert
Wie Edtech das Lernen der Zukunft verändertWie Edtech das Lernen der Zukunft verändert
Wie Edtech das Lernen der Zukunft verändertOMM Solutions GmbH
 
How AI will effect individuals
How AI will effect individualsHow AI will effect individuals
How AI will effect individualsOMM Solutions GmbH
 
Agile Software Development – Why all the fuzz?
Agile Software Development – Why all the fuzz?Agile Software Development – Why all the fuzz?
Agile Software Development – Why all the fuzz?OMM Solutions GmbH
 
The state of AI & ML Hype or potential – what‘s possible, how the future will...
The state of AI & ML Hype or potential – what‘s possible, how the future will...The state of AI & ML Hype or potential – what‘s possible, how the future will...
The state of AI & ML Hype or potential – what‘s possible, how the future will...OMM Solutions GmbH
 
Scaling Blockchain Transaction Are 1000000 Transactions / second really possi...
Scaling Blockchain Transaction Are 1000000 Transactions / second really possi...Scaling Blockchain Transaction Are 1000000 Transactions / second really possi...
Scaling Blockchain Transaction Are 1000000 Transactions / second really possi...OMM Solutions GmbH
 
Nutzerzentrierte Prozesse und Methoden im Überblick - Mit Design Thinking, Cu...
Nutzerzentrierte Prozesse und Methoden im Überblick - Mit Design Thinking, Cu...Nutzerzentrierte Prozesse und Methoden im Überblick - Mit Design Thinking, Cu...
Nutzerzentrierte Prozesse und Methoden im Überblick - Mit Design Thinking, Cu...OMM Solutions GmbH
 
Hello, Bot! - When AI starts communicating
Hello, Bot! - When AI starts communicatingHello, Bot! - When AI starts communicating
Hello, Bot! - When AI starts communicatingOMM Solutions GmbH
 
Digitale Plattformen als neues Geschäftsmodell für alle und jeden?
Digitale Plattformen als neues Geschäftsmodell für alle und jeden? Digitale Plattformen als neues Geschäftsmodell für alle und jeden?
Digitale Plattformen als neues Geschäftsmodell für alle und jeden? OMM Solutions GmbH
 

Mais de OMM Solutions GmbH (20)

Growth Hacking
Growth HackingGrowth Hacking
Growth Hacking
 
IoT-Home fails
IoT-Home failsIoT-Home fails
IoT-Home fails
 
Mythos und Realität des Intrapreneurs - Wer ist er und welche organisatorisch...
Mythos und Realität des Intrapreneurs - Wer ist er und welche organisatorisch...Mythos und Realität des Intrapreneurs - Wer ist er und welche organisatorisch...
Mythos und Realität des Intrapreneurs - Wer ist er und welche organisatorisch...
 
How everyone can program a browser to quickly automate research and analyst-t...
How everyone can program a browser to quickly automate research and analyst-t...How everyone can program a browser to quickly automate research and analyst-t...
How everyone can program a browser to quickly automate research and analyst-t...
 
How we automate tasks and processes at OMM
How we automate tasks and processes at OMMHow we automate tasks and processes at OMM
How we automate tasks and processes at OMM
 
The possibilities of information that can be extracted from seemingly simpel ...
The possibilities of information that can be extracted from seemingly simpel ...The possibilities of information that can be extracted from seemingly simpel ...
The possibilities of information that can be extracted from seemingly simpel ...
 
How AI will affect individuals
How AI will affect individualsHow AI will affect individuals
How AI will affect individuals
 
The future of society with AI
The future of society with AIThe future of society with AI
The future of society with AI
 
Quantum computing - the next big thing
Quantum computing - the next big thingQuantum computing - the next big thing
Quantum computing - the next big thing
 
How AI will affect individuals
How AI will affect individuals How AI will affect individuals
How AI will affect individuals
 
Industry ready software ecosystems how to attract software development part...
Industry ready software ecosystems   how to attract software development part...Industry ready software ecosystems   how to attract software development part...
Industry ready software ecosystems how to attract software development part...
 
Wie Edtech das Lernen der Zukunft verändert
Wie Edtech das Lernen der Zukunft verändertWie Edtech das Lernen der Zukunft verändert
Wie Edtech das Lernen der Zukunft verändert
 
How AI will effect individuals
How AI will effect individualsHow AI will effect individuals
How AI will effect individuals
 
Agile Software Development – Why all the fuzz?
Agile Software Development – Why all the fuzz?Agile Software Development – Why all the fuzz?
Agile Software Development – Why all the fuzz?
 
The state of AI & ML Hype or potential – what‘s possible, how the future will...
The state of AI & ML Hype or potential – what‘s possible, how the future will...The state of AI & ML Hype or potential – what‘s possible, how the future will...
The state of AI & ML Hype or potential – what‘s possible, how the future will...
 
Scaling Blockchain Transaction Are 1000000 Transactions / second really possi...
Scaling Blockchain Transaction Are 1000000 Transactions / second really possi...Scaling Blockchain Transaction Are 1000000 Transactions / second really possi...
Scaling Blockchain Transaction Are 1000000 Transactions / second really possi...
 
Passwörter lang oder kurz?
Passwörter lang oder kurz?Passwörter lang oder kurz?
Passwörter lang oder kurz?
 
Nutzerzentrierte Prozesse und Methoden im Überblick - Mit Design Thinking, Cu...
Nutzerzentrierte Prozesse und Methoden im Überblick - Mit Design Thinking, Cu...Nutzerzentrierte Prozesse und Methoden im Überblick - Mit Design Thinking, Cu...
Nutzerzentrierte Prozesse und Methoden im Überblick - Mit Design Thinking, Cu...
 
Hello, Bot! - When AI starts communicating
Hello, Bot! - When AI starts communicatingHello, Bot! - When AI starts communicating
Hello, Bot! - When AI starts communicating
 
Digitale Plattformen als neues Geschäftsmodell für alle und jeden?
Digitale Plattformen als neues Geschäftsmodell für alle und jeden? Digitale Plattformen als neues Geschäftsmodell für alle und jeden?
Digitale Plattformen als neues Geschäftsmodell für alle und jeden?
 

Electronic Door Opener with Node.js, Arduino and a RPi

Notas do Editor

  1. Schloss nicht einfach austauschbar Wäre eh zu teuer
  2. Node muss nur Bash ausführen
  3. Solid State Relay = Halbleiter-Relais ohne bewegte Teile, sind daher sehr langlebig Warum Arduino??  Wird später erklärt
  4. Muss nur Bash ausführen
  5. Rpi hat nach booten alle ports auf HIGH  Türe würde aufgehen DoS Rpi = Dev-Board Arduino Code  Werte unterschiedlich UND anders von letztem Check  öffne Türe für 750ms Rpi 3V, Arduino 5V  Richtung 3  5 kein problem Serial-Connection Problematisch Delay durch öffnen und schließen Handle connection loss,…
  6. - Homebridge  Lightweight Node.JS Server that emulates the iIOS HomeKit API - SimpleHttpSwitch Plugin Basic User-Mgmt Pairing  Only Admin  Invite No logging who invoked action via Homekit Works with Siri!
  7. NFC is a subset of RFID. That means NFC is RFID but with a specific frequency Needs another Rpi (Rpi zero?!)
  8. Abschließen mit normalem Schlüssel
  9. door can be opened only during the week from e.g. 07:00 am till 07:00 pm