MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-FRITZ-Box-Callmonitor-py3 and MMM-Callmonitor-Current-Call

    Scheduled Pinned Locked Moved Utilities
    51 Posts 4 Posters 11.6k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • X Offline
      xIExodusIx @rkorell
      last edited by

      @rkorell

      Hi Ralf,
      I just pushed up my reworked version of the module “MMM-FRITZ-Box-Callmonitor-py3” to github.
      I hope it works for you too.

      Regards
      Carsten

      R 1 Reply Last reply Reply Quote 1
      • R Offline
        rkorell @xIExodusIx
        last edited by

        @xIExodusIx Dear Carsten, this is awesome!
        Thanks a LOT!
        Currently - in my installation - the Info Box which is signalling the call is not a „message-box“ and disappears when call is ended.
        Did you modify this -then I would hesitate to install newest version…
        Thanks a lot for your effort!
        Warmest regards,
        Ralf

        X 1 Reply Last reply Reply Quote 0
        • X Offline
          xIExodusIx @rkorell
          last edited by

          @rkorell said in MMM-FRITZ-Box-Callmonitor-py3 and MMM-Callmonitor-Current-Call:

          Currently - in my installation - the Info Box which is signalling the call is not a „message-box“ and disappears when call is ended.
          Did you modify this -then I would hesitate to install newest version…
          Thanks a lot for your effort!

          Hi Ralf,
          I did not change the appearance of the message-box, in the module it is an alert, I only tried to let it disappear right when you answer the incomming call, because on my MM2 the message box blurres the background and I can not clearly see all other modules and the “MMM-Current-Call” module, that also shows me if the current call is incomming or outgoing, but now the message box disappears when the incomming call is answered.
          The MMM-Current-Call" module makes only sense if you have more then one telephon-line, so you can see how many people are talking right now, and if the calls are incomming or outgoing.

          Hope that will help you to decide.

          Regards
          Carsten

          R 1 Reply Last reply Reply Quote 1
          • R Offline
            rkorell @xIExodusIx
            last edited by

            @xIExodusIx Thanks again, this helps!
            Regards,
            Ralf

            X 1 Reply Last reply Reply Quote 0
            • X Offline
              xIExodusIx @rkorell
              last edited by xIExodusIx

              @rkorell

              I played a little bit around with the colors and changed also the appearance of missed calls, the missed calls now will be displayed in color “magenta” with a “star”. You can edit the colors by yourself by editing the “MMM-Fritz-Box-Callmonitor-py3.js” file, you can’t miss these entrys.
              I also edited the README.md file again.
              I will push these changes to github at my next update, but I have to test a little bit more because I have to wait for the unwanted calls that are in my blocked “phonenumber range list”, and I don’t know when these unwanted calls are incomming.
              But hopefully I got most of the annoying problems under control. :-)

              Regards
              Carsten

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                rkorell @xIExodusIx
                last edited by

                @xIExodusIx It’s good practise to keep style information not in the *.js code but in the CSS file of module - than everybody can make persistent changes to style related issues in custom.css which will not been overwritten by module updates…

                Warm regards,
                Ralf

                X 1 Reply Last reply Reply Quote 0
                • X Offline
                  xIExodusIx @rkorell
                  last edited by xIExodusIx

                  @rkorell

                  Yes, I know, but I don’t know how to transfer this code-lines to the .css file, the code for appaerance and color were in the module.js file before I began to try to get it work. I only modified them.

                  The last two problems I have with the module is, to show the correct number in the callist, not “sip:myown number”, when an incomming call is blocket by the “number range list” and to hide the alert of these calls.

                  On these problems I still work.

                  Regards
                  Carsten

                  R 1 Reply Last reply Reply Quote 1
                  • R Offline
                    rkorell @xIExodusIx
                    last edited by

                    @xIExodusIx Dear Carsten,
                    quick feedback for you: Just installed your newest version.
                    And - to my big surprise - it works like I would like to have…
                    I only have installed "MMM-FRITZ-Box-Callmonitor-py3 " - to be 100% clear, may there is the difference.
                    But with only this module incoming calls are displayed/signalled (grey’ish / white color) and the message box disappears either when the call is taken or if the caller hangs up.
                    This exactly is what I would like to have.
                    You definitely have done something magical because the initial code holds the message box until call is ended.
                    THANKS!!!

                    You ARE a coder :-)

                    Warmest greetings to Hamburg (as your git-account now reveals),
                    Ralf

                    For the CSS stuff - my apologies…
                    I cannot guide here, as well. I’ve seen your color coding in dependency from call-type.
                    I GUESS you can solve this with case-dependent CSS-attributes and so avoid the complete “switch”-clause.
                    But this is far beyond my own capabilities - may Sam (@sdetweil ) can lead through this…

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      Jose1701 @rkorell
                      last edited by

                      Hi,

                      I`m new to magicmirror and I like the CallMonitor a lot.

                      Everthing works fine for me except the arrows and colours. I installed MMM-FRITZ-Box-Callmonitor-py3 and MMM-Callmonitor-Current-Call. I put the necessary information in the conifg as ou can see:

                      {
                      		module: 'MMM-Callmonitor-Current-Call',
                      		position: 'top_right',	// This can be any of the regions. Best results in left or right regions.
                      		config: {
                      			showDirection: "true",
                      			colorEnabled: "true",
                      		}
                      			
                      	},
                      
                      
                      {
                      		module: 'MMM-FRITZ-Box-Callmonitor-py3',
                      		position: 'bottom_right',	// This can be any of the regions. Best results in left or right regions.
                      		header: "Letzte Anrufe", // This is optional
                      		config: {
                      			// See 'Configuration options' for more information.
                      			showContactsStatus: "true",
                                  	  fritzIP: "192.168.178.1",
                                  	  showContactsStatus: "true",
                                  	  maximumCallDistance: "240",
                                              maximumCalls: "4",
                                              reloadContactsInterval: "1",
                      			showOutgoing: "true",
                      			colorEnabled: "true",
                                              password: "******",
                      		}
                      	},
                      
                      

                      An idea what am I doing wrong?

                      Regards

                      Jose

                      R 1 Reply Last reply Reply Quote 0
                      • R Offline
                        rkorell @Jose1701
                        last edited by

                        @Jose1701 Dear Jose,
                        you are referring to my post but may I’m the wrong person.
                        You may ask the developer, @xIExodusIx, too.

                        As I’m not knowing exactly what your problem is, I just can guess what’s going on…
                        from configuration perspective I do not see an issue - mine is similar.
                        As I wrote before I only have ‘MMM-FRITZ-Box-Callmonitor-py3’ in use, NOT ‘MMM-Callmonitor-Current-Call’,

                        For ‘MMM-FRITZ-Box-Callmonitor-py3’ I’m aware of some problems, but I do not know if this aligns with your problems.

                        • do you have the right (actual) fork? in my case this was https://github.com/xIExodusIx/MMM-FRITZ-Box-Callmonitor-py3.git
                        • I’m not sure if this is correct: In your config a username is missing. As far as I’m aware of you have to use a username/password combination - therefore I remember that I had to create a separate user for using the module.
                        • there were some requirements for the module - some python libraries as I remember correctly. - Do you have installed them in a proper version?

                        This is the “guessing” version.
                        If you could describe the “problem” more exact or concrete may we get other ideas…

                        Good luck!
                        Regards,
                        Ralf

                        J 1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 5 / 6
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy