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

    Posts

    Recent Best Controversial
    • RE: Changing icons of the modules Current Weather and Weather Forecast

      @sdetweil I’m still here, I made the modifications in css main and js.config I placed the command:

      bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
      

      here is what I have

      pi@MagicMirror:~ $ bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
      update log will be in /home/pi/MagicMirror/installers/upgrade.log
      
      doing test run = true, NO updates will be applied!
      
      Check current Node installation ...
      Node currently installed. Checking version number.
      Minimum Node version: v18.18.0
      Installed Node version: v14.21.3
      Node should be upgraded.
      pi@MagicMirror:~ $
      
      posted in Development
      M
      Manu85
    • RE: Changing icons of the modules Current Weather and Weather Forecast

      @sdetweil ok, thank you for your answers, I’m going to do the weather.js and according to what you tell me I’m going to leave aside the 2 lock.json and then I’ll stop for this evening my brain is upside down , have a good day…and see you tomorrow if you want to continue helping me

      posted in Development
      M
      Manu85
    • RE: Changing icons of the modules Current Weather and Weather Forecast

      @sdetweil one last one for which I don’t know what to do either, thank you again for your help

      6aff6a14-a3ca-454d-9cd3-12ec0f9aedee-image.png

      posted in Development
      M
      Manu85
    • RE: Changing icons of the modules Current Weather and Weather Forecast

      @sdetweil another example that bothers me

      f56aa934-4612-44a9-8c45-5cbec03da546-image.png

      posted in Development
      M
      Manu85
    • RE: Changing icons of the modules Current Weather and Weather Forecast

      @sdetweil I’m trying to understand and I’m having a lot of trouble, in the following example, I haven’t touched anything (I’m almost sure) and I have two lines, the first in red and the second in Green:
      -/* MagicMirror²
      +/* Magic Mirror
      I can’t put the green line in my js.config file, right?
      I’m sorry but I’m trying to understand

      diff --git a/modules/default/calendar/calendar.js b/modules/default/calendar/cal                                                                                                                                                             endar.js
      index 2ef9ca9c..4f70a1e9 100644
      --- a/modules/default/calendar/calendar.js
      +++ b/modules/default/calendar/calendar.js
      @@ -1,6 +1,6 @@
       /* global cloneObject */
      
      -/* MagicMirror²
      +/* Magic Mirror
        * Module: Calendar
        *
      
      posted in Development
      M
      Manu85
    • RE: Changing icons of the modules Current Weather and Weather Forecast

      @sdetweil So I have to make the corrections manually in the files concerned by replacing the red lines with green lines, is that it?

      posted in Development
      M
      Manu85
    • RE: Changing icons of the modules Current Weather and Weather Forecast

      @sdetweil yes, now thanks to you I understand the importance of js and css files

      posted in Development
      M
      Manu85
    • RE: Changing icons of the modules Current Weather and Weather Forecast

      @sdetweil for calendar I got this return and the cursor did not return to cd ~/MagicMirror/ I just have two points at the bottom of the file

      pi@MagicMirror:~/MagicMirror $ git diff modules/default/calendar/calendar.js
      diff --git a/modules/default/calendar/calendar.js b/modules/default/calendar/cal                                                                                                                                                             endar.js
      index 2ef9ca9c..4f70a1e9 100644
      --- a/modules/default/calendar/calendar.js
      +++ b/modules/default/calendar/calendar.js
      @@ -1,6 +1,6 @@
       /* global cloneObject */
      
      -/* MagicMirror²
      +/* Magic Mirror
        * Module: Calendar
        *
        * By Michael Teeuw https://michaelteeuw.nl
      @@ -11,11 +11,8 @@ Module.register("calendar", {
              defaults: {
                      maximumEntries: 10, // Total Maximum Entries
                      maximumNumberOfDays: 365,
      -               limitDays: 0, // Limit the number of days shown, 0 = no limit
      -               pastDaysCount: 0,
                      displaySymbol: true,
      -               defaultSymbol: "calendar-alt", // Fontawesome Symbol see https:/                                                                                                                                                             /fontawesome.com/cheatsheet?from=io
      -               defaultSymbolClassName: "fas fa-fw fa-",
      :...skipping...
      diff --git a/modules/default/calendar/calendar.js b/modules/default/calendar/calendar.js
      index 2ef9ca9c..4f70a1e9 100644
      --- a/modules/default/calendar/calendar.js
      +++ b/modules/default/calendar/calendar.js
      @@ -1,6 +1,6 @@
       /* global cloneObject */
      
      -/* MagicMirror²
      +/* Magic Mirror
        * Module: Calendar
        *
        * By Michael Teeuw https://michaelteeuw.nl
      @@ -11,11 +11,8 @@ Module.register("calendar", {
              defaults: {
                      maximumEntries: 10, // Total Maximum Entries
                      maximumNumberOfDays: 365,
      -               limitDays: 0, // Limit the number of days shown, 0 = no limit
      -               pastDaysCount: 0,
                      displaySymbol: true,
      -               defaultSymbol: "calendar-alt", // Fontawesome Symbol see https://fontawesome.com/cheatsheet?from=io
      -               defaultSymbolClassName: "fas fa-fw fa-",
      +               defaultSymbol: "calendar", // Fontawesome Symbol see https://fontawesome.com/cheatsheet?from=io
                      showLocation: false,
                      displayRepeatingCountTitle: false,
                      defaultRepeatingCountTitle: "",
      @@ -27,25 +24,23 @@ Module.register("calendar", {
                      maxEventTitleLines: 3,
                      fetchInterval: 5 * 60 * 1000, // Update every 5 minutes.
                      animationSpeed: 2000,
      -               fade: true,
      +               fade: false,
                      urgency: 7,
      -               timeFormat: "relative",
      -               dateFormat: "MMM Do",
      +               timeFormat: "absolute",
      +               dateFormat: "Do MMM HH:mm",
                      dateEndFormat: "LT",
      -               fullDayEventDateFormat: "MMM Do",
      +               fullDayEventDateFormat: "Do MMM",
                      showEnd: false,
                      getRelative: 6,
                      fadePoint: 0.25, // Start on 1/4th of the list.
                      hidePrivate: false,
                      hideOngoing: false,
      -               hideTime: false,
      -               showTimeToday: false,
                      colored: false,
      -               customEvents: [], // Array of {keyword: "", symbol: "", color: ""} where Keyword is a regexp and symbol/color are to be applied for matched
      +               coloredSymbolOnly: false,
                      tableClass: "small",
                      calendars: [
                              {
      -                               symbol: "calendar-alt",
      +                               symbol: "calendar",
                                      url: "https://www.calendarlabs.com/templates/ical/US-Holidays.ics"
                              }
                      ],
      @@ -60,18 +55,9 @@ Module.register("calendar", {
                      excludedEvents: [],
                      sliceMultiDayEvents: false,
                      broadcastPastEvents: false,
      -               nextDaysRelative: false,
      :
      
      posted in Development
      M
      Manu85
    • RE: Changing icons of the modules Current Weather and Weather Forecast

      @sdetweil ok, I do it you are too strong

      posted in Development
      M
      Manu85
    • RE: Changing icons of the modules Current Weather and Weather Forecast

      @sdetweil ok if I understand correctly, I do this for all modules which presented a problem, putting the full address for each module? example :

      git diff modules/default/calendar/calendar.js
      

      , I just

      posted in Development
      M
      Manu85
    • 1
    • 2
    • 10
    • 11
    • 12
    • 13
    • 14
    • 28
    • 29
    • 12 / 29