Table of Content

Disclaimer

1 Read Me

1.1 Who is this Book for?

1.2 What You Will NOT Find

1.3 Take no Risks

1.4 Formatting Rules

2 The Big Picture

2.1 Smart Buildings and the Internet of Things (IoT)

2.2 The Potential for Energy Conservation

2.3 Safety Management and Assistive Domotics

2.4 Changing the World (a bit) to the Better

2.5 Bibliography

3 Key Concepts

3.1 Devices under Control

3.2 Sensors and Actuators

3.3 Control Networks

3.3.1 Power Line Communication

3.3.2 Wireless Communication

3.3.3 Wire Line Building Automation

3.3.4 Control Networks: Summary

3.4 Controller

3.5 Remote Control Devices

3.6 Market Trends

3.7. Smart Homes for the Masses: Google, Apple, Samsung and more …

3.8 A Future Proof Smart Home Architecture

3.9 Where do we go from here?

3.10 Bibliography

4 The Project

4.1 Overview

4.2 Equipment and Prerequisites

5 The Home Control Centre: Open Remote

5.1 OpenRemote Overview

5.2 OpenRemote Controller Installation

5.3 Java Installation and Configuration under Mac OS X

5.4 Java Installation and Configuration under Windows

5.5 First Synchronization between Designer and Controller[…]”

5.6 OpenRemote Professional Designer

5.7 The “Hello World” App

6 A Pretty Smart Sensor: Internet Weather

6.1 OpenRemote Control via HTTP: Retrieving Internet Weather Data

6.2 Designing the App Layout

6.3 Bibliography

7 Integration of Multimedia: iTunes Remote

7.1 Scripting Basics: Shell what?

7.2 Testing it Right – Best Practice for Script Writing

7.3 Script Based iTunes Control in OS X

7.4 Script Based MediaPlayer Control (Windows 10)

7.5 Script Based iTunes Control (Windows 10)

7.6 Smartphone Remote for iTunes

7.7 Talk to Me

8 A Little AI: Drools Rules

8.1 Wake me up Early if it Rains: iAlarm

8.2 Maintaining State Information

9 More iDevices

9.1 Denon / Marantz Audio System Control

9.2 Device Control Using Z-Wave ”

9.3 Bibliography

10 Smartphone Based Presence Detection

10.1 Building a DHCP – MAC Address Monitor Function

10.2 Creating a Shell Script for Presence Detection

10.3 The Presence Detection Script under OS X / Linux

10.4 The Presence Detection Script under Windows 7/8 and 10

10.5 Controlling Presence Detection via Smartphone

11 Industry Grade Home Infrastructure Control: KNX

11.1 What is KNX?

11.2 How does KNX Work?

11.3 The KNX Software Infrastructure: ETS

11.4 Which Operating Systems does ETS Support?

11.5 ETS on a Mac

11.6 Other KNX.org Software Tools

11.7 ETS5 Installation

11.8 Importing Vendor Catalogs

11.9 ETS5 Infrastructure Configuration

11.10 ETS5: Adding the Building Infrastructure

11.11 ETS5: Configuring the KNX Elements

11.12 ETS5: Connecting Infrastructure to Controls

11.13 Notes on Configuring KNX Devices

12 KNX Control via OpenRemote Designer

12.1 Background Pictures for the Smartphone and Tablet App

12.2 Configuring KNX Based Heating Mode Control

12.3 Smartphone Based Heating Control

12.4 Drools Based Heating Automation

13 Remote Smarthome Control

14 Cold Start: Launch Automation

14.1 Windows 10 Task Scheduler

14.2 OS X launchd

15 Troubleshooting and Testing

16 We proudly Present: Reporting

16.1 A Drools Reporting Rule

17 Bibliography