Tellstick

From ago control wiki
Revision as of 11:55, 5 January 2016 by JoakimL (Talk | contribs)

Jump to: navigation, search
TellstickDuo.jpeg

Contents

Overview

There are currently four models of Tellstick:

All versions support 433 MHz trancievers, ZNet Lite also support ZWave.

Agocontrol support is tested for the first three versions.

Contact JoakimL on freenode for more info

Installation

Install the basic software

Add the following lines to your /etc/apt/sources.list:

 deb http://download.telldus.com/debian/ stable main

Get keys:

 wget -q http://download.telldus.se/debian/telldus-public.key -O- | sudo apt-key add - 

The key fingerprint is 70C4 10C9 D73D 53E8 38B3 1C58 5A94 9181 E501 EA76 Telldus Technologies AB <info.tech@telldus.se>

To install telldus-core, do

sudo apt-get update
sudo apt-get install telldus-core

Install on Raspberry Pi A/B/B+

There's no binary distribution for the armht CPU architecture, but it's quite simple to install from source.Raspberry Pi Tellstick instruction

For the Raspberry Pi 2 (armhf), you can go ahead with the "normal" installation as decribed above, no compilation from source needed.

Install package

apt-get install agocontrol-tellstick

Configure

Tellstick device configuration

All configuration is stored in /etc/tellstick.conf. Example:

user = "nobody"
group = "plugdev"
deviceNode = "/dev/tellstick"
ignoreControllerConfirmation = "false"
controller {
  id = 1
  # name = ""
  type = 1
  serial = "xxxxxxxx"
}
device {
  id = 1
  name = "WallWart1"
  controller = 0
  protocol = "arctech"
  model = "selflearning-switch"
  parameters {
    # devices = ""
    house = "12345678"
    unit = "1"
    # code = ""
    # system = ""
    # units = ""
    # fade = ""
  }
}

Devices are picked up by the software and will be visible in http://127.0.0.1:8008/?deviceConfig

Agocontrol Tellstick service configuration

Configuration for the agocontrol service goes into /etc/opt/agovontrol/conf.d/tellstick.conf. Example:

[tellstick]
# Any value but "Net" will use Tellstick (Duo) code
# Net will use Tellstick NET code
StickVersion = Duo

# Sensor poll interval, in seconds
# (only used with StickVersion Net)
SensorPollInterval = 300

# The rest of this file concern devices that can generate events (like ON/OFF, temperature change, humidity change)
[EventDevices]
# These devices typically generate an echo.
# To ignore repeated events from the same device witin this many milliseconds:
Delay = 500

# It's not uncommon to pick up sensors from your neighbourhood, these can be ignored with
IgnoreModels = codeswitch
IgnoreDevices = S135,S7,S167

# Per-device override, using Tellstick device ID as section name
[201]
Desc=Wall switch in bedroom
# Override echo cancellation period
Delay = 950

[161]
Ignore = Yes

[7]
Desc=Temp sensor outdoors

More info

Device handler is executed as a service, agotellstick
logging goes to /var/log/syslog

Personal tools