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

Cannot load module pilight #23

Open bulior opened 8 years ago

bulior commented 8 years ago

Ich habe nun alles versucht, jedoch bekomme ich leider das Modul nicht ans laufen.

Lade die Datei direkt in den /opt/fhem/FHEM Ordner, jedoch erkennt FHEM das Modul nicht. -> Cannot load module pilight

jonasius commented 8 years ago

Ich habe das selbe Problem. Auch ein "chown fhem 98_pilightt.pm" hat keine Abhilfe verschafft. Kann es eventuell mit Fhem 5.7 zusammenhängen?

derdennis commented 7 years ago

Hi, ich hatte gerade das selbe Problem. Unter logfile fand sich bei mir die folgende Meldung:

2017.02.09 20:17:25 1: reload: Error:Modul 98_pilight deactivated: Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl ./FHEM) at ./FHEM/98_pilight.pm line 7. BEGIN failed--compilation aborted at ./FHEM/98_pilight.pm line 7.

Nach einem sudo apt-get install libswitch-perl klappte dann aber alles vorzüglich.

mayonezo commented 6 years ago

Hi, hatte das selbe Problem wie derdennis, bin dank ihm jetzt einen Schritt weiter. Mein fhem Frontend stürzt jetzt ab, wenn ich ein neues pilight_ctrl Modul hinzufügen will.

Folgenden Fehler bekomme ich im logfile:

2017.12.03 23:07:43 3: myPilightCtrl device opened malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "HTTP/1.0 404 Not Fou...") at ./FHEM/10_pilight_ctrl.pm line 735.

Danach bekomme ich im Browser nur ein "unable to connect"

derdennis commented 6 years ago

Hi, es freut mich dass ich helfen konnte.

Deinen aktuellen Fehler kenne ich nicht. Kann es vielleicht sein, dass deine /etc/pilight/config.json nicht in Ordnung ist?

Der Fehler liest sich ein bisschen so. Funktioniert denn pilight ohne FHEM oder ist das auch kaputt?

Checke die config.json doch mal rasch, etwa hier.

mayonezo commented 6 years ago

Hallo derdennis,

ich hatte pilight 8 installiert. Mit pilight 7 funktioniert jetzt alles wunderbar!

derdennis commented 6 years ago

Na fein.