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