Added getDevice number as function parsing tellstick.conf instead using tdtool -- performance issue