Error sending everflourish

Moderator: Telldus

Post Reply
PHermansson
Posts: 27
Joined: Fri Mar 17, 2023 9:45 am
Contact:

Error sending everflourish

Post by PHermansson »

I'm using telldus-core-2.1.0 installed from source in a Debian system. My config:

Code: Select all

# cat /etc/tellstick.conf 
deviceNode = "/dev/ttyUSB0"

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

device {
  id = 3
  name = "Test"
  protocol = "everflourish"
  model = "codeswitch"
  parameters {
    house = "A"
    unit = "1"
  }
}
But it doesn't work with everflourish?

# tdtool --on 1
Turning on device 1, Example device - Success

# tdtool --on 3
Turning on device 3, Test - An error occurred while communicating with TellStick

Any ideas?
M_at
Posts: 1
Joined: Fri Mar 17, 2023 9:45 am

Re: Error sending everflourish

Post by M_at »

The house code in your Everflourish block is wrong.

It needs to be an integer between 0 and 16383 - details are at http://developer.telldus.se/wiki/TellStick_conf
PHermansson
Posts: 27
Joined: Fri Mar 17, 2023 9:45 am
Contact:

Re: Error sending everflourish

Post by PHermansson »

Mhm?


cat /etc/tellstick.conf
...

device {
id = 3
name = "Test"
protocol = "everflourish"
parameters {
house = "10"
unit = "1"
}
}

patrik@debian-thin-client:~$ tdtool --on 3
Turning on device 3, Test - An error occurred while communicating with TellStick
PHermansson
Posts: 27
Joined: Fri Mar 17, 2023 9:45 am
Contact:

Re: Error sending everflourish

Post by PHermansson »

Still doesn't work. I added a Nexa self-learning device too:


device {
id = 16
name = "Outdoor Nexa"
protocol = "arctech"
model = "selflearning-switch"
parameters {
house = "100"
unit = "1"
}


tdtool --on 1
Turning on device 1, Example device - Success
# tdtool --learn 16
Learning device: 16 Self learning 1 - Success
# tdtool --on 16
Turning on device 16, Self learning 1 - An error occurred while communicating with TellStick
PHermansson
Posts: 27
Joined: Fri Mar 17, 2023 9:45 am
Contact:

Re: Error sending everflourish

Post by PHermansson »

Are there any better version than 2.1.0? My self-learning devices doesn't work and I get no help here...
micke.prag
Site Admin
Posts: 2243
Joined: Fri Mar 17, 2023 9:45 am
Location: Lund
Contact:

Re: Error sending everflourish

Post by micke.prag »

I guess you have an early TellStick not supporting selflearning?

Support for selflearning started in batch 5.
Micke Prag
Software
Telldus Technologies
PHermansson
Posts: 27
Joined: Fri Mar 17, 2023 9:45 am
Contact:

Re: Error sending everflourish

Post by PHermansson »

Ahh ok, that must be it. I have a pre-production unit, serial number #7 :)
PHermansson
Posts: 27
Joined: Fri Mar 17, 2023 9:45 am
Contact:

Re: Error sending everflourish

Post by PHermansson »

But then I disagree. I can use the command rfcmd to learn the device. I plugged a Nexa self-learning in and run this command:

rfcmd /dev/ttyUSB0 NEXA P 1 1

The device then learned the code and can be controlled by rfcmd. I don't see how this could be done if my Tellstick has too old firmware?
micke.prag
Site Admin
Posts: 2243
Joined: Fri Mar 17, 2023 9:45 am
Location: Lund
Contact:

Re: Error sending everflourish

Post by micke.prag »

That command is a codeswitch command.

rfcmd does not support Nexa selflearning.
Micke Prag
Software
Telldus Technologies
PHermansson
Posts: 27
Joined: Fri Mar 17, 2023 9:45 am
Contact:

Re: Error sending everflourish

Post by PHermansson »

Hmm ok. I took a brand new Nexa self learning device and plugged it in. It started flash red. I run the above command. The device clicked and stopped flashing. After that I could use rfcmd to turn the device off and on several times. So it worked, even if its not supposed to :)
micke.prag
Site Admin
Posts: 2243
Joined: Fri Mar 17, 2023 9:45 am
Location: Lund
Contact:

Re: Error sending everflourish

Post by micke.prag »

That is supporsed to work since they are backward compatible with codeswitch.
Micke Prag
Software
Telldus Technologies
PHermansson
Posts: 27
Joined: Fri Mar 17, 2023 9:45 am
Contact:

Re: Error sending everflourish

Post by PHermansson »

Ok, just glad it works. Guess I'll have to move back to rfcmd/tellstickd/cron for automation now. Telldusd/Home Automation was nice otherwise, except that HA sometimes ignored events.
Post Reply