Tellstick

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
m
(Added new info on hardware, cleaned up installation info and added service config example)
Line 1: Line 1:
There are currently three models of Tellstick:
+
== Overview ==
 +
There are currently four models of [http://www.telldus.se/products/range Tellstick]:
 
* Tellstick
 
* Tellstick
 
* Tellstick Duo
 
* Tellstick Duo
 
* [[Tellstick_Net|Tellstick Net]]
 
* [[Tellstick_Net|Tellstick Net]]
 +
* Tellstick ZNet Lite
  
The aGo control support is tested for the two first versions.
+
All versions support [[433MHz|433 MHz trancievers]], ZNet Lite also support ZWave.
  
Status: Experimental. On/Off/Dim works, in full test deployment since some weeks . Not yet submitted to git. Contact JoakimL on freenode for more info
+
Agocontrol support is tested for the first three versions.
 +
 
 +
Contact JoakimL on freenode for more info
  
 
== Installation ==
 
== Installation ==
Line 25: Line 29:
 
  sudo apt-get install telldus-core
 
  sudo apt-get install telldus-core
  
=== Install on Raspberry Pi ===
+
=== 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|Raspberry Pi Tellstick instruction]]
 
There's no binary distribution for the armht CPU architecture, but it's quite simple to install from source.[[Raspberry_Pi_Tellstick|Raspberry Pi Tellstick instruction]]
  
For the Raspberry Pi 2, you can go ahead with the "normal" installation as decribed above, no compilation from source needed.
+
For the Raspberry Pi 2 (armhf), you can go ahead with the "normal" installation as decribed above, no compilation from source needed.
  
 
== Install package ==
 
== Install package ==
Line 34: Line 38:
  
 
== Configure ==
 
== Configure ==
 +
=== Tellstick device configuration ===
 
All configuration is stored in /etc/tellstick.conf. Example:
 
All configuration is stored in /etc/tellstick.conf. Example:
 
<pre>
 
<pre>
Line 65: Line 70:
 
Devices are picked up by the software and will be visible in  http://127.0.0.1:8008/?deviceConfig
 
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:
 +
<pre>
 +
[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
 +
 +
</pre>
 
== More info ==
 
== More info ==
 
Device handler is executed as a service, agotellstick <br>
 
Device handler is executed as a service, agotellstick <br>
 
logging goes to /var/log/syslog
 
logging goes to /var/log/syslog

Revision as of 11:42, 5 January 2016

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