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

    Posts

    Recent Best Controversial
    • (solved) MM 2.18 - skipping optional Dependencys

      Hi,

      after a regular Update MM2.17 -> 2.18 ich recieved the Warning:

      MagicMirror installation finished successfully!
      
      
      > magicmirror@2.18.0 prepare /home/pi/MagicMirror
      > [ -f node_modules/.bin/husky ] && husky install || echo no husky installed.
      
      husky - Git hooks installed
      npm notice created a lockfile as package-lock.json. You should commit this file.
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^2.3.2 (node_modules/jest-haste-map/node_modules/fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
      npm WARN tsutils@3.21.0 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.
      

      Somehow- what do i have to perform to install this dependency…?

      npm install typescript
      npm install tsutils
      

      Both have been sucessful.

      This is hindering me to update NPM to Version 8.x.

      pi@MagicMirror:~/MagicMirror $ npm install fsevents
      npm ERR! code EBADPLATFORM
      npm ERR! notsup Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
      npm ERR! notsup Valid OS:    darwin
      npm ERR! notsup Valid Arch:  any
      npm ERR! notsup Actual OS:   linux
      npm ERR! notsup Actual Arch: arm
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2022-01-13T11_54_19_577Z-debug.log
      pi@MagicMirror:~/MagicMirror $
      
      
      posted in Troubleshooting
      O
      OberfragGER
    • RE: MMM 2.18 - NPM? Electron? Silly lifecycle? no MMM

      @karsten13 I have used the “rguglar way” with

      git pull && npm install
      

      In which folder do i have to perform this coommands? Regular MagicMirror-Folder?

      posted in Troubleshooting
      O
      OberfragGER
    • MMM 2.18 - NPM? Electron? Silly lifecycle? no MMM

      Hi,

      after Updating to 2.18 (from 2.17) - every 2 days the MM freezes… I dont have any clue why. The raspberryPi is still rechable.
      NPM Version 6.14.15

      pm2 log MagicMirror:
      ERR! magicmirror@2.18.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      
      
      Logfile:
      0 info it worked if it ends with ok
      1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ]
      2 info using npm@6.14.15
      3 info using node@v14.18.2
      4 verbose run-script [ 'prestart', 'start', 'poststart' ]
      5 info lifecycle magicmirror@2.18.0~prestart: magicmirror@2.18.0
      6 info lifecycle magicmirror@2.18.0~start: magicmirror@2.18.0
      7 verbose lifecycle magicmirror@2.18.0~start: unsafe-perm in lifecycle true
      8 verbose lifecycle magicmirror@2.18.0~start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
      9 verbose lifecycle magicmirror@2.18.0~start: CWD: /home/pi/MagicMirror
      10 silly lifecycle magicmirror@2.18.0~start: Args: [
      10 silly lifecycle   '-c',
      10 silly lifecycle   'DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js'
      10 silly lifecycle ]
      11 silly lifecycle magicmirror@2.18.0~start: Returned: code: 1  signal: null
      12 info lifecycle magicmirror@2.18.0~start: Failed to exec start script
      13 verbose stack Error: magicmirror@2.18.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      13 verbose stack Exit status 1
      13 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
      13 verbose stack     at EventEmitter.emit (events.js:400:28)
      13 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
      13 verbose stack     at ChildProcess.emit (events.js:400:28)
      13 verbose stack     at maybeClose (internal/child_process.js:1058:16)
      13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
      14 verbose pkgid magicmirror@2.18.0
      15 verbose cwd /home/pi/MagicMirror
      16 verbose Linux 5.10.63-v7l+
      17 verbose argv "/usr/bin/node" "/usr/bin/npm" "start"
      18 verbose node v14.18.2
      19 verbose npm  v6.14.15
      20 error code ELIFECYCLE
      21 error errno 1
      22 error magicmirror@2.18.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      22 error Exit status 1
      23 error Failed at the magicmirror@2.18.0 start script.
      23 error This is probably not a problem with npm. There is likely additional logging output above.
      24 verbose exit [ 1, true ]
      
      posted in Troubleshooting
      O
      OberfragGER
    • RE: (solved)Calendar Dates - Problematic behaviour since 2.18

      @sdetweil said in Calendar Dates - Problematic behaviour since 2.18:

      fullDayEventDateFormat

      Thanks a lot, again @sdetweil .

      fullDayEventDateFormat: 'D.MMMM',
      

      did the job!

      posted in Troubleshooting
      O
      OberfragGER
    • RE: (solved)Calendar Dates - Problematic behaviour since 2.18

      @sdetweil I found the problem!
      Its about whole day events!
      c495a7cc-6576-479e-8a5d-7c64748ddd91-image.png

      Now you see both events are from the same (google) calendar.
      “Test - dayevent” is for the whole day.
      “Zahnarzt” is just for a timeslot.

      In the 2.18 releasenotes from @MichMich is mentioned, that “Fixed Calendar showEnd and Full Date overlay (#2629).” Maybe this or another change caused this issue.

      Did you know, where i can add this issue to 2.18??? Whith dateFormat: ‘D.MMMM’, both entries should look in the same format.

      This should moved to Troubleshooting (not modules/troubleshooting).

      posted in Troubleshooting
      O
      OberfragGER
    • RE: (solved)Calendar Dates - Problematic behaviour since 2.18

      @sdetweil Hi @sdetweil , thx for your reply.

      I mean, i added the dateFormat to every single calendar. But i doesnt work too.

          {
            module: 'calendar',
            header: 'Kalender',
            position: 'top_left',
            config: {
      		dateFormat: 'D.MMMM',
      		displayRepeatingCountTitle: true,
      		colored: true,
      		coloredSymbolOnly: true,
              calendars: [
      		  {
      			symbol: 'calendar',
                  url: 'https://www.officeholidays.com/ics-local-name/germany',
      			color: '#fdffe3'
                },
      		  {
      			symbol: 'trash-alt',
      
      			url: 'https://calendar.google.com/calendar/ical/XXXXXXXXX%40import.calendar.google.com/public/basic.ics',
      			color: '#DF0F32',
                              dateFormat: 'D.MMMM',
      			maximumEntries: 5
      		  },
      		  {
                  url: 'https://calendar.google.com/calendar/ical/oberfragger%40gmail.com/private-XXXXXXXXX/basic.ics',
      			symbol: 'calendar-check',
      			color: '#7cd2fc'
                },
      		  {
       			url: 'http://localhost:8080/mmm-googlebirthdaysprovider',
      			repeatingCountTitle: 'Geburtstag',
      			dateFormat: 'D.MMMM',
      			symbol: 'birthday-cake',
      			color: '#F5DA81'
       		  },  
                {
                  symbol: 'flag-checkered',
                  url: 'http://localhost:8080/MMM-Formula1/schedule.ics',
      			color: '#b8e9fc'
                }
              ],
      		customEvents: [
      		  {
      			keyword: 'tsfeiertag',
      			color: '#fcb8d8',
      			symbol: 'gifts'
      		  },
      		  {
      			keyword: 'Könige',
      			color: '#fff2cc',
      			symbol: 'crown'
      		  },
      		  {
      			keyword: 'gelbe',
      			color: '#fff133',
      			symbol: 'recycle'
      		  },
      		  {
      			keyword: 'blaue',
      			color: '#335cff',
      			symbol: 'newspaper'
      		  },
      		  {
      			keyword: 'bäume',
      			color: '#06a929',
      			symbol: 'tree'
      		  },
      		  {
      			keyword: 'oster',
      			color: '#adf542',
      			symbol: 'egg'
      		  }
      		]
            }
          },
      

      In 2.17 it looked so:
      fe3a0afe-73b2-4fce-891f-46f7b5c08809-image.png

      posted in Troubleshooting
      O
      OberfragGER
    • (solved)Calendar Dates - Problematic behaviour since 2.18

      Moin,

      ich habe soeben auf 2.18 upgegraded. Im default calender Modul habe ich ein paar Kalender konfiguert. Leider werden die Daten unterschiedlich formatiert. Warum das denn bzw. wie kann ich das anpassen?

      Recently i updatet to 2.18. Since then the different confgured calendars in the default calendar muduls are showing a different time format. Pretty odd.

      bf4d5eee-94dc-46bf-8985-fc3c2f54f295-image.png

      Gewünschte Formatierung wie unten “25. Januar”. Das kommt aus meinem persönlichen Google-Kalender. Die beiden Einträge darüber sind ein extra Google-Müllkalender (nicht Bestandteil des eigenen Kalenders, aber öffentlich.)

      I want the dates shown like “25. Januar” and not Jan. 25… The right entry is from my personal google calendar, the others are from an extra Google-Calendar and from the ‘MMM-GoogleBirthdaysProvider’-Module. I 2.17 everything was fine!

      Auch die Einträge aus ‘MMM-GoogleBirthdaysProvider’ werden im amerikanischen Format dargestellt (sieht man gerade nicht, da der 10. EIntrag im Screenshot zu dunkel ist).

      Wie bekomme ich da die Formatierung hin? Auch der Versuch nochmal im eigentlichen Kalendereintrag das Datum anzupassen schlägt fehl.

          {
            module: 'calendar',
            header: 'Kalender',
            position: 'top_left',
            config: {
      		dateFormat: 'D.MMMM',
      		displayRepeatingCountTitle: true,
      		colored: true,
      		coloredSymbolOnly: true,
              calendars: [
      		  {
      

      Hier nochmal das Beispiel innerhalb des eigentlichen Kalendereintrags.
      Here the example in one calendar entry. I hoped that this will force the right dateFormat.

      			color: '#DF0F32',
      			maximumEntries: 5,
      			dateFormat: 'D.MMMM',
      		  },
      
      posted in Troubleshooting calendar
      O
      OberfragGER
    • RE: [MMM-MieleAtHome] - Show the status of your Miele@Home Devices

      @vidibi Hi,
      noch ne Frage- gibts auch irgendeine Möglichkeit (custom-css etc.) die Überschrift linksbündig zu machen?

      Ok, found it:

      .MMM-MieleAtHome header {
      text-align: left
      }

      posted in Utilities
      O
      OberfragGER
    • RE: [MMM-MieleAtHome] - Show the status of your Miele@Home Devices

      @vidibi Hi, ich schreibe das auch nochmal in Github.
      In MM Version 2.17 ist das request-Modul rausgeflogen. Deshalb muss dieses bei der Installation berücksichtigt werden.

      Also- in den Modules Folder wechseln und dann:

      npm install request
      

      Nun läuft. Danke für das Modul und das aufgreifen der Icons…sieht ja aus wie in der App. Nice.
      Klappt wie erwartet auch mit dem Geschirrspüler.
      f446773b-1e64-4b2f-a5d7-d823c452d90b-image.png

      posted in Utilities
      O
      OberfragGER
    • RE: Extra offset for MMM-Calendar possible?

      @sdetweil No sorry,
      its not possible to edit the dates. Its an offical calendar from Stadtreinigung Hamburg.

      And also to download it and change that… lets see, but thanks for your hint into that direction.
      Also i have seen that this is an event for the whole day.

      posted in Troubleshooting
      O
      OberfragGER
    • 1 / 1