<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[MMM-Fritz-Box-Callmonitor: Notification formatting]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I’m referring to this module (<a href="https://github.com/paviro/MMM-FRITZ-Box-Callmonitor" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/paviro/MMM-FRITZ-Box-Callmonitor</a>). Although it is quite outdated, I still like it and I was able to transfer it to an python3 environment. However, since some update (don’t know which one), the notification (“alert”) is not formatted properly.<br />
The reason seems to be in line 85 of the file <code>MMM-FRITZ-Box-Callmonitor.js</code>:</p>
<pre><code>	// Override socket notification handler.
	socketNotificationReceived: function(notification, payload) {
		if (notification === "call") {
			//Show alert on UI
			this.sendNotification("SHOW_ALERT", {
				title: this.translate("title"),
				message: "&lt;span style='font-size:" + this.config.numberFontSize.toString() + "px'&gt;" + payload + "&lt;span&gt;",
				imageFA: "phone"
			});

			//Set active Alert to current call
			this.activeAlert = payload;
		}
</code></pre>
<p dir="auto">There are two problems: 1) the title is not translated but printed, 2) the message is not formatted but the formatting information is printed verbosely.<br />
Unfortunately, I’m neither an expert in the MagicMirror syntax nor in javascript. Could somebody give me a hint how I need to adopt the code?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.magicmirror.builders/topic/17593/mmm-fritz-box-callmonitor-notification-formatting</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 10:17:43 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/17593.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 04 Feb 2023 14:35:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-Fritz-Box-Callmonitor: Notification formatting on Sun, 07 Jul 2024 14:06:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rabbit83ka" aria-label="Profile: rabbit83ka">@<bdi>rabbit83ka</bdi></a>  I also see this for background</p>
<p dir="auto"><a href="https://arshovon.com/blog/python-background/" target="_blank" rel="noopener noreferrer nofollow ugc">https://arshovon.com/blog/python-background/</a></p>
]]></description><link>https://forum.magicmirror.builders/post/118762</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/118762</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 07 Jul 2024 14:06:33 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Fritz-Box-Callmonitor: Notification formatting on Sun, 07 Jul 2024 13:54:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rabbit83ka" aria-label="Profile: rabbit83ka">@<bdi>rabbit83ka</bdi></a> when I look at my .bashrc whichs sets up the default venv on shell open<br />
I see</p>
<pre><code class="language-sh"># Virtual Environment Wrapper
source /usr/local/bin/virtualenvwrapper.sh
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
export PKG_CONFIG_PATH
cd ~
</code></pre>
<p dir="auto">this topic seems applicable<br />
<a href="https://unix.stackexchange.com/questions/87062/how-to-display-the-name-of-the-current-virtualenv" target="_blank" rel="noopener noreferrer nofollow ugc">https://unix.stackexchange.com/questions/87062/how-to-display-the-name-of-the-current-virtualenv</a></p>
]]></description><link>https://forum.magicmirror.builders/post/118761</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/118761</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 07 Jul 2024 13:54:41 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Fritz-Box-Callmonitor: Notification formatting on Sun, 07 Jul 2024 08:11:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> I used your script</p>
<pre><code>fixuppm2.sh
</code></pre>
<p dir="auto">when I set up the mirror<br />
Now I modified ~/MagicMirror/installers/mm.sh to</p>
<pre><code>#!/bin/bash
# This file is still here to keep PM2 working on older installations.
cd ~/MagicMirror
source venv/bin/activate
DISPLAY=:0 npm start
</code></pre>
<p dir="auto">but that doesn’t work, error occures again because node_helper doesn’t seem to use the venv.</p>
]]></description><link>https://forum.magicmirror.builders/post/118747</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/118747</guid><dc:creator><![CDATA[rabbit83ka]]></dc:creator><pubDate>Sun, 07 Jul 2024 08:11:20 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Fritz-Box-Callmonitor: Notification formatting on Sat, 06 Jul 2024 16:06:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rabbit83ka" aria-label="Profile: rabbit83ka">@<bdi>rabbit83ka</bdi></a> no, execute the venv command to set the virtual environment in place of the export</p>
<p dir="auto">the same venv command you did before running pip</p>
]]></description><link>https://forum.magicmirror.builders/post/118744</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/118744</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 06 Jul 2024 16:06:37 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Fritz-Box-Callmonitor: Notification formatting on Sat, 06 Jul 2024 15:47:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> Thanks, so it should look like this?</p>
<pre><code>#!/bin/bash
# This file is still here to keep PM2 working on older installations.
cd ~/MagicMirror
export PYTHONPATH="/home/pi/venv/bin/python"
DISPLAY=:0 npm start
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/118742</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/118742</guid><dc:creator><![CDATA[rabbit83ka]]></dc:creator><pubDate>Sat, 06 Jul 2024 15:47:59 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Fritz-Box-Callmonitor: Notification formatting on Thu, 04 Jul 2024 21:20:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rabbit83ka" aria-label="Profile: rabbit83ka">@<bdi>rabbit83ka</bdi></a> you can set the venv in the <a href="http://mm.sh" target="_blank" rel="noopener noreferrer nofollow ugc">mm.sh</a>  that starts MagicMirror</p>
<p dir="auto">then you don’t need to do that</p>
]]></description><link>https://forum.magicmirror.builders/post/118715</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/118715</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 04 Jul 2024 21:20:48 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Fritz-Box-Callmonitor: Notification formatting on Thu, 04 Jul 2024 20:58:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xiexodusix" aria-label="Profile: xIExodusIx">@<bdi>xIExodusIx</bdi></a> that’s due to changes in the handling of the python packages. I installed “fritzconnection” in a virtual environment:</p>
<pre><code>python -m venv venv

