archtech,selflearning-switch group:1 not registering in api?

Moderator: Telldus

Post Reply
svearike
Posts: 12
Joined: Fri Mar 17, 2023 9:45 am

archtech,selflearning-switch group:1 not registering in api?

Post by svearike »

Hi,

Have I defined something wrong in my tellstick.conf?

(excerpt follows)
#sovrummet
device {
id = 2
name = "Fonsterlampa"
protocol = "arctech"
model = "selflearning-switch"
parameters {
house = "7462818"
unit = "1"
}
}

#traningsrummet
device {
id = 3
name = "Fonsterlampa"
protocol = "arctech"
model = "selflearning-switch"
parameters {
house = "7462818"
unit = "2"
}
}

I have a remote from Nexa with support for three devices and a "ALL OFF" button, for some reasone there is no "ALL ON" button ;)
The remote spits out (according to the raw callback) (on clicking the "ALL OFF"-button")

raw_device_event: class:command;protocol:arctech;model:selflearning;house:7718582;unit:1;group:1;method:turnoff;, -1, 2,

But this in turns only triggers a single event by the device_event callback, for the device matching unit:1
I'm not sure if it's supposed to behave like this?
I would EXPECT the device_event callback to be called once, for every device status change?
And in this particular example it would be three device changes.

Am I missing something? Incorrect configuration? Incorrect assumptions?
All devices changes are registered correctly when the group bit is set to 0.

Now I'm using a workaround in the raw device event callback to manually trigger these changes for my app... and I noticed something else that was strange.
I have to define the device as model:selflearning-switch in tellstick.conf (model:selflearning does not work) and the remote spits out 'model:selflearning' not 'model:selflearning-switch',
is there a reason for this?

Kind regards
Tommy Wallberg
micke.prag
Site Admin
Posts: 2243
Joined: Fri Mar 17, 2023 9:45 am
Location: Lund
Contact:

Re: archtech,selflearning-switch group:1 not registering in

Post by micke.prag »

The all-buttons are not supported by telldus-core.
Micke Prag
Software
Telldus Technologies
Zapper
Posts: 212
Joined: Fri Mar 17, 2023 9:45 am
Location: Där det är kallt

Re: archtech,selflearning-switch group:1 not registering in

Post by Zapper »

At least it understands the raw events from them if you are using jtelldus.
Post Reply