Commandline

Moderator: Telldus

Commandline

Postby emm456 » Mon Apr 26, 2010 7:57 am

Hi, I'm a new customer and I want to khow something about the tellstick. Is it possible, after the install and configuration of the telldus center to use command line (like eventghost) to command the devices
(e.g : run "center -e D5On" to turn on the D5 device) ? Thanks.

Nice day.
emm456
 
Posts: 2
Joined: Mon Apr 26, 2010 7:52 am

Re: Commandline

Postby tom_rosenback » Mon Apr 26, 2010 10:25 am

emm456 wrote:Hi, I'm a new customer and I want to khow something about the tellstick. Is it possible, after the install and configuration of the telldus center to use command line (like eventghost) to command the devices
(e.g : run "center -e D5On" to turn on the D5 device) ? Thanks.

Nice day.

tdtool is meant for this. Usage: tdtool --list for listing all the devices and the internal id. tdtool --on id where id is the id you got from the list of devices.
//Tom

Senaste info och release om/av HomeAutomation hittas här http://karpero.mine.nu/ha
Latest info and release of HomeAutomation can be found here http://karpero.mine.nu/ha
tom_rosenback
 
Posts: 576
Joined: Tue Aug 05, 2008 9:37 pm

Re: Commandline

Postby emm456 » Mon Apr 26, 2010 11:33 am

Nice day.[/quote]
tdtool is meant for this. Usage: tdtool --list for listing all the devices and the internal id. tdtool --on id where id is the id you got from the list of devices.[/quote]

Hi, thanks for your answer and your help. So I have 2 questions :
- is tdtool work on windows (I saw a lot of wiki docs with Linux) ?
- it is not possible to define --on A1 or --off D6 and not the id of the device ? Because I would make the link hard, and I can't ask the id of the device after each installation of a knew device. I just know I installed the A1 or the D6. It is possible for example with Eventghost (but I'm a newbie in developpment and I can't convert the plugin code in my soft language. I think it made with a DLL).
emm456
 
Posts: 2
Joined: Mon Apr 26, 2010 7:52 am

Re: Commandline

Postby toel » Sat Aug 25, 2012 6:32 pm

--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 -
toel
 
Posts: 1
Joined: Sat Aug 25, 2012 6:29 pm


Return to Windows

Who is online

Users browsing this forum: Google [Bot] and 1 guest