source venv/bin/activate

python -m pip install fritzconnection
</code></pre>
<p dir="auto">to make the Callmonitor use the fritzconnection, I edited the nodehelper.js (in ~/MagicMirror/modules/MMM-FritzBox-Callmonitor-py3) in line 212 to look like this (user is “pi”, must be adapted if you use another user):</p>
<pre><code>pythonPath: '/home/pi/venv/bin/python',
</code></pre>
<p dir="auto">Don’t know if it’s the best solution, but it works.</p>
]]></description><link>https://forum.magicmirror.builders/post/118714</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/118714</guid><dc:creator><![CDATA[rabbit83ka]]></dc:creator><pubDate>Thu, 04 Jul 2024 20:58:05 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Fritz-Box-Callmonitor: Notification formatting on Tue, 28 Nov 2023 10:18:56 GMT]]></title><description><![CDATA[<p dir="auto">Hi Everybody out there using MMM-FRITZ-Box-Callmonitor,<br />
I would love to use this Module, but I’m not really  in the mod to code or to find errors.<br />
I tried to install your new branch under PiOS “Bookworm” but I get some errors using<br />
“sudo apt-get install python-dev libxml2-dev libxslt1-dev zlib1g-dev &amp;&amp; sudo pip install fritzconnection”!<br />
The first error is: " E: For Package »python-dev« exists no Installationscandidate."<br />
The second error for pip install is: “externally-managed-environment …”<br />
How can I solve these problems?<br />
Sorry for my bad english, I’m german and over 60 years old.<br />
Thanks for helping.</p>
]]></description><link>https://forum.magicmirror.builders/post/112887</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/112887</guid><dc:creator><![CDATA[xIExodusIx]]></dc:creator><pubDate>Tue, 28 Nov 2023 10:18:56 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Fritz-Box-Callmonitor: Notification formatting on Tue, 28 Feb 2023 14:19:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/coernel" aria-label="Profile: coernel">@<bdi>coernel</bdi></a><br />
Great to hear and you are welcome. I try to help where I can.<br />
I live about 30km south of Munich but thanks for your invitation.</p>
]]></description><link>https://forum.magicmirror.builders/post/108049</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108049</guid><dc:creator><![CDATA[wishmaster270]]></dc:creator><pubDate>Tue, 28 Feb 2023 14:19:20 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Fritz-Box-Callmonitor: Notification formatting on Tue, 28 Feb 2023 12:25:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jan-0" aria-label="Profile: Jan-0">@<bdi>Jan-0</bdi></a><br />
This is so cool! It does work now. Has it been published to the list of modules?<br />
If you or <a class="plugin-mentions-user plugin-mentions-a" href="/user/wishmaster270" aria-label="Profile: wishmaster270">@<bdi>wishmaster270</bdi></a>  are somewhere near Cologne you or  are invited for a free professional solo session of Feldenkrais Functional Integration or a free professional singing lesson!</p>
]]></description><link>https://forum.magicmirror.builders/post/108046</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108046</guid><dc:creator><![CDATA[coernel]]></dc:creator><pubDate>Tue, 28 Feb 2023 12:25:40 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Fritz-Box-Callmonitor: Notification formatting on Sat, 25 Feb 2023 13:03:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/coernel" aria-label="Profile: coernel">@<bdi>coernel</bdi></a> I now also pushed the changes into the master <a href="https://github.com/drtorchwood/MMM-FRITZ-Box-Callmonitor-py3/tree/master" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/drtorchwood/MMM-FRITZ-Box-Callmonitor-py3/tree/master</a></p>
]]></description><link>https://forum.magicmirror.builders/post/108030</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108030</guid><dc:creator><![CDATA[Jan 0]]></dc:creator><pubDate>Sat, 25 Feb 2023 13:03:14 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Fritz-Box-Callmonitor: Notification formatting on Mon, 27 Feb 2023 11:10:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/coernel" aria-label="Profile: coernel">@<bdi>coernel</bdi></a><br />
The view you show indicates that there are no recent calls and that the fetch of the telephone book is still running or was not successful. But it is the normal view. The calls will be signaled as alerts. So make sure you have the default <code>alert</code> module activated in your config.js:</p>
<pre><code>		{
			module: "alert",
		},
