HomeAutomation
application
HomeAutomation
application from the command line: J14
) serial console to your computer
115200, 8bit, no parity, 1 stop bit, no hw flow control
root
without password
HomeAutomation
command line syntax is:
# /opt/HomeAutomation -transitions=<value> -sensitivity=<value>To get an instantaneous screen transition you have just to set transition to zero:
# /opt/HomeAutomation -transitions=0 -sensitivity=2
Application Launcher
to start HomeAutomation
with your preferred values:HomeAutomation
is run by shell script /opt/HomeAutomation/resources/HomeAutomation.sh
To modify default values you have just to edit this file with the vi
editor that is available in the embedded Linux environment:
# vi /opt/HomeAutomation/resources/HomeAutomation.shModify it to add the command line parameters according to your needs:
!/bin/sh cd "$(dirname "$0")/.." ./HomeAutomation -transitions=0 -sensitivity=2
Home Automation
main menu is managed by the Application Launcher
. You can easily customize this graphical menu by simply editing XML files. Background, number of applications presented, application icons and applications started can be modified using a text editor without re-compiling anything.
The Application Launcher
is located under the /opt/ApplicationLauncher/
folder:
bin qml resourcesThe
bin
directory contains the main QT application which is called ApplicationLauncher
. This application is launched by its associated script ApplicationLauncher.sh
./etc/init.d/qtdemo
that follows the classical SystemV init procedure.
Here are some entry points to customize some aspects of the Application Launcher
:Page.qml
file located under /opt/ApplicationLauncher/qml/ApplicationLauncher
folder.
Image {
anchors.fill: parent
smooth: false
source: "../../resources/background.jpg"
clip: true
}
applications_list.xml
file located under /opt/ApplicationLauncher/resources
folder.<entry>
in the .xml file adds a new application button.
applications_list.xml
file located under /opt/ApplicationLauncher/resources
folder can be modified to change <title>
, <link>
and <path>
properties. These modifications allow you to run the desired application, by clicking a different button image.
ApplicationLauncher
after any change:
# /etc/init.d/qtdemo stop # /etc/init.d/qtdemo startHere is an
<entry>
of the applications_list.xml
file:
<entry> <title>Home Automation</title> <link rel="alternate" type="text/html" href="../../resources/applications/resources/home-automation.png"/> <id>tag:atmel.com,2005:/app/8144940683</id> <published>2012-11-01T15:45:05Z</published> <updated>2012-11-01T15:45:05Z</updated> <author>Unknown</author> <path exec="/opt/HomeAutomation/resources/HomeAutomation.sh" /> <arg></arg> <description>Test Description</description> <link rel="enclosure" type="image/png" href="../../resources/applications/resources/home-automation.png" /> </entry>
|
||||||||||||||||||||||||||||||||||||
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
Microchip and others, are registered trademarks or trademarks of Microchip Technology Inc. and its subsidiaries.
Arm® and others are registered trademarks or trademarks of Arm Limited (or its affiliates). Other terms and product names may be trademarks of others.
Ideas, requests, contributions ? Connect to LinksToCommunities page.