Smart Home Control - Introduction
The Smart Home control application demonstrate the capabilities of QtQuick. QtQuick is a smart and
quick solution to make a platform independent application just with some basic knowledge of scripting languages
as JavaScript. QtQuick combines the huge capabilities of the Qt framework with the straightforwardness of
a scripting language. So QtQuick is really the best of both worlds. QtQuick serves a multi-purpose
state system, versatile animations and smooth transitions out-of-the-box. Hence QtQuick is the best way to
create next generation user interfaces. A new standard is born, you should participate...
Additionally you can easily integrate C++ or JavaScript elements into your QtQuick projects if you like.
Back to the Smart Home application.
The intention of this application is to realize a smart home control application with QtQuick.
You can adjust when the windows have to close/open, heating has to be turned on/off, blinds have to go up/down
and also when the lights have to be turned on/off. Consequently these settings are made depending on the weather conditions.
Therefore the current weather conditions are illustrated in the main screen.
The nicest thing is that you can adjust the weather as you like in the "weather god control" mode.
This project uses nested JavaScript function for all logic parts in their QML-Files.
Additionally a C++ plugin provides a smooth SVG image element.
Despite the default Image element the new SVG image element provides dynamic SVG features.
Furthermore the C++ plugin provides a convenience class for date and time.
Besides this tons of animations, transitions and states are integrated to get
fluid and smooth conrol flow.
Just take a look into this project presented by basysKom and Nokia.
To start the Smart Home Control change directory where you unpacked the code and type the following commands in the console:
qmake
make
qmlviewer smarthome.qml
Figure 1: This image shows a screen shot of the main screen
Figure 2: This image shows a screen shot of the light settings
Figure 3: This image shows a screen shot of the weather god control mode