</code></pre>
<p dir="auto">The formatting will only be wrong in the alert.</p>
<p dir="auto">Please make sure to check the following things, too:</p>
<ul>
<li>You cloned the right fork with the following command?</li>
</ul>
<pre><code>cd ~/MagicMirror/modules
git clone git@github.com:drtorchwood/MMM-FRITZ-Box-Callmonitor-py3.git
</code></pre>
<p dir="auto">Edit:<br />
<s>* You use the right branch by calling the following commands?</s><br />
As of 2023-02-25 the changes are merged to the master branch of the fork. So no need to change to the <code>code_update_2023</code> branch anymore.</p>
<ul>
<li>You installed the JavaScript dependencies?</li>
</ul>
<pre><code>cd ~/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor-py3
npm install
</code></pre>
<ul>
<li>You installed the Python dependencies?</li>
</ul>
<pre><code>sudo pip3 install fritzconnection
</code></pre>
<ul>
<li>You activated the call monitor service of the box by dialing the following number with one of your phones?</li>
</ul>
<pre><code>#96*5*
</code></pre>
<ul>
<li>You configured the right IP address in config.js with option <code>fritzIP</code>. Default is 192.168.178.1?</li>
</ul>
<pre><code>		{
			module: 'MMM-FRITZ-Box-Callmonitor-py3',
			position: 'bottom_left',
			header: "Verpasste Anrufe", 
			config: {
				username: "foo",
				password: "bar",
				fritzIP: "10.18.8.1",
				reloadContactsInterval: 50,
				minimumCallLength: 0,
				showContactsStatus: true,
				maximumCallDistance: 60*6,
				maximumCalls: 4,
				fade: false,
				debug: true,
			}
		},
