UPM receiver and Linux rfcmd command

Moderator: Telldus

Post Reply
vkulmala
Posts: 6
Joined: Fri Mar 17, 2023 9:45 am

UPM receiver and Linux rfcmd command

Post by vkulmala »

How to get UPM receiver to work with Linux rfcmd command? There is only Waveman, Nexa etc. commands but not UPM.
micke.prag
Site Admin
Posts: 2243
Joined: Fri Mar 17, 2023 9:45 am
Location: Lund
Contact:

Re: UPM receiver and Linux rfcmd command

Post by micke.prag »

rfcmd doesn't support UPM and will be removed soon. Please use tdtool instead.
Micke Prag
Software
Telldus Technologies
vkulmala
Posts: 6
Joined: Fri Mar 17, 2023 9:45 am

Re: UPM receiver and Linux rfcmd command

Post by vkulmala »

How should I use tdtool that I get UPM receivers to work? Can you show some example commands?
micke.prag
Site Admin
Posts: 2243
Joined: Fri Mar 17, 2023 9:45 am
Location: Lund
Contact:

Re: UPM receiver and Linux rfcmd command

Post by micke.prag »

First, configure them in /etc/tellstick.conf using a text editor or TelldusCenter.
How this file is constructed can be found here: http://developer.telldus.com/wiki/TellStick_conf

If you are using version >= 2.1.0 you need to restartd telldusd to reread its configuration.

To turn device with id 1 on use:

Code: Select all

$ tdtool --on 1
For a complete manual, type:

Code: Select all

$ man tdtool
Micke Prag
Software
Telldus Technologies
vkulmala
Posts: 6
Joined: Fri Mar 17, 2023 9:45 am

Re: UPM receiver and Linux rfcmd command

Post by vkulmala »

Thanks for answer. My /etc/tellstick.conf looks like this:

Code: Select all

deviceNode = /dev/ttyUSB0

device {
  id = 1
  name = "Example device"
  protocol = "arctech"
  model = "codeswitch"
  parameters {
    house = "A"
    unit = "1"
  }
}

device {
  id = 2
  name = "UPM"
  protocol = "upm"
  parameters {
    house = "789"
    unit = "1"
  }
}
Now when I try to run tdtool I get following error:

Code: Select all

root@slax:/srv/telldus-core-2.1.0/tdtool# tdtool --on 2
Turning on device 2, UPM - TellStick not found
rfcmd-command works and it finds tellstick but tdtool-command doesn't.

What to do now?
micke.prag
Site Admin
Posts: 2243
Joined: Fri Mar 17, 2023 9:45 am
Location: Lund
Contact:

Re: UPM receiver and Linux rfcmd command

Post by micke.prag »

Distribution?
Micke Prag
Software
Telldus Technologies
vkulmala
Posts: 6
Joined: Fri Mar 17, 2023 9:45 am

Re: UPM receiver and Linux rfcmd command

Post by vkulmala »

Linux distro? Slax 6.x.x. (http://www.slax.org/).

Weird because rfcmd-command works but tdtool-command not...
micke.prag
Site Admin
Posts: 2243
Joined: Fri Mar 17, 2023 9:45 am
Location: Lund
Contact:

Re: UPM receiver and Linux rfcmd command

Post by micke.prag »

rfcmd and tdtool do the communication very differently with the TellStick so it is not strange one work and not the other.

If you compile from source yourself you must make sure udev-rule also work when you plug in TellStick to the computer or start telldusd after plugging in TellStick.
Also try unloading ftdi_sio from the kernel because it can sometimes interfere with telldusd.
Micke Prag
Software
Telldus Technologies
Post Reply