A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • MMM-MonthlyCalendar(kolbyjack) event styling problem

    Solved
    1
    0 Votes
    1 Posts
    284 Views
    J
    NVM i got it working by removing everything under the var line Im having trouble editing the css of the events here(white boxes), i was able to add borders on them but cant edit the background and text color as i would like to. [image: VyjCoQx.png] I think the problem is because of this in the code but I’m not sure how to change it. I would like the background to be transparent and text color white(always) var div = el("div", { "className": "event", "innerText": text }); if (e.color) { var c = e.color; if (e.fullDayEvent) { div.style.backgroundColor = c; if (c[0] === "#") { var r, g, b, l; if (c.length < 7) { r = parseInt(c[1], 16) * 16 + parseInt(c[1], 16); g = parseInt(c[2], 16) * 16 + parseInt(c[2], 16); b = parseInt(c[3], 16) * 16 + parseInt(c[3], 16); } else { r = parseInt(c.substr(1, 2), 16); g = parseInt(c.substr(3, 2), 16); b = parseInt(c.substr(5, 2), 16); } l = 0.299 * r + 0.587 * g + 0.114 * b; if (l >= 128) { div.style.color = "black"; } } } else { div.style.color = c; } }
  • [RPI4][Buster] MM2 do not want to start

    Unsolved
    3
    0 Votes
    3 Posts
    493 Views
    karsten13K
    which raspberry pi os did you install? It must be one with desktop
  • MMM-CalendarExt2 freezing MagicMirror

    Unsolved mmm-calendarext2 freeze slow calendar
    2
    0 Votes
    2 Posts
    648 Views
    M
    @sg437 I think your ICAL URL might be wrong. Check that URL with the default calendar model. (See the log - what the module said.) And, I don’t recommend putting the upcoming view into the horizontal region. upcoming view has only one slot so it will not match with the horizontal layout. upcoming view in the vertical region or daily view, weeks view in the horizontal region is better. { module: "MMM-CalendarExt2", config: { firstDrawingDelay: 10, calendars : [ { name: "Tottenham", url: "https://www.google.com/calendar/ical/ovb564thnod82u5c4njut98728%40group.calendar.google.com/public/basic.ics", icon: "emojione:chicken" }, { name: "Leeds", url: "https://www.google.com/calendar/ical/h2suh4c1iqvktk4olmfqtth4lg%40group.calendar.google.com/public/basic.ics", icon: "emojione-v1:shield" } ], views: [ { name: "Upcoming", header: "Upcoming Game", mode: "upcoming", position:"top_right", calendars: ['Tottenham'] }, { name: "Daily", mode: "daily", position: "lower_third", calendars: [], type: "row", slotCount: 7, fromNow: -2, useEventTimeRelative: true, } ], scenes: [ { name: "DEFAULT", views:[], }, ], } }, [image: 1633070659266-69a93edb-5e47-4a6a-a254-55953e74993c-image-resized.png]
  • First four-five modules showing, the others are not

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    T
    @sdetweil Luckily, it was the very next one- the default compliments module. I haven’t taken the time to see what is wrong with it. Since everything works now, I’ll leave it disabled until I have time to figure it out.
  • 1 Votes
    4 Posts
    683 Views
    S
    @rikan I have only seen send a notification, or exec a program its not my module, just what I have read and little I have done with it
  • Pi 4 B 4GB

    Unsolved
    8
    0 Votes
    8 Posts
    1k Views
    ankonaskiff17A
    @sdetweil Anything to be done for it? When I have just MM running all is well . Just seems to be a problem when editing. So that is coming from the origin point of link? It is national radar from NWS and I don’t update it locally in config.js I’ll swag this and guess it generates that Vuex stuff locally when the NWS updates the radar image remotely?
  • Calendar Ext2 positionOrder

    Solved
    9
    0 Votes
    9 Posts
    2k Views
    H
    @mmrize you’re exactly right. I will plug in the position order like you have and see what I get. Thanks :)… I was up till 2AM very irritated I couldn’t get it right lol.
  • MagicMirror on Windows 10

    Unsolved
    2
    0 Votes
    2 Posts
    376 Views
    S
    @esim how did u install? there are some steps that don’t complete correctly on windows. do this cd MagicMirror/vendor npm install cd ../fonts npm install cd .. now u can npm start
  • MMM-CalendarExt2 Example Request

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    M
    @reniwqwil5 [image: 1632606428798-1bf646b4-94ef-4359-93ee-482ea0695851-image.png] { module: "MMM-CalendarExt2", config: { calendars: [ { name: "Tottenham", url: "https://www.google.com/calendar/ical/ovb564thnod82u5c4njut98728%40group.calendar.google.com/public/basic.ics", icon: "emojione:chicken" }, { name: "Leeds", url: "https://www.google.com/calendar/ical/h2suh4c1iqvktk4olmfqtth4lg%40group.calendar.google.com/public/basic.ics", icon: "emojione-v1:shield" } ], views: [ { name: "UPCOMING_GAME", calendars: ["Tottenham", "Leeds"], mode: "upcoming", slotMaxHeight: "240px", position: "top_right", }, { name: "MONTH", calendars: ["Tottenham", "Leeds"], mode: "month", slotMaxHeight: "75px", position: "bottom_bar" } ], scenes: [ { name: "DEFAULT", views: ["UPCOMING_GAME", "MONTH"], } ] } }, More config options and CSS customizing are needed to display pretty, but anyway, you can understand the basic concept. Calendars -> Views -> Secnes. I was the original author of this module, but I ran away from this module’s maintenance, sorry. (I had bad days personally at that period) I always thought this module has too much over-spec to use simply. Due to the dying of dependency - momentJS’, this module would be archived anyway in near future. I have no idea whether I make alternative or equivalent at this moment.
  • NPM COMMAND NOT FOUND

    Unsolved
    11
    0 Votes
    11 Posts
    3k Views
    S
    @uok825 I don’t know either
  • New MM install- Raspberry pi 4 shuts off on its own

    Unsolved
    4
    0 Votes
    4 Posts
    708 Views
    S
    @nneuland yeh, mine is listed in the ‘alternative’ section below manual note that I have a script to disable screensaver down at the bottom too
  • MMM-pages & mmm-remote-control

    Unsolved
    12
    0 Votes
    12 Posts
    4k Views
    A
    @waki @m1scha the page that you would like to rotate to is given as a url parameter. Replace localhost:8080 with your own ip’s. curl -X GET "http://localhost:8080/api/notification/PAGE_CHANGED/0" -H "accept: application/json" You can test it out with the Swagger API: http://localhost:8080/api/docs/#/Module Control/get_api_notification___notification_____p_
  • MagicMirror fails to start

    Unsolved
    12
    0 Votes
    12 Posts
    3k Views
    S
    @droidus no idea, did u install as pi and now running as another user? did u install as root (using sudo), now running as pi? see https://askubuntu.com/questions/1238389/invalid-mit-magic-cookie-1-key-message-while-running-a-program-with-the-termin if you used my script (just copy/paste the one line from my github page) , logged on as pi, it should have done everything for you what I do use the OS imager tool, install the latest OS image (full desktop, code name buster) on the sd card boot the sd card, turn on ssh reboot the sd card logon via ssh from windows (or linux) machine copy/paste my install script line into the ssh terminal window wait…
  • Cronjob doesn't work with my MM

    16
    0 Votes
    16 Posts
    4k Views
    foxF
    I it working now for you? :)
  • Calendar Event Display start and end date

    Solved
    7
    0 Votes
    7 Posts
    1k Views
    P
    @sdetweil Ok i think i got it now… if (this.config.showEnd) { timeWrapper.innerHTML += “-”; timeWrapper.innerHTML += this.capFirst(moment(event.endDate, “x”).format(this.config.dateEndFormat)); } else // For full day events we use the fullDayEventDateFormat if (event.fullDayEvent) {
  • Manual installation error

    Solved
    10
    0 Votes
    10 Posts
    1k Views
    S
    @dodo said in Manual installation error: should be the default for dummies like myself! not dummy, just inexperienced… my script was from the base, but it wasn’t possible to update as frequently as we all needed. my intent is to get you up and running. a year from now you will know a lot more
  • weather forecast

    Unsolved
    4
    1
    0 Votes
    4 Posts
    796 Views
    S
    @clezio desculpa. não entendo.
  • Clear Cache on RPi without keyboard

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    ?
    @sdetweil That did it, thank you so much!
  • MMM-pihole-stats refuses to update

    Solved
    7
    0 Votes
    7 Posts
    2k Views
    A
    @zanix The update worked perfectly… Would not have found it myself, so anyone else looking to correct the issue follow the link above.
  • What is your backup and restore method?

    18
    0 Votes
    18 Posts
    8k Views
    cowboysdudeC
    @swvalenti Yes but this ONLY works for an RPI4… So I KNOW someone is going to see this and try it on a 3 and come back with ‘it doesn’t work’… it does. You can also do it on a 3 but it’s different… https://thepi.io/how-to-boot-your-raspberry-pi-from-a-usb-mass-storage-device/ Just replying here so I can save myself trouble when someone tries it LOL