MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. codac
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    C
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 15
    • Posts 61
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Time format in default calendar module

      @sdetweil I know and this is what I did. But it seems that the calendar module is not respecting the flags that have been set. Maybe a bug?

      What I understand out of the doc is that the format can only be changed if the timeFormat is absolute.
      But to be honest, in my case it just doesn’t matter at all. The format won’t change, no matter if I use relative or absolute.

      With Absolute it always says “In one day”
      With relative it says “Tomorrow at 12:00 o’clock”

      The values for dateFormat seem to get ignored.
      I tried “DD-MM-YYYY”, “MMM Do”, “LT” for both cases relative and absolute.

      What am I missing?

      posted in Troubleshooting
      C
      codac
    • RE: Alignmend of modules

      @majorc The question with the MMM-DWD-WarnWeather module I can answer. Was a bit tricky to find out, but what works for me is to set the follwing into the custom.css:

      .MMM-DWD-WarnWeather .warning {
          float: right;
      }
      
      posted in Troubleshooting
      C
      codac
    • Time format in default calendar module

      I would like to change the way the time information gets displayed within the default calendar module.

      The first entry says “In 6 hours”, instead I would like it to display "“Today at 12:00”
      The second entry says “Today at 20:00 o’clock” and I would like to remove the “o’clock” at the end and habe instead "Today at 20:00 "

      mm.JPG

      How would the config look like?

      My config:

                              module: "calendar",
                              header: "Calednarname",
                              position: "top_right",
                              config: {
                                      displaySymbol: false,
                                      maxTitleLength: 20,
                                      showLocation: false,
                                      wrapEvents: true,
                                      maxTitleLines: 3,
                                      nextDaysRelative: true,
                                      selfSignedCert: true,
                                      timeFormat : "relative",
                                      dateFormat: "Do MMM",
                                      fullDayEventDateFormat : "Do MMM",
                                      displayRepeatingCountTitle: true,
                                      calendars: [
                                              {
                                                      url: "<calendar-url>",
                                              },
                                      ],
                              },
      
      
      posted in Troubleshooting
      C
      codac
    • RE: Alignmend of modules

      @karsten13 correct they are all top_right. Your suggestion worked:

      .MMM-DWD-WarnWeather .status {
          font-family: "SFPro";
          text-align: right;
      }
      

      Your hint with playing with css in my browser helped to figure out that currentweather and weatherforecast behave like this because of a max-width of 325 that I already had set in the custom.css, as where the calendar has 475px.

      posted in Troubleshooting
      C
      codac
    • Alignmend of modules

      As I have the default calendar plugin, which needs a width of 475px, the upper modules currentweather, weatherforecast and MMM-DWD-WarnWeather are not really right-aligned. As you can see on the screenshot, I would like to keep the module on the right border of the frame. For the DWD-WarnWeather module, the module itself is placed correct, but the content is not right aligned.

      What Do I need to do in order to fix that?

      mm.JPG

      posted in Troubleshooting
      C
      codac
    • MMM-CalendarExt2 not showing up

      I have already searched the other posts regarding this topic, but no solution worked for me. The calendar is a Nextcloud calendar, hence the ?export part.

      The module is simply not showing up and I can’t find the error.

      The config is:

                      {
                              module: "MMM-CalendarExt2",
                              config: {
                                      calendars: [
                                                  {
                                                              name: "PrivateCalendar",
                                                              url: "https://<usernam>:<password>@<hostname>/remote.php/dav/calendars/<username>/privatecalendar?export",
                                                  },
                                      ],
                                      views: [
                                              {
                                                      mode: "daily",
                                                      locale: "de-DE",
                                                      position: "top_right",
                                                      calendars: ["PrivateCalendar"],
                                              },
                                      ],
                                      scenes: [
                                              {
                                                      name: "DEFAULT",
                                                      views: [],
                                              },
                                      ],
                              },
                      },
      
      posted in Troubleshooting
      C
      codac
    • RE: Default calendar and Nextcloud CalDav

      I’m still struggeling. I have tried several versions of the url and with credentials in the url or as a parameter, nothing works and the MagicMirror shows: loading calendar…

      The weird thing is that the URL itself works like a charm as long as I post it in a web browser. I do get an .ics file immediately.

      So maybe if the url is correct, I do need to change some settings in nextcloud?
      For example has the calendar to be public?

      My current working (in browser only) version is:

      calendars: [
                           {
                           symbol: "calendar-check",
                           url: "https://USERNAME:PASSWORD@DOMAIN/remote.php/dav/calendars/USERNAME/persoenlich/?export",
                           }
                          ]
      

      Any help?

      posted in Troubleshooting
      C
      codac
    • RE: Fresh Installation stuck at node ./download-chromedriver.js

      Reason: Downloding electron takes for ages as the download was below 1kb/s.
      Solution: Executing the following command using a faster chinese mirror:

      ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/ npm install --prefix ~/MagicMirror electron --save-dev
      
      posted in Troubleshooting
      C
      codac
    • Fresh Installation stuck at node ./download-chromedriver.js

      Today I’ve followed this tutorial in order to make a new install of Raspbian Stretch and MagicMirror.

      No matter if I install MagicMirror with the automated script or I execute the commands manually following the manual, every time I get stuck at the following step:

      pi@magicmirror:~/MagicMirror $ npm install && npm start
      
      npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates.
      
      npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
      
      > electron-chromedriver@1.8.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver
      
      > node ./download-chromedriver.js
      
      

      Even after over an hour of waiting, the process won’t continue.

      Any help is appreciated.

      posted in Troubleshooting installation stopping program
      C
      codac
    • RE: Fully uninstall/remove MagicMirror

      In the installation Script i saw an installation of PM2, the Splash Screen and some more, that would then still be kept in the system…

      posted in Troubleshooting
      C
      codac
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 6 / 7