| | 1 | = tellstick.conf = |
| | 2 | |
| | 3 | The file {{{/etc/tellstick.conf}}} is the file where all devices used by TellStick is configured under Linux. Each device is configured in its own block with the parameter as name/value-pairs: |
| | 4 | {{{ |
| | 5 | device { |
| | 6 | foo = "bar" |
| | 7 | } |
| | 8 | }}} |
| | 9 | A device has at least four values and another block names {{{parameters}}}. A typical device can look like this: |
| | 10 | {{{ |
| | 11 | device { |
| | 12 | id = 1 |
| | 13 | name = "Device 1" |
| | 14 | protocol = "arctech" |
| | 15 | model = "codeswitch" |
| | 16 | parameters { |
| | 17 | house = "A" |
| | 18 | unit = "1" |
| | 19 | } |
| | 20 | } |
| | 21 | }}} |
| | 22 | |
| | 23 | id:: |
| | 24 | This is a number and must be unique for each device. |
| | 25 | |
| | 26 | name:: |
| | 27 | A name for easy identification of the device. |
| | 28 | |
| | 29 | protocol:: |
| | 30 | This is the protocol the device uses. More on the different protocols later down. |
| | 31 | |
| | 32 | model:: |
| | 33 | The parameter model is only used by some protocols where there exists different types of devices using the same protocol. This can be dimmers versus non-dimmers, codeswitch versus selflearning etc. |
| | 34 | |
| | 35 | parameters:: |
| | 36 | This block depends on the protocol specified and is explained under each protocol. |
| | 37 | |
| | 38 | == Protocols == |
| | 39 | |
| | 40 | === arctech === |
| | 41 | This protocol is used by a lot of devices. Some of them includes: |
| | 42 | * Nexa |
| | 43 | * Proove |
| | 44 | * Intertechno |
| | 45 | * HomeEasy |
| | 46 | * KlikAanKlikUit |
| | 47 | * Byebye Standby |
| | 48 | |
| | 49 | It has three different models: |
| | 50 | |
| | 51 | codeswitch:: |
| | 52 | This types of devices uses dials on the receiver and remote to address them. The housecode can be A to P and the device 1 to 16. A typical parameters-block can look like: |
| | 53 | {{{ |
| | 54 | parameters { |
| | 55 | house = "A" |
| | 56 | unit = "1" |
| | 57 | } |
| | 58 | }}} |