Readme1st

From ago control wiki
Revision as of 22:50, 24 October 2012 by Jaeger (Talk | contribs)

Jump to: navigation, search

Contents

Readme First

Describes the basic function and design of agocontrol. Core of the System is the AMQP broker. The broker has two topics ago.events and ago.commands. The resolver is the brain of the system and knows everything about the system. The resolver stores information like devices and rooms which he got from agoadmin or plugins.

Core Modules

  • qpid / AMQP broker - enterprise messaging system
  • agoresolver - service and name resolver for the AMQP based automation control
  • agoadmin - webinterface for basic control and setup
  • agocloud - cloud connector - interconnect the local AMQP automation system with the agocontrol.com cloud

Plugins

  • agozwave - control Z-Wave devices
  • agoowfs - control 1-Wire devices
  • agologger - logs events of ago.events including command "discover" to Syslog


Message protocol

agoresolver commands

  • inventory - listing inventory (devices, rooms)
  • setroomname - set room name of given uiid and name
  • setdeviceroom - set the room for device with given uuid's
  • setdevicename - set the device name of given uuid and name

Device commands and parameters

YAML Shema

/etc/opt/agocontrol/schema.yaml

Commands

  • on - switch device on
  • off - switch device off
  • setlevel - set level on device - example a dimmer value

Parameters

  • level - level from 0 to 255

Debugging

  • look in /var/log/syslog
tail -f /var/log/syslog
  • see whats going on in ago.events
python /opt/agocontrol/bin/agodrain.py
Personal tools