</code></pre>
<p dir="auto">If the call monitor service is not activated on the fritz box you will see a message like this in the logs:</p>
<pre><code>[24.02.2023 16:31.29.944] [ERROR] Error: connect ECONNREFUSED 192.168.178.1:1012
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.178.1,
  port: 1012
}
</code></pre>
<p dir="auto">And again the call monitor service is independent of username and password. The credentials are used to fetch the telephone book and the past calls only.</p>
<p dir="auto">Thats how the default view looks in my case:<br />
<img src="/assets/uploads/files/1677253894627-fritzcallmonitor.png" alt="fritzcallmonitor.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">And thats how it looks if there is a incomming call:<br />
<img src="/assets/uploads/files/1677254040221-fritzcall.png" alt="fritzcall.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">If you do not use the current development branch of MagicMirror there may be some html code in the alert and it will look like <code>&lt;span style='font-size:30px'&gt;Tom&lt;/span&gt;</code></p>
<p dir="auto"><img src="/assets/uploads/files/1677254261133-fritzcallmonitor_tom.png" alt="fritzcallmonitor_tom.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/108020</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108020</guid><dc:creator><![CDATA[wishmaster270]]></dc:creator><pubDate>Mon, 27 Feb 2023 11:10:00 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Fritz-Box-Callmonitor: Notification formatting on Fri, 24 Feb 2023 09:05:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wishmaster270" aria-label="Profile: wishmaster270">@<bdi>wishmaster270</bdi></a> said in <a href="/post/107997">MMM-Fritz-Box-Callmonitor: Notification formatting</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/coernel" aria-label="Profile: coernel">@<bdi>coernel</bdi></a><br />
Hi,<br />
as i can see this fork <a href="https://github.com/drtorchwood/MMM-FRITZ-Box-Callmonitor-py3/tree/code_update_2023" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/drtorchwood/MMM-FRITZ-Box-Callmonitor-py3/tree/code_update_2023</a> contains all changes needed.<br />
But you will need to either use the current development version of MagicMirror or wait for the next release which i think is planned for 2022-04-01 to get the alerts formatted correctly.</p>
</blockquote>
<p dir="auto">This is great however I just get this:<br />
<img src="/assets/uploads/files/1677229133649-nocall.jpg" alt="nocall.jpg" class=" img-fluid img-markdown" /><br />
Is this the formatting error we are talking about without the Core update? If yes I am willing to wait. But this for me looks like more than a formatting setting!</p>
<p dir="auto">Callmonitor definately is enabled via Fritz!Phone. And username and password are correct - I can access the Fritz!Box and the user has the view and edit settings:</p>
<p dir="auto"><code>Benutzer mit dieser Berechtigung können alle Einstellungen der FRITZ!Box sehen und bearbeiten.</code></p>
<p dir="auto">Any help would be appreciated!</p>
]]></description><link>https://forum.magicmirror.builders/post/108018</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108018</guid><dc:creator><![CDATA[coernel]]></dc:creator><pubDate>Fri, 24 Feb 2023 09:05:53 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Fritz-Box-Callmonitor: Notification formatting on Wed, 22 Feb 2023 20:22:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/coernel" aria-label="Profile: coernel">@<bdi>coernel</bdi></a><br />
Hi,<br />
as i can see this fork <a href="https://github.com/drtorchwood/MMM-FRITZ-Box-Callmonitor-py3/tree/code_update_2023" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/drtorchwood/MMM-FRITZ-Box-Callmonitor-py3/tree/code_update_2023</a> contains all changes needed.<br />
But you will need to either use the current development version of MagicMirror or wait for the next release which i think is planned for 2022-04-01 to get the alerts formatted correctly.</p>
]]></description><link>https://forum.magicmirror.builders/post/107997</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107997</guid><dc:creator><![CDATA[wishmaster270]]></dc:creator><pubDate>Wed, 22 Feb 2023 20:22:32 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Fritz-Box-Callmonitor: Notification formatting on Wed, 22 Feb 2023 13:53:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jan-0" aria-label="Profile: Jan-0">@<bdi>Jan-0</bdi></a> said in <a href="/post/107674">MMM-Fritz-Box-Callmonitor: Notification formatting</a>:</p>
<blockquote>
<p dir="auto">Hi,<br />
I’m referring to this module (<a href="https://github.com/paviro/MMM-FRITZ-Box-Callmonitor" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/paviro/MMM-FRITZ-Box-Callmonitor</a>). Although it is quite outdated, I still like it and I was able to transfer it to an python3 environment. However, since some update (don’t know which one), the notification (“alert”) is not formatted properly.<br />
The reason seems to be in line 85 of the file MMM-FRITZ-Box-Callmonitor.js:<br />
// Override socket notification handler.<br />
socketNotificationReceived: function(notification, payload) {<br />
if (notification === “call”) {<br />
//Show alert on UI<br />
this.sendNotification(“SHOW_ALERT”, {<br />
title: this.translate(“title”),<br />
message: “<span style="font-size:&quot; + this.config.numberFontSize.toString() + &quot;px">” + payload + “<span>”,<br />
imageFA: “phone”<br />
});</span></span></p>
<pre><code>  	//Set active Alert to current call
  	this.activeAlert = payload;
  }
</code></pre>
<p dir="auto">There are two problems: 1) the title is not translated but printed, 2) the message is not formatted but the formatting information is printed verbosely.<br />
Unfortunately, I’m neither an expert in the MagicMirror syntax nor in javascript. Could somebody give me a hint how I need to adopt the code?</p>
</blockquote>
<p dir="auto">To fix this, you can remove the quotes and use template literals instead. Template literals allow you to include variables and formatting within a string using backticks (<code>) instead of quotes. Here's how you can modify the code to use template literals: socketNotificationReceived: function(notification, payload) {   if (notification === "call") {     //Show alert on UI     this.sendNotification("SHOW_ALERT", {       title: this.translate("title"),       message: </code><span>${payload}</span>`,<br />
imageFA: “phone”<br />
});</p>
<pre><code>//Set active Alert to current call
this.activeAlert = payload;
</code></pre>
<p dir="auto">}<br />
}<br />
As for the translation issue, you need to make sure that the translate function is correctly configured in your module. The translate function should be defined in the getTranslations function in the module’s node_helper.js file. Here’s an example of how to define the translate function:<br />
getTranslations: function() {<br />
return {<br />
en: “translations/en.json”,<br />
de: “translations/de.json”<br />
};<br />
},</p>
<p dir="auto">translate: function(key) {<br />
return this.translate(key);<br />
}<br />
This assumes that you have translation files for English and German located in the translations folder of your module. You may need to modify this code to match the structure of your module.</p>
<p dir="auto">I hope this helps! Let me know if you have any other questions.</p>
]]></description><link>https://forum.magicmirror.builders/post/107989</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107989</guid><dc:creator><![CDATA[Jose Walsh]]></dc:creator><pubDate>Wed, 22 Feb 2023 13:53:49 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Fritz-Box-Callmonitor: Notification formatting on Wed, 22 Feb 2023 10:00:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wishmaster270" aria-label="Profile: wishmaster270">@<bdi>wishmaster270</bdi></a> and <a class="plugin-mentions-user plugin-mentions-a" href="/user/jan-0" aria-label="Profile: Jan-0">@<bdi>Jan-0</bdi></a> Is there now a current repository with the issues fixed? I would love to use the module as well.<br />
Also it should be added here : <a href="https://github.com/MichMich/MagicMirror/wiki/3rd-party-modules" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MichMich/MagicMirror/wiki/3rd-party-modules</a></p>
]]></description><link>https://forum.magicmirror.builders/post/107987</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107987</guid><dc:creator><![CDATA[coernel]]></dc:creator><pubDate>Wed, 22 Feb 2023 10:00:08 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Fritz-Box-Callmonitor: Notification formatting on Thu, 16 Feb 2023 17:36:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a><br />
I should have checked that. Thank you for the link.<br />
With the current develop branch the formatting works as expected, too.</p>
<p dir="auto">Edit: If the comment is removed of the translation files the translations work as well and the right title is displayed</p>
]]></description><link>https://forum.magicmirror.builders/post/107895</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107895</guid><dc:creator><![CDATA[wishmaster270]]></dc:creator><pubDate>Thu, 16 Feb 2023 17:36:07 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Fritz-Box-Callmonitor: Notification formatting on Thu, 16 Feb 2023 17:25:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wishmaster270" aria-label="Profile: wishmaster270">@<bdi>wishmaster270</bdi></a> known bug. fixed in next release</p>
<p dir="auto"><a href="https://github.com/MichMich/MagicMirror/issues/2828" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MichMich/MagicMirror/issues/2828</a></p>
]]></description><link>https://forum.magicmirror.builders/post/107894</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107894</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 16 Feb 2023 17:25:19 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Fritz-Box-Callmonitor: Notification formatting on Thu, 16 Feb 2023 17:16:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/coernel" aria-label="Profile: coernel">@<bdi>coernel</bdi></a><br />
The pythons script is only responsible to fetch the call history and the phonebook of the fritz box. The call notification is handled by java script.<br />
So should see a alter containing the (wrong formatted) phone number for each incoming call.</p>
<p dir="auto">Are you sure you activated the call notification on your fritz box by dialing</p>
<pre><code>#96*5*
</code></pre>
<p dir="auto">with a phone connected to the box (DECT phone works as well).</p>
<p dir="auto">Edit:<br />
I do not think the formatting problem is related to this module. As of the <a href="https://docs.magicmirror.builders/modules/alert.html#developer-notes" target="_blank" rel="noopener noreferrer nofollow ugc">documentation of the alert module</a> it should be possible to send either simple text or html formatted text.<br />
As a debug test i tried to send html formatted text with one of my other modules which ends in the same problem</p>
]]></description><link>https://forum.magicmirror.builders/post/107893</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107893</guid><dc:creator><![CDATA[wishmaster270]]></dc:creator><pubDate>Thu, 16 Feb 2023 17:16:50 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Fritz-Box-Callmonitor: Notification formatting on Thu, 16 Feb 2023 11:15:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wishmaster270" aria-label="Profile: wishmaster270">@<bdi>wishmaster270</bdi></a> This is great.<br />
I can confirm that executing <code>fritz_acces.py</code> with username and password now works! It results in some structured data:</p>
<pre><code>&lt;Call&gt;&lt;Id&gt;4373&lt;/Id&gt;&lt;Type&gt;3&lt;/Type&gt;&lt;Called&gt;0123456789&lt;/Called&gt;&lt;Caller&gt;SIP: 9328727&lt;/Caller&gt;&lt;CallerNumber&gt;54321&lt;/CallerNumber&gt;&lt;Name&gt;Some fancy Name&lt;/Name&gt;&lt;Numbertype&gt;sip&lt;/Numbertype&gt;&lt;Device&gt;Tardis&lt;/Device&gt;&lt;Port&gt;13&lt;/Port&gt;&lt;Date&gt;03.09.22 12:55&lt;/Date&gt;&lt;Duration&gt;0:02&lt;/Duration&gt;&lt;Count&gt;&lt;/Count&gt;&lt;Path /&gt;&lt;/Call&gt;
</code></pre>
<p dir="auto">I also get the module to show however it does not show active nor missed calls. It just shows “no call”, the spinner and the phonebook.</p>
<p dir="auto">I used this config:</p>
<pre><code class="language-{">			module: 'MMM-FRITZ-Box-Callmonitor-py3',
			position: 'bottom_left',
			header: "Verpasste Anrufe", 
			config: {
				username: "foo",
				password: "bar",
				reloadContactsInterval: 24*60,
				minimumCallLength: 0,
				showContactsStatus: true,
				maximumCallDistance: 60*6,
				maximumCalls: 4,
				fade: false,
				debug: true,
			}
		},
