Ago control install debian wheezy

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
(start / stop / autostart services)
(start / stop / autostart services)
Line 72: Line 72:
 
* agoowfs.service  
 
* agoowfs.service  
 
* agozwave.service
 
* agozwave.service
 
start services
 
systemctl start agoresolver.service
 
 
stop services
 
systemctl stop agoresolver.service
 
 
restart services
 
systemctl restart agoresolver.service
 
 
enable autostart services
 
systemctl enable agoresolver.service
 
 
check if service is enabled
 
systemctl is-enabled agoresolver.service
 
 
list all systemd services with status
 
systemctl list-units
 

Revision as of 21:28, 15 November 2012

Contents

ago control Install Debian Wheezy

Please mind we use systemd.

Installation of ago control packages

Add Sources

echo "deb http://mirror.at.agocontrol.com/debian wheezy main" >> /etc/apt/sources.list

Install ago control

apt-get update
apt-get install agocontrol agocontrol-admin

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


Configuring qpidd at installation dialog

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

type any password you want

edit config file (optional)

The config file is located here:

/etc/opt/agocontrol/config.ini

If you want to use udev rules for devices change devices to this:

[zwave]
device=/dev/usbzwave

[owfs]
device=/dev/usbowfs

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.rule

start / stop / autostart services

Enable autostart for services at boot up Configue service autostart

systemctl enable agoresolver.service
systemctl enable agoadmin.service
systemctl enable agotimer.service
systemctl enable agoscenario.service
systemctl enable agoevent.service

Optional Devices

systemctl enable agozwave.service
systemctl enable agoowfs.service

Please mind to reboot for testing

reboot

available possible services

  • agoresolver.service
  • agotimer.service
  • agoscenario.service
  • agoevent.service
  • agoowfs.service
  • agozwave.service
Personal tools