Read the statement by Michael Teeuw here.
MMM-CalendarExt2
-
@Hram2008
First, I’m not sureemoji
could be displayable on Electron(Chromium) of Raspbian without any additional things(font?). I have no RPI at this moment, so can’t test.
But I believe it could, And at least, on my other SBCs, it works.Frankly says, How to transform exists already in the wiki of github repository, Anyway, I’ll show it again with another sample.
Before
Add
transform
into your target View. (Or you can apply it globally bydefaultSet
transform: (event) => { event.title = event.title.replace(/FC/g, "⚽") event.title = event.title.replace(" - ", " VS. ") event.title = event.title.replace("(T.B.A.)", "") event.title = event.title.replace("Bayern München", `< img src='https://logodix.com/logo/337534.jpg' height='20px' width='100px' >`) return event }
Then It will show like this;
After
-
@Sean
Thank you for taking the time to respond, not quite what i was looking to do but it did point me in the right direction. -
Are they known issues on raspberry pi 2? I’m working on configs without success. Black screen, nothing, but other modules, appears.
Thanks -
@CharlesDS
Without log I cannot tell anything. More detailed info be needed. And Of course, on RPI2, it works. -
Hello,
everything works fine in landscape-mode. If i change to portrait-mode (display_rotate=1
avoid_warnings=1 in /boot/config.txt) my calender is not shown. All other modules are on my mirror.
Can someone give me a hint?
thx
Ralph -
@Zinkeler
Nothing suspicious.
Which view are you using? show me your config about this module. -
@Sean
{ module: ‘MMM-CalendarExt2’,
config: {
scenes:[
{
name: “DEFAULT”,
views: [“upcoming”,“weeks”],
},
],
views:[
{
name: “upcoming”,
mode: “upcoming”,
position: “top_left”,
slotTitle: “Demnächst”,
maxItems: 4,
locale: “de-DE”,
calendars: [“Ralph”],
},
{
name: “weeks”,
mode: “week”,
title: “Woche”,
type: “row”,
position: “bottom_bar”,
slotCount: 1,
locale: “de-DE”,
calendars: [“Ralph”],
},
],
calendars: [
{
name: “Ralph”,
url: “”,
},
],
},
} -
@Zinkeler
Well, nothing suspicious in configuration.
What log says? open dev-tools on MM screen and see what log says. -
@Sean
sorry, I’ve never done that. how can i do that?
thx -
@Zinkeler
Ctrl + Shift + i (Or different per environment) on MM Screen.