paviro / MMM-FRITZ-Box-Callmonitor

This an extension for the MagicMirror. It provides a callmonitor for FRITZ!Box users alerting them about incoming calls.
28 stars 22 forks source link

JS TypeError #3

Closed tomppasalmi closed 8 years ago

tomppasalmi commented 8 years ago

Thanks for the great module,

I have error in MMM-FRITZ-Box-Callmonitor.js when call is coming and in hangup.

LIne 24 and 31. "TypeError: self.sendNotification is not a function. (In 'self.sendNotification', 'self.sendNotification' is undefined)"

"TypeError: self.sendNotification is not a function. (In 'self.sendNotification("HIDE_ALERT")', 'self.sendNotification' is undefined)"

Mayby there is something I did wrong?

paviro commented 8 years ago

Hi @tomppasalmi, I will look into it.

Cheers, Paul

paviro commented 8 years ago

Should be fixed now, no idea why it worked on my mirror in the first place shouldn't have...

paviro commented 8 years ago

Found out why it worked for me... Had a test module running which declared self as this globally... But still no idea why I used self there, probably copy and pasted from my other module where I really use self..

tomppasalmi commented 8 years ago

Thanks,

Now it is working.

paviro commented 8 years ago

Great! I hope it is useful to you 😊 If you have any further questions or feature requests, don't hesitate to ask.

Sammydk1984 commented 8 years ago

Wird es auch eine version ohne Cam geben?

paviro commented 8 years ago

Ohne Cam?

Sammydk1984 commented 8 years ago

Ich versuche die ganze Zeit MMM-FRITZ-Box-Callmonitor zum laufen zu bringen nur wenn ich das { module: 'MMM-Facial-Recognition', config: { //Font size of the phonenumber displayed in the alert NumberFontSize: "30px", //IP Adress of your FRITZ!Box fritzIP: '192.168.178.1', //Port of your FRITZ!Box (you should not have to change that) fritzPort: 1012 } } In der config Einträge bleibt der Bildschirm schwarz..

Kann das sein das das daran liegt weil ich keine Kamera am Pi habe?

paviro commented 8 years ago

Dieses Modul benötigt keine Kamera. Anscheinend hast du einen Fehler in deiner Config-Datei, schau mal in den Web Inspektor, der Fehler sollte dort angezeigt werden. Du kannst auch deine ganze config.js hochladen, dann schaue ich sie mir an.

Sammydk1984 commented 8 years ago

Hir die Daten

https://www.dropbox.com/sh/leb8hdmx5jsx189/AAC_RRaEHmShIy4QA3SXh6Cga?dl=0

paviro commented 8 years ago

Das Module heißt nicht Facialrecognition sondern MMM-FRITZ-Box-Callmonitor.

Sammydk1984 commented 8 years ago

Steht im github so das man das eintragen soll. Und wenn ich das Modul MMM-FRITZ-Box-Callmonitor Einträge passiert nix.

paviro commented 8 years ago

Ich weiß. Fixe ich danke :) Wie es passiert nichts? Es soll auch nichts passieren, wenn keiner anruft.

Sammydk1984 commented 8 years ago

Ja selbst wenn ich einen Anruf bekomme geht oder besser zeigt er nix... Hör mal die Änderung

https://www.dropbox.com/s/ir9zk45m0907o3o/config.js?dl=0

Sammydk1984 commented 8 years ago

Noch eine Frage hätte ich noch. Wird es eine version geben wo die letzten Anrufe aufgelistet werden.

paviro commented 8 years ago

Bitte mache einen neuen "Issue" mit dem Wunsch auf, indem du deinen Funktionswunsch beschreibst, ich antworte dir dann da :)

Zur config: bitte schau in den Web Inspektor der Fehler sollte dort ersichtlich sein.

Sammydk1984 commented 8 years ago

Also das Modul ist registriert werden auch keine Fehler angezeigt. Kann das sein das das nur für analog geht? Mein Telefon ist über dect angeschlossen.

paviro commented 8 years ago

Spielt keine Rolle. Es geht auch, wenn gar kein Telefon angeschlossen ist. Hast du den Callmonitor aktiviert?

Sammydk1984 commented 8 years ago

Jap habe ich

paviro commented 8 years ago

In der Web Konsole gibt es keine Fehler im der Command Line auch nicht?

Sammydk1984 commented 8 years ago

Bin gerade unterwegs gebe dir später mal die Daten das du dir das bitte mal anschauen kannst. Kann ja sein das ich irgendwo was vergessen habe nur den Wald vor lauter beumen nicht sehe.

Sammydk1984 commented 8 years ago

Gibt es ne Möglichkeit dir ne Pm oder Email zukomme zu lassen?

paviro commented 8 years ago

kontakt@paviro.de

Sammydk1984 commented 8 years ago

Hab dir die Daten gesendet

paviro commented 8 years ago

Noch nichts angekommen.

Sammydk1984 commented 8 years ago

Hab es an kontakt@paviro.de gesendet

Sammydk1984 commented 8 years ago

Paviro sorry das ich nen bissel nerve. Kannst du mir helfen das Wetter Modul für Wetter.de anzupassen.

paviro commented 8 years ago

Nein tut mir leid, dass ist nicht, was ich eben machen kann und ich sehe auch keinen Grund. Das momentane Module ist mehr als ausreichend.

fischbear commented 4 years ago

Hallo Paviro,

erst einmal vielen Dank für die viele Mühe die du dir gemacht hast. Leider wird mir nach der Installation nichts auf der Oberfläche angezeigt. Die Box ist eine 7490, das MagicMirror das aktuellste. In der config habe ich genau das was du vorgibst. Hast du noch einen heissen tip?