</code></pre>
<p dir="auto">So I guess the communication between the js and the py is faulty.</p>
<p dir="auto">I would like to help you with your formatting though in the end…</p>
]]></description><link>https://forum.magicmirror.builders/post/107888</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107888</guid><dc:creator><![CDATA[coernel]]></dc:creator><pubDate>Thu, 16 Feb 2023 11:15:35 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Fritz-Box-Callmonitor: Notification formatting on Wed, 15 Feb 2023 21:15:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wishmaster270" aria-label="Profile: wishmaster270">@<bdi>wishmaster270</bdi></a><br />
I uploaded my changes in the branch code_update_2023 and did not pullit to the master of the fork.<br />
I will have a look at the pull requests tomorrow.</p>
]]></description><link>https://forum.magicmirror.builders/post/107877</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107877</guid><dc:creator><![CDATA[Jan 0]]></dc:creator><pubDate>Wed, 15 Feb 2023 21:15:24 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Fritz-Box-Callmonitor: Notification formatting on Tue, 14 Feb 2023 20:53:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/coernel" aria-label="Profile: coernel">@<bdi>coernel</bdi></a><br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/jan-0" aria-label="Profile: Jan-0">@<bdi>Jan-0</bdi></a></p>
<p dir="auto">Additional to the wrong rename the <code>fritz_access.py</code> had the mentioned wrong urllib2 imports. I fixed the python script and the import of the <code>PythonShell</code> module in node_helper.js.</p>
<p dir="auto">I created a pull request a few seconds ago.</p>
]]></description><link>https://forum.magicmirror.builders/post/107864</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107864</guid><dc:creator><![CDATA[wishmaster270]]></dc:creator><pubDate>Tue, 14 Feb 2023 20:53:28 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Fritz-Box-Callmonitor: Notification formatting on Tue, 14 Feb 2023 15:59:12 GMT]]></title><description><![CDATA[<p dir="auto">After changing some lines as suggested by sdetweil the MagicMirror loads again.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jan-0" aria-label="Profile: Jan-0">@<bdi>Jan-0</bdi></a> said in <a href="/post/107793">MMM-Fritz-Box-Callmonitor: Notification formatting</a>:</p>
<blockquote>
<p dir="auto">python3 <a href="http://fritz-access.py" target="_blank" rel="noopener noreferrer nofollow ugc">fritz-access.py</a> -u ‘’ -p ‘’</p>
</blockquote>
<p dir="auto">The filename is fritz_access.py. So after executing it I got</p>
<pre><code class="language-java"> print json.dumps({"filename": file, "content": content})
          ^
