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

    Posts

    Recent Best Controversial
    • My Day, visually

      Put this together by fits and starts.
      Radar weather image, weather forecast and weather current are from weather.gov or National Weather Service (radar image)picmarkup.jpg

      posted in Show your Mirror
      ankonaskiff17A
      ankonaskiff17
    • Bring Forward/Send Back

      If I have two modules , each of which occupies a different zone is there a way to set which module overlays the other?
      I have iframe module set top_center then stock ticker in bottom bar.
      Ticker runs behind iframe but I want to run it in front of iframe.

      posted in Custom CSS
      ankonaskiff17A
      ankonaskiff17
    • RE: NPM Vulnerabilities Alert.

      @sdetweil That MMM-MoonPhase module just seems hugely bloated compared to the rest of the modules. It’s like writer used some pre-built package to write module and most of it is not being used.
      Was wondering how to remove some of that, I know how to comment out a line of code. Is there a way to do same but at the directory level?
      It runs so probably not worth the effort.

      posted in Troubleshooting
      ankonaskiff17A
      ankonaskiff17
    • RE: NPM Vulnerabilities Alert.

      @sdetweil Is there a way to tell what libraries, dependencies, files, whatever, that a given module is using?

      posted in Troubleshooting
      ankonaskiff17A
      ankonaskiff17
    • NPM Vulnerabilities Alert.

      I installed a module yesterday MMM-MoonPhase and after I ran npm install I got a whole host of alerts talking about high severity vulnerabilities tied to underscore.js
      NPM also offered up a solution npm audit fix --force which I ran. It took me a little bit to figure out what I was being told and I can’t replicate because it appeared to resolve those vulnerabilities.
      What I perceive the below to be telling me is that if I am using underscore from version 1.3.2 to 1.12.0 that is where the vulnerability lies. I installed underscorejs version 1.13.1 so I should be in the clear?

      pi@mirror:~/MagicMirror/modules/MMM-MoonPhase $ npm audit
      # npm audit report

      underscore 1.3.2 - 1.12.0
      Severity: high
      Arbitrary Code Execution in underscore - https://github.com/advisories/GHSA-cf4h-3jhx-xvhq
      fix available via `npm audit fix
      node_modules/nomnom/node_modules/underscore
      nomnom >=1.6.0
      Depends on vulnerable versions of underscore
      node_modules/nomnom

      2 high severity vulnerabilities

      To address all issues, run:
      npm audit fix

      posted in Troubleshooting
      ankonaskiff17A
      ankonaskiff17
    • RE: Update script not updating

      @sdetweil That is standard/typical of how to update a module?

      Resolved notification

      posted in Troubleshooting
      ankonaskiff17A
      ankonaskiff17
    • RE: Update script not updating

      @sdetweil I found a different module with update instructions and did git pull in MMM-Jast but git pull yielded the following

      From https://github.com/jalibu/MMM-Jast
      5a5f781..8b771b6 main -> origin/main
      * [new tag] v2.6.3 -> v2.6.3
      Updating 5a5f781..8b771b6
      error: Your local changes to the following files would be overwritten by merge:
      package-lock.json
      Please commit your changes or stash them before you merge.
      Aborting
      pi@mirror:~/MagicMirror/modules/MMM-Jast $

      posted in Troubleshooting
      ankonaskiff17A
      ankonaskiff17
    • RE: Update script not updating

      @sdetweil First thing I did with the MMM-Jast notification was to look if there was a section in the Readme about updating module but I think it was triggered externally.

      On Github the dates are older but there is this at very top, How do I address that?

      dependency.jpg

      posted in Troubleshooting
      ankonaskiff17A
      ankonaskiff17
    • Update script not updating

      @sdetweil I used the scripts you provide but I’m having some issues and want to get some clarification so I don’t break the MM I just got running yesterday.

      First script is a run through but with no changes being applied
      Second script is same as first script but with apply attached to end of script which will update any modules or core components that are out of date is how I understand. Is that accurate?

      Also, what are ramifications of answering n to question below?
      I know what the mm.sh issue is and I caused it but it doesn’t cause any functional problems.

      installers/mm.sh
      modules/default/calendar/calendar.js
      do you want to save these files for later (Y/n)?

      I ran the second apply script but it doesn’t seem to be doing anything. I am getting a notification in top banner for update to MMM-Jast but it is not being found by the scripts.
      Shouldn’t calendar.js have been repaired? Shouldn’t it have picked up the MMM-Jast out of date?

      posted in Troubleshooting
      ankonaskiff17A
      ankonaskiff17
    • RE: Text wrapping in table

      @sdetweil I cheated hideTime: true,
      For what I needed it gives the exact view I want.
      Doing that showed a problem that I think is at the Outlook calendar end but some dates are shown as June 3rd while others show as 6 23 with the / missing.

      posted in Custom CSS
      ankonaskiff17A
      ankonaskiff17
    • Text wrapping in table

      I am working on a second instance of default calendar which is pulling in information from a personal calendar.
      I am trying to get it to quit wrapping text but with no success.
      Excel part of my brain says table is two columns wide and I don’t mind if the info in a table cell is truncated. I know what event is but just want visual cue.

      Having same basic problem with the date and time column but not sure where to find how to format the date and time

      posted in Custom CSS
      ankonaskiff17A
      ankonaskiff17
    • RE: Does 'weather' module broadcast the forecasting?

      @MMRIZE @sdetweil The weather.gov API does generate alerts. Now whether you can make that happen in the weather module is well beyond my skill level.
      I use the api to generate something similar to a key to generate the current weather and the forecast weather for local area using the MM weather module.

      See the examples tab Weather API

      posted in Requests
      ankonaskiff17A
      ankonaskiff17
    • RE: Problem with Google generated .ics link

      @sdetweil Sent you an email

      posted in Troubleshooting
      ankonaskiff17A
      ankonaskiff17
    • RE: Problem with Google generated .ics link

      @sdetweil Per Google the only way to get the links is via the PC/Laptop Google Calendar. In their help links they spell that out pretty explicitly and that is how I did it and have always done it. The url generated on settings page is pretty straightforward with only possible error being if you choose public or private url.

      As far as time zone, I’ve attached an image but in screen capture the top Primary was and is correct just as shown. The secondary was some oddball city with time being GMT - 7 hours vs primary being GMT -4 so I changed secondary to be another GMT-4 city.

      I looked last night, but on phone, and it showed correct time.
      Is the 5 in EST5EDT what happens when toggling between EST & EDT & GMT? I dont have any idea if EU has an equivalent to daylight savings timeTime Zone .jpg

      posted in Troubleshooting
      ankonaskiff17A
      ankonaskiff17
    • RE: Problem with Google generated .ics link

      @sdetweil You have any thoughts/ideas about what is going on?
      EST5EDT looks like some sort of mash up of Eastern Standard Time and Eastern Daylight Time and your node-ical comment look like a more complex issue. Are they intertwined?
      Neither of the two would be in my control in just dropping a Google generated URL in the config file.

      posted in Troubleshooting
      ankonaskiff17A
      ankonaskiff17
    • RE: Problem with Google generated .ics link

      @sdetweil All that garbage associated with Holiday calendar is being pulled from the CalendarLabs site but since MM is loading it in list format it just gets lost in the ether?

      posted in Troubleshooting
      ankonaskiff17A
      ankonaskiff17
    • RE: Problem with Google generated .ics link

      @ankonaskiff17 @sdetweil
      That Holiday calendar has a huge amount of garbage associated with it as an aside but if newest is at top its just a lot more of that null business.

      Scroll down you get to that error associated with google calendar that one time then a ton of garbage associated with the holiday calendar.

      posted in Troubleshooting
      ankonaskiff17A
      ankonaskiff17
    • RE: Problem with Google generated .ics link

      @ankonaskiff17 @sdetweil
      ull,null,null,null,null,null,null,null,null,null,null,null]
      [24.04.2022 21:25.05.341] [DEBUG] event.recurrences: undefined
      [24.04.2022 21:25.05.359] [ERROR] Calendar Error. Could not fetch calendar: https://calendar.google.com/c/basic.ics RangeError: Invalid time value
      at Date.toISOString ()
      at /home/pi/MagicMirror/modules/default/calendar/calendarutils.js:314:28
      at Array.forEach ()
      at Object.filterEvents (/home/pi/MagicMirror/modules/default/calendar/calendarutils.js:142:24)
      at /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:74:29
      at processTicksAndRejections (node:internal/process/task_queues:96:5)

      posted in Troubleshooting
      ankonaskiff17A
      ankonaskiff17
    • RE: Problem with Google generated .ics link

      @ankonaskiff17 @sdetweil check email for sample

      posted in Troubleshooting
      ankonaskiff17A
      ankonaskiff17
    • RE: Problem with Google generated .ics link

      @ankonaskiff17 I rebooted pi, MM launched did pm2 stop all,
      got back to MM directory and did npm start and that is ugly. Line after line of the word NULL, then a mish mash of garbage tthen saw VEVENT related to holiday calendar but MM crashed in among all that.

      posted in Troubleshooting
      ankonaskiff17A
      ankonaskiff17
    • 1 / 1