Closed Renrudal closed 9 years ago
Hi,
I do not see this protocol in pilight; which version are you using?
Best, Andreas
Hallo,
danke für die Antwort. Ich beziehe mich darauf:
http://wiki.pilight.org/doku.php/rsl366
Mit freundlichen Grüßen
Hari
Ist integriert!
hallo Andreas,
danke für die Mühe! Im Folgenden ein Ausschnitt aus meiner pilight.json
"work": { "name": "Büro", "rsl1": { "name": "PC Hauptschalter", "protocol": [ "rsl366" ], "id": [{ "systemcode": 1, "programcode": 1 }], "state": "on" }, "rsl3": { "name": "Schreibtischlampe", "protocol": [ "rsl366" ], "id": [{ "systemcode": 1, "programcode": 3 }], "state": "on" } Dabei fällt mir auf, dass kein unitcode enthalten ist. Kann es sein dass du noch bitte das programcode integrieren müsstest? Oder mache ich etwas anderes falsch? z.b. den Port falsch angegeben, obwohl mein pilight über 5001 reagiert.
Denn so funktioniert es nicht!
define PCBuero pilight rsl366 attr PCBuero systemcode 1 attr PCBuero unitcode 1 attr PCBuero remote_port 5001 attr PCBuero room Büro
So funktioniert alles einwandfrei! Mit dummy integriert!
define PC_Hauptschalter1 dummy attr PC_Hauptschalter1 eventMap on:on off:off attr PC_Hauptschalter1 fp_Erdgeschoss_Web 650,543,0, attr PC_Hauptschalter1 group Büro attr PC_Hauptschalter1 room Büro define NPC_Hauptschalter1 notify PC_Hauptschalter1 {\ if ("%" ne "off") {\ system("sudo pilight-send -p rsl366 -s 1 -u 1 -t")\ }\ else {\ system("sudo pilight-send -p rsl366 -s 1 -u 1 -f")\ }\ }
Danke inzwischen
Harald
Hallo,
folgender Eintrag im Logfile wenn ich keinen Port und keine Ip angebe:
2014.12.22 13:09:41 3: pilight command: on 2014.12.22 13:09:41 3: pilight: ERROR. Can't open socket to pilight-daemon: Connection refused See: https://github.com/andreas-fey/fhem-pilight/issues/3
2014.12.22 13:09:43 3: pilight command: off 2014.12.22 13:09:43 3: pilight: ERROR. Can't open socket to pilight-daemon: Connection refused See: https://github.com/andreas-fey/fhem-pilight/issues/3
folgender Eintrag im Logfile von FHEM wenn ich den Port 5001 angebe
2014.12.22 13:10:58 3: pilight command: on 2014.12.22 13:11:29 3: pilight: ERROR. No handshake with pilight-daemon. Received: >>><<<
2014.12.22 13:11:29 3: pilight command: off 2014.12.22 13:12:00 3: pilight: ERROR. No handshake with pilight-daemon. Received: >>><<<
folgender Eintrag im Logfile von FHEM wenn ich den Port 5001 und die Ip 192.168.10.142 angebe 2014.12.22 13:13:00 3: pilight command: on 2014.12.22 13:13:31 3: pilight: ERROR. No handshake with pilight-daemon. Received: >>><<<
2014.12.22 13:13:31 3: pilight command: off 2014.12.22 13:14:02 3: pilight: ERROR. No handshake with pilight-daemon. Received: >>><<<
Vielleicht kannst du mir weiterhelfen?
Danke
Harald
Hallo Andreas!
Es läuft nun. Ich habe im der pilight settings.json den port auf 5000 gesetzt und jetzt funktioniert alles.
Vielen Dank für deine tolle Hilfe. Natürlich klicke ich auf die Werbung in deinem Blog.
Frohe Feiertage
Grüße
Harald
Hello,
would it be possible to integrate also the protocol "rsl366" into the modul?
Best regards
Hari