Ago control install debian wheezy

From ago control wiki
Revision as of 20:50, 1 May 2015 by Bjacobse (Talk | contribs)

Jump to: navigation, search


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:

Installation of ago control packages

Install apt key

wget -O - | apt-key add -

Add Sources

Lastest unstable development packages:

echo "deb unstable main" >> /etc/apt/sources.list

Release 1.0 candidate:

echo "deb testing main" >> /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
  • agocontrol-owfs - Device for 1-Wire Hardware
  • agocontrol-zwave - Device for Z-Wave Hardware
  • agocontrol-meloware - Device for Meloware iPhone App
  • agocontrol-alert - Device for to communicate via sms, email, tweet, push notifications
  • agocontrol-rrdtool - Device for RRDtool graphs, plot, and lists of your measuring sensors

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 System.conf file is located here:


This page lists all available sections: System.conf

add udev rules (optional)

If you have more than one USB device attached, then you need to know to exactly which usbtty0/usbtty1 etc that you device is attached. The task is to setup an alternative usbdevice like the below example uses the names /dev/usbowfs and /dev/usbzwave and /dev/usbmysensor.

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 need to know your idVendor=xxxx and idProduct=yyyy. get like below


your prompt will show Bus 001 Device 002: ID xxxx:yyyy Standard Microsystems Corp.

If you have device and need to modify the above file

sudo nano /etc/udev/rules.d/99-agocontrol.rules 

Add the mysensor alternative usbdevice. In my case xxxx=1a86 and yyyy=7523

# serial gateway
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1a86", ATTRS{idProduct} =="7523", SYMLINK+="usbmysensor", RUN+="/bin/systemctl restart agomysensors.service"

Load the new rule:

udevadm trigger

Check the new alternative usbdevice

ls -l /dev/usb* 

Or display detailed USB device info with:

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

Remember to update your conf files to use the new alternative /dev/usbzwave

sudo nano /etc/opt/agocontrol/conf.d/zwave.conf 

mysensor conf file

sudo nano /etc/opt/agocontrol/conf.d/mysensors.conf 

start / stop / autostart services

Configue service autostart This will enable all services:

/opt/agocontrol/bin/ enable

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

/opt/agocontrol/bin/ 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: Simulator

Access the admin interface

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

Personal tools