andreas-fey / fhem-pilight

pilight module for FHEM
http://blog.andreas-fey.com/fhem-module-pilight/
GNU General Public License v3.0
5 stars 8 forks source link

pilight: ERROR. No handshake with pilight-daemon #14

Open keram79 opened 9 years ago

keram79 commented 9 years ago

I've updated both my fhem installation (fhem.pl 7116 2014-12-02 07:05:00Z) as well as pilight via github tosday. pilight is configured to listen on port 5000, my previously configured port 5001 gave a completely different error. Nor, whenever I try to execute a command defined in my fhem.cfg, fhem hangs for a while, ending in the following error message in fhem.log: pilight: ERROR. No handshake with pilight-daemon. Received: >>><<<

pilight-send is working fine.

Any hint how to troubleshoot this is highly welcome.

logi85 commented 9 years ago

Check my pull-request.

ottowalkes commented 9 years ago

Hallo, i have the same problem. New Installation of FHEM, 98_pilight and Pilight. Pilight runs, but in FHEM allways the error "No Handshake....". Pilight runs on port 5000 and is reachabele. secound SD-Card and seven`s installation.

raspi with 8gb sd10

andreas-fey commented 9 years ago

@ottowalkes , have you tested the 98_pilight version from github?

ottowalkes commented 9 years ago

hallo, after problem with wget i have copy the text of the file into a new 98_pilight.pm. since that the error is away, and the fhem log shows the right output to pilight. but nothing happens. next i take a lock in the pilight-logs, maybe there is another mistake on my side. maybe the ELRO protocol, i tried many diverent; elro_800_switch, elro_he (out off pilight-receive) and some other variations. next time i send the fhem-log-file here. thanks for the help.

ottowalkes commented 9 years ago

hallo again, i fixed my problem. my elro-protocoll out off pilight-receive is "elro_800_switch". in the 98_pilight.pm i missed this protocol, so i edit the 98_pilight.pm and add a row: case 'elro_800_switch' { $code = $code . "\"systemcode\":$systemcode, \"unitcode\":$unit,\"$param\":1"} now it works for me. thanks for the modul. walter