SyntaxError: invalid syntax
</code></pre>
<p dir="auto">This was easily solded by changing it to <code> print (json.dumps({"filename": file, "content": content}))</code>  (Just adding round brackets) - that was a change from Python2 to Python3.</p>
<p dir="auto">However it was followed by the next error <code>urllib2</code> does not work in Python 3. According to stackoverflow  urllib.error and urllib.request must  be used for Python3.</p>
<p dir="auto"><strong>Are you sure you uploaded the right code to github? It seems you accidentally uploaded th old python2 code!</strong></p>
]]></description><link>https://forum.magicmirror.builders/post/107860</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107860</guid><dc:creator><![CDATA[coernel]]></dc:creator><pubDate>Tue, 14 Feb 2023 15:59:12 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Fritz-Box-Callmonitor: Notification formatting on Fri, 10 Feb 2023 21:01:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jan-0" aria-label="Profile: Jan-0">@<bdi>Jan-0</bdi></a> if you rename a module, you have to rename the folder and the filename AND EDIT the file and change it’s register clause w the right name.</p>
<p dir="auto">modulename - folder<br />
modulename.js<br />
edit modulename.js  and change 1 line of code</p>
]]></description><link>https://forum.magicmirror.builders/post/107794</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107794</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 10 Feb 2023 21:01:50 GMT</pubDate></item></channel></rss>