tdtool - a command line utility to send commands to a Telldus TellStick
- -[bdefhlnrv] [ --list ] [ --help ]
- [ --list-sensors ] [ --list-devices ] [ --on device ]
[ --off device ] [ --bell device ] [ --learn device ]
[ --dimlevel level --dim device ] [ --raw input
]
--list (-l short option)
- List currently configured devices and all discovered sensors.
--list-sensors
--list-devices
- Alternative devices/sensors listing: Shows devices and/or sensors using
key=value format (with tabs as separators, one device/sensor per line, no
header lines.)
--help (-h short option)
- Shows this screen.
--on device (-n short option)
- Turns on device. 'device' could either be an integer of the device-id, or
the name of the device. Both device-id and name is outputed with the
--list option
--off device (-f short option)
- Turns off device. 'device' could either be an integer of the device-id, or
the name of the device. Both device-id and name is outputed with the
--list option
--dim device (-d short option)
- Dims device. 'device' could either be an integer of the device-id, or the
name of the device. Both device-id and name is outputed with the
--list option Note: The dimlevel parameter must be set before using
this option.
--dimlevel level (-v short option)
- Set dim level. 'level' should an integer, 0-255. Note: This parameter must
be set before using dim.
--bell device (-b short option)
- Sends bell command to devices supporting this. 'device' could either be an
integer of the device-id, or the name of the device. Both device-id and
name is outputed with the --list option
--learn device (-e short option)
- Sends a special learn command to devices supporting this. This is normaly
devices of 'selflearning' type. 'device' could either be an integer of the
device-id, or the name of the device. Both device-id and name is outputed
with the --list option
--raw input (-r short option)
- This command sends a raw command to TellStick. input can be either - or a
filename. If input is - the data is taken from stdin, otherwise the data
is taken from the supplied filename.
- Example to turn on an ArcTech codeswitch A1: echo
'S$k$k$k$k$k$k$k$k$k$k$k$k$k$k$k$k$k$k$kk$$kk$$kk$$}+' | tdtool
--raw -
Written by Micke Prag <micke.prag@telldus.se>
Report bugs to <info.tech@telldus.se>
Copyright © 2011 Telldus Technologies AB
The full documentation for tdtool is maintained as a Texinfo manual. If
the info and tdtool programs are properly installed at your
site, the command
- info tdtool
should give you access to the complete manual.