Ago control install debian wheezy

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
(Access the NEW JS ADMIN interface)
(Access the NEW JS ADMIN interface)
Line 78: Line 78:
 
You can see some console output if you play with the devices in ago's web interface.  
 
You can see some console output if you play with the devices in ago's web interface.  
  
=== Access the '''NEW JS ADMIN'''  interface ===
+
=== Access the admin interface ===
 
http://127.0.0.1:8008/
 
http://127.0.0.1:8008/
  
 
'''Hint:''' You may change "127.0.0.1" to your hostname or ip-address.
 
'''Hint:''' You may change "127.0.0.1" to your hostname or ip-address.

Revision as of 21:05, 8 September 2013

Contents

ago control Install Debian Wheezy

Please mind that you should set up ago control on a development system before you install it on any productive system and that we use systemd for smooth process handling. You can download Debian Wheezy here: http://www.debian.org/devel/debian-installer/

Installation of ago control packages

Add Sources

echo "deb http://mirror.at.agocontrol.com/deb unstable/all/
deb http://mirror.at.agocontrol.com/deb unstable/\$(ARCH)/" >> /etc/apt/sources.list

Install ago control

apt-get update
apt-get install agocontrol

Optional packages for hardware and extra feature support:

  • agocontrol-cloud - ago Cloud automation system suport on cloud.agocontrol.com
  • agocontrol-owfs - Device for 1-Wire Hardware
  • agocontrol-zwave - Device for Z-Wave Hardware
  • agocontrol-meloware - Device for Meloware iPhone App

HINT: Systemd Startup Script Support - If you want the ago control services to be started automatically we strongly recommend to install this:

apt-get install systemd systemd-sysv

IMPORTANT: After installing systemd you should reboot your system


Configuring qpidd at installation dialog

Please enter the password for the Qpid daemon administrator. Administrator password:

type any password you want

You need to restart qpid as the agocontrol package changes the ACL configuration.

edit config file (optional)

The config.ini file is located here:

/etc/opt/agocontrol/config.ini

This page lists all available sections: config.ini

add udev rules (optional)

echo '# OWFS 1 Wire USB Adapter LinkUSBi
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct} =="6001", SYMLINK+="usbowfs", RUN+="/bin/systemctl restart agoowfs.service"

# Vera Z-Wave USB Stick - Cygnal Integrated Products, Inc.
SUBSYSTEMS=="usb", ATTRS{idVendor}=="10c4", ATTRS{idProduct} =="ea60", SYMLINK+="usbzwave", RUN+="/bin/systemctl restart agozwave.service"'> /etc/udev/rules.d/99-agocontrol.rules

You can test the rules via:

udevadm trigger

Or display detailed USB device info with:

udevadm info --query=all --attribute-walk --name=/dev/ttyUSB0

start / stop / autostart services

Configue service autostart This will enable all services:

/opt/agocontrol/bin/agoctrl.sh enable

You can also use "systemctl enable <service>" to manually enable specific services. ""Start components"" This will start all installed components:

/opt/agocontrol/bin/agoctrl.sh start

Final steps

If you do not have additional hardware like Z-Wave or 1-Wire you can start the ago simulator to simulate some devices. You need to check it out from SVN.

apt-get install subversion
cd /usr/src
svn co http://svn.agocontrol.com/svn/ agocontrol

Start the simulator:

python /usr/src/agocontrol/agocontrol/devices/agosimulator.py

You can see some console output if you play with the devices in ago's web interface.

Access the admin interface

http://127.0.0.1:8008/

Hint: You may change "127.0.0.1" to your hostname or ip-address.

Personal tools