Read the statement by Michael Teeuw here.
MMM-FRITZ-Box-Callmonitor-py3 and MMM-Callmonitor-Current-Call
-
Hi Ralf,
sorry it took a while to answer, what I did until now is:
I updated python on my raspberry pi 4 bookworm 64bit, to python 3.13.2 and I overworked the module MMM-FRITZ-Box Callmonitor-py3, it now handles almost all unwanted (blocked) calls, that are in your FritzBox callist for blocked calls, and shows them in the callist on your MM2.
But it can’t handle blocked numbers that are in the “area list”, that means numbers that begins with e.g. 0031* (+31*) all numbers from, in this example, Netherlands, they appear as “SIP:ownnumber” with a red X in the callist of your MM2. I can’t find out how to fetch the whole correct number that ist displayed in the FritzBox gui under incomming calls.
And I can’t find out how to let the alert “Incomming Call” disappear for that blocked calls.
Everything else should work as expected, for me it does.Regards,
Carsten -
@xIExodusIx
Carsten, as you stated, you cannot code - than this is really awsome!!!
Congratulations.
Did you maanage as well to let the message box disappear whan call is in progress?Do you have pushed your modified code to github?
To my last posting: In fact there is NO occurance of “py3_drtorchwood” in ANY of my files …
So I will simply ignore the error message.Warmest regards and chapeau !!!
Ralf
-
Hi Ralf,
Yes the message box disappears now when a call is in progress, and no I did not push my modificated code to github by now.
But sadly I can’t find out how to let the massage box disapper when a call is incomming that will be blocked. So the message box is displayed over hours on the screen, to let it disappear I have to connect to my MM2 using “RealVNC Viewer” and mouseclick on the message box, then it disappears. This is not satisfying.With the update of python to version 3.13.2 I made a failure, that was not a good idea, so I have to reinstall my MM2 from scratch, what I’m doing right now. If this is done and all runs like I want again, I will push my modified code to githup. If this is done I will inform you.
I will continue to work on the module to eliminate the last few problems. I hope I can do it.
As I said I can’t code was and is this the truth, all I have done is to try to copy existing code lines change them a little bit and paste it where I thought it could be the right place, then pushed the entirely .js file up to my MM2 and tested it. If it doesn’t work I tried an other way and tested it again. So all I do is “Try and Error”, not really coding! But VSCode helps a lot.
Regards
Carsten -
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 -
@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 -
@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 -
@xIExodusIx Thanks again, this helps!
Regards,
Ralf -
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 -
@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 -
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