@coernel I now also pushed the changes into the master https://github.com/drtorchwood/MMM-FRITZ-Box-Callmonitor-py3/tree/master
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-Fritz-Box-Callmonitor: Notification formatting
-
RE: MMM-Fritz-Box-Callmonitor: Notification formatting
@wishmaster270
I uploaded my changes in the branch code_update_2023 and did not pullit to the master of the fork.
I will have a look at the pull requests tomorrow. -
RE: MMM-Fritz-Box-Callmonitor: Notification formatting
@coernel Perhaps, my renaming of the module is the problem. On my computer, the module is stilled named “MMM-FRITZ-Box-Callmonitor”. I only renamed it for the branch.
I will check this in the next days.
Doespython3 fritz-access.py -u '<username>' -p '<password>'
work? -
RE: MMM-Fritz-Box-Callmonitor: Notification formatting
Thanks @coernel
Here is the fork and the development branch: https://github.com/drtorchwood/MMM-FRITZ-Box-Callmonitor-py3/tree/code_update_2023 -
MMM-Fritz-Box-Callmonitor: Notification formatting
Hi,
I’m referring to this module (https://github.com/paviro/MMM-FRITZ-Box-Callmonitor). 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.
The reason seems to be in line 85 of the fileMMM-FRITZ-Box-Callmonitor.js
:// Override socket notification handler. socketNotificationReceived: function(notification, payload) { if (notification === "call") { //Show alert on UI this.sendNotification("SHOW_ALERT", { title: this.translate("title"), message: "<span style='font-size:" + this.config.numberFontSize.toString() + "px'>" + payload + "<span>", imageFA: "phone" }); //Set active Alert to current call this.activeAlert = payload; }
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.
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?Thanks
-
Read calendar credentials from netrc file
Hi,
I was wondering if it would be possible to read the username and password for a web calendar from the
~/.netrc
file without giving this information in the MM config file.
Because wget and curl are reading this file anyhow, it would make maintaining credentials easier. -
RE: Pi Zero as MagicMirror Client
@sdetweil Thanks for the hint. That improved the situation a lot but it is still not sufficient. I have different pages rotating every 10 seconds and I guess that’s too resource consuming. The CPU is 100 % used now.
Perhaps, I need to wait until the PI Zero 2 is available again (at a reasonable price). -
Pi Zero as MagicMirror Client
Hey,
I found an old Pi Zero (not the Pi Zero 2) and wanted to use it as a client for a MagicMirror. The server is running fine. I can access the MM from another computer.
Now, I started the the Pi Zero (bullseye with desktop) and called the MM page in chromium. However, it is too slow: the page is not completely loaded, the clock is not running smoothly.Does anyone know of a better solution (browser options, another browser, less resource usage, …) on a Pi Zero?
Thanks,
Jan