Leanpub Header

Skip to main content

Smarthome DIY

Überwachen und steuern Sie Ihr Haus mit Raspberry Pi, ioBroker und selbst programmierten WebApps.

Dieses Buch führt Sie Schritt für Schritt durch den Aufbau eines Heimautomationssystems. Sie lernen den Kleinstcomputer Raspberry Pi kennen, und nutzen darauf Technologien wie JavaScript, NodeJS, ioBroker und andere, um Hardware von HomeMatic, Philips, Osram, und, last but not least, selbst gemachte Sensoren und Aktoren zu steuern.

The author is letting you choose the price you pay for this book!

Pick Your Price...
PDF
EPUB
WEB
388
Pages
About

About

About the Book

Es gibt viele Bücher, mit denen Sie eine Programmiersprache, ein Framework oder ein Stück Hardware eingehend kennen lernen können. Wenn Sie aber so sind, wie ich, dann wollen Sie gern mit einem "echten" Projekt sofort loslegen, und die dazu benötigten Technologien nur so weit lernen, wie es eben nötig ist - weiteres Wissen kann man sich ja später aneignen. Wenn Sie so denken, dann ist dieses Buch für Sie. Es führt Sie in die Entwicklung eines Heimautomationssystems auf Basis von JavaScript und Aurelia, dessen Steuerungszentrale auf einem Raspberry Pi Kleinstcomputer läuft, und das verschiedenste Heimautomationssysteme verschiedener Hersteller zur Zusammenarbeit bringt.

Sie werden ioBroker kennen lernen, NodeJS, Aurelia, D3JS, nebst dem Raspberry Pi werden wir auch kurz den Arduino und den ESP8266 Mikrocontroller streifen, und sehen, wie man selber IoT-Komponenten herstellen kann.

Am Ende werden Sie ein breites Wissen über die Grundkonzepte von Heimautomationssystemen haben, das Ihnen hilft, "Ihr" System zu wählen, zu gestalten und soweit möglich auch selber zu erstellen und zu programmieren.

Diese zweite Auflage zeigt die aktuellen Versionen von ioBroker und Aurelia.

Price

Pick Your Price...

Minimum price

$12.50

$19.50

You pay

$19.50

Author earns

$12.48

Cause gets

$3.12
$

All prices are in US $. You can pay in US $ or in your local currency when you check out.

EU customers: prices exclude VAT, which is added during checkout.

...Or Buy With Credits!

Number of credits (Minimum 1)

1
The author will earn $12.00 from your purchase!
You can get credits monthly with a Reader Membership

Author

About the Author

Roger Inigo

Contents

Table of Contents

Vorwort zur 2. Auflage

Einleitung

  1. Für wen ist dieses Buch?
  2. Was Sie benötigen
  3. Schutzmarken und Copyrights
  4. Titelbild

Kapitel 1: Ein wenig Theorie

  1. Was meinen wir überhaupt?
  2. Back-End und Front-End
  3. Der Raspberry Pi
  4. Odroid N2
  5. ioBroker
  6. Netzwerkprotokolle: Bonjour, Zeroconf, Avahi & Co.
  7. Kommunikationsprotokolle
  8. JavaScript, JSON, TypeScript und NodeJS
  9. Entwicklungsumgebungen
  10. Gedanken zur Sicherheit
  11. Heimautomations-Hardware
  12. Andere Heimautomationssysteme

Kapitel 2: Hardware einrichten

  1. Einkaufsliste
  2. Installation
  3. Smarthome-Komponenten einrichten und an ioBroker anbinden

Kapitel 3: IoBroker Scripting

  1. Einrichtung des Script-Hosts
  2. Einfache Skripte
  3. Skripte sichern
  4. Benutzeroberfläche erstellen
  5. Datenspeicherung

Kapitel 4: Stand-alone Front-End

  1. Vorbereitungen
  2. Verzeichnisstruktur eines Aurelia Projekts
  3. Quellcode checkout
  4. Automatisches Testen
  5. Teil 1: Fetch-Service und erste Test-Module
  6. Teil 2: Eine erste Komponente
  7. Teil 3: DoubleGauge
  8. Teil 4: Druckknopf
  9. Teil 5: Tri-State Button
  10. Teil 6: Lineare Anzeigegeräte
  11. Teil 8: Deployment
  12. Teil 9: Routing und Menu
  13. Teil 10: “Zum Home-Bildschirm”

Kapitel 5: Einen ioBroker Adapter selber bauen

  1. Entwicklungsumgebung einrichten
  2. Starthilfe mit dem Template

Kapitel 6: Bastelstunde

  1. Grundätzliches und was man zum Basteln braucht
  2. Barometer
  3. Motor
  4. Elektroboiler mechanisch steuern
  5. Garagentor steuern

Anhang

  1. Begleitsoftware
  2. Image brennen
  3. Verbindungsmöglichkeiten für den ersten Start
  4. Die SSH Shell
  5. NodeJS installieren
  6. Einige nützliche Befehle um NodeJS und NPM
  7. ioBroker installieren
  8. ioBroker in einem Docker-Container installieren
  9. Adresse eines Geräts im Netz herausfinden
  10. Karma Testrunner zum Laufen bringen
  11. Remote Debugging auf dem Raspberry Pi
  12. SMS
  13. XML API auf CCU2 installieren
  14. Osram Lightify Lampen zurücksetzen
  15. SSH mit Schlüsselpaar und von ausserhalb

Index

Bibliographie

Schluss

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

Causes

Causes Supported

Free Software Foundation

Free Software Foundation FSF

http://www.fsf.org
The Free Software Foundation (FSF) is a nonprofit with a worldwide mission to promote computer user freedom. We defend the rights of all software users.
As our society grows more dependent on computers, the software we run is of critical importance to securing the future of a free society. Free software is about having control over the technology we use in our homes, schools and businesses, where computers work for our individual and communal benefit, not for proprietary software companies or governments who might seek to restrict and monitor us.

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub