I was running tellstick on an ubuntu 11.04 server that unfortunately died! I've bought a new server and installed ubuntu 11.10. Fortunately I had the config file from my old machine so I simply copied it over and then issued the following commands
tdtool -e [NUMBER] where number was the device number specified in the config file.
I recieved this error message:
Learning device: 1 Front_House_Light - An error occurred while communicating with TellStick
however I could hear the plug socket ticking (the sound it makes when it receives a message) and so I thought it was working. I then issued this command:
tdtool -n 1
But I received this error message:
Turning on device 1 Front_House_Light t - An error occurred while communicating with TellStick
However the device did turn on. My problem is that the status that's shown when I do tdtool --list shows all devices as OFF.
Could this be something to do with my copied config or the new version of tellstick? I hadn't upgraded to 2.1 on my old machine
Or could it be a problem with the new version?
Any help is appreciated as I have other programs that query the result of tdtool --list and so if the information there is incorrect I have no way of knowing if my lights are on or off!
Thanks
For reference, here is my config file
Code: Select all
deviceNode = "/dev/tellstick"
device {
id = 1
name = "Front_House_Light"
controller = 0
protocol = "arctech"
model = "selflearning-switch"
parameters {
# devices = ""
house = "1"
unit = "1"
# code = ""
# system = ""
# units = ""
# fade = ""
}
}
device {
id = 2
name = "Back_House_Light"
controller = 0
protocol = "arctech"
model = "selflearning-switch:nexa"
parameters {
# devices = ""
house = "2"
unit = "2"
# code = ""
# system = ""
# units = ""
# fade = ""
}
}
device {
id = 3
name = "Living_Room_Light"
controller = 0
protocol = "arctech"
model = "selflearning-switch"
parameters {
# devices = ""
house = "3"
unit = "3"
# code = ""
# system = ""
# units = ""
# fade = ""
}
}