Vad jag kan se av denna sida så är det senaste versionen:
Försöker få igång exemplet callbacks.py med att fånga en fjärr-kontrolls tryckning eller sensor-event. Allt med Nexa utrustning.
För att hitta house/unit kod tar jag bort kommentarsmarkeringen och får ut raw data, i detta fallet Nexa modell PET-910 (tillsammans med lite annat som dyker upp):
Code: Select all
class:command;protocol:arctech;model:selflearning;house:10856146;unit:1;group:0;method:turnoff;
class:command;protocol:sartano;model:codeswitch;code:1111111011;method:turnoff;
class:command;protocol:everflourish;model:selflearning;house:6765;unit:1;method:turnoff;
class:command;protocol:arctech;model:selflearning;house:10856146;unit:1;group:0;method:turnoff;
class:command;protocol:sartano;model:codeswitch;code:1111111011;method:turnoff;
class:command;protocol:everflourish;model:selflearning;house:6765;unit:1;method:turnoff;
class:command;protocol:arctech;model:selflearning;house:10856146;unit:1;group:0;method:turnoff;
class:command;protocol:sartano;model:codeswitch;code:1111111011;method:turnoff;
class:command;protocol:everflourish;model:selflearning;house:6765;unit:1;method:turnoff;
class:command;protocol:arctech;model:selflearning;house:10856146;unit:1;group:0;method:turnoff;
class:command;protocol:sartano;model:codeswitch;code:1111111011;method:turnoff;
class:command;protocol:everflourish;model:selflearning;house:6765;unit:1;method:turnoff;
Code: Select all
device {
id = 15
name = "Nexa Remote-1"
controller = 0
protocol = "archtech"
model = "selflearning"
parameters {
house = "10856146"
unit = "1"
}
}
Om jag samtidigt kör tdtool --on i ett annat fönster mot andra definierade switchar så funkar det event hanteringen:
tdtool --on 10
Code: Select all
Waiting for events...
callback!
Received event for device 10
Jag har lusläst andra inlägg som berört detta och även studerat wiki sidan, men hittar inte felorsaken, som känns som om det har med tellstick.conf att göra.
Startar om tjänsten efter ändringar med:
sudo service telldusd restart
Alla tips mottages tacksamt!