Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. pillbug22
    P
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 7
    • Best 0
    • Groups 0

    pillbug22

    @pillbug22

    0
    Reputation
    4
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    pillbug22 Follow

    Latest posts made by pillbug22

    • RE: MMM-MP3Player

      Greetings

      Did you ever get MMM-MP3Player working? I was able to get it installed, running MagicMirror without issues (thank you to another post where we have to rebuild some stuff for newer node.js versions), and it shows the widget on the Mirror, but doesn’t do anything once a USB stick is plugged in.

      Also tried rebooting with the stick inserted, but does not play. Watching the console after

      npm run start
      

      shows it started the socket and started the MMM-MP3Player module, but no info is displayed when inserting the USB stick.

      posted in Entertainment
      P
      pillbug22
    • RE: MMM-CalendarExt2 fullday events showing as 2 days

      I’ve seen similar issues even in Outlook before. Depending on how the “all day” event is created, the client showing you the event is interpreting it as spilling over into the 2nd day.

      For example, if you have an all-day event that is being seen as

      Monday, Jan 1, 2020 @ 0000 and goes through Tuesday, Jan 2, 2020 @ 0000

      the client app reading that appointment is looking at the ending date, and realizing it’s touching Tuesday, so it displays as Tuesday as well.

      This usually can be tested by manually creating 2 appointments that both start at midnight. One of them to match the above scenario that “touches” midnight on the next day, and then do another manual appointment that stops at 23:59, and see if the appointment that “touches” the next day shows up on both days of the calendar.

      posted in Troubleshooting
      P
      pillbug22
    • RE: Node.js Compile Version Mis-Matches?

      I thought I’d already done an Electron-rebuild install from the previous troubleshooting listed, but of course I wanted to do it again to verify:

      $ cd MagicMirror
      $ cd modules
      $ cd MMM-MP3Player
      $ npm install electron-rebuild
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      npm WARN MMM-MP3Player@1.0.0 No repository field.
      
      + electron-rebuild@1.11.0
      updated 1 package and audited 204 packages in 17.328s
      
      1 package is looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      
      $ node_modules/.bin/electron-rebuild
      ✔ Rebuild Complete
      
      

      then go back up some folders and run:

      $ npm run start
      

      …aaaaaand, it opens as expected. Absolutely no clue what was different this time around. I went back and looked, and looks like I did already do this as per previous troubleshooting I found, but there must have been something different about how you guys suggested I install and run the electron-rebuild than what I did previously.

      Another one of those “just needed a different set of eyes on it” issues, but glad you all were here to be the ones to look 🙂 Thank you much!

      Now to go play around some more and see if I can actually get it to work correctly…but at least the mirror is back up and running

      posted in Troubleshooting
      P
      pillbug22
    • Node.js Compile Version Mis-Matches?

      I’m trying to MMM-MP3Player up and running to play music locally.

      Following the install instructions on GitHub, I added the 3 dependencies listed, then cloned the MMM-MP3Player project down as instructed.

      Now when starting up the MagicMirror, I’m getting the following:

      [2020-06-03 09:44:27.792] [LOG]    Whoops! There was an uncaught exception...
      [2020-06-03 09:44:27.793] [ERROR]  Error: The module '/home/pi/MagicMirror/modules/MMM-MP3Player/node_modules/usb/build/Release/usb_bindings.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 64. This version of Node.js requires
      NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
          at process.func (electron/js2c/asar.js:138:31)
          at process.func [as dlopen] (electron/js2c/asar.js:138:31)
          at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
          at Object.func (electron/js2c/asar.js:138:31)
          at Object.func [as .node] (electron/js2c/asar.js:138:31)
          at Module.load (internal/modules/cjs/loader.js:645:32)
          at Function.Module._load (internal/modules/cjs/loader.js:560:12)
          at Module.require (internal/modules/cjs/loader.js:685:19)
          at require (internal/modules/cjs/helpers.js:16:16)
          at bindings (/home/pi/MagicMirror/modules/MMM-MP3Player/node_modules/bindings/bindings.js:112:48)
      

      Based on a similar issue/troubleshooting I found, I have done:

      cd /MagicMirror/modules/MMM-MP3Player
      rm -rf node_modules/usb
      npm cache clear
      rm package-lock.json
      npm i
      

      It does some work to rebuild/install the MMM-MP3Player module again, but I still receive the same error when starting up the MagicMirror next time.

      I then tried the 2nd and 3rd highest proposed solutions on there (electron-rebuild and –update-binary, but wind up with same error each time when trying to launch the MagicMirror.

      I’m guessing there is a different file that needs to be rebuilt, or a way to force using a specific version of Node.js?

      posted in Troubleshooting
      P
      pillbug22
    • RE: Request for Suggestion: Daily Calendar View with Details?

      I eventually figured out I needed to edit the CSS (.eventSub sections) to allow showing of the event details, but that module works - thanks!

      posted in Troubleshooting
      P
      pillbug22
    • RE: MMM-CalendarExt2

      @SuperSense
      In case you haven’t found this yet, try looking in MMM-CalendarExt2.css , then look for the CSS block for

      .CX2 .period.daily .event.fullday.oneday .startDate {
        display:inline;
      }
      

      Change the “inline” to “none” and see if that does what you are looking for.

      posted in Utilities
      P
      pillbug22
    • Request for Suggestion: Daily Calendar View with Details?

      Hello all,

      I’m looking for some suggestions on how to approach the next customization.

      I’ve been able to integrate into a specific Google calendar and used it to show the next few days of “all-day” appointments. What I’m thinking now is to make it show only the current day, but also show the notes/details of that appointment. Ideally, It would have the appointment title as the main title shown, then show the appointment details in the same formatting as they are shown in the Google calendar, with bulleted lists and all. Think of it like a task list for that day, which is scheduled out in advance on a calendar.

      I thought maybe a workaround would be the RSS feed, but Google doesn’t publish a RSS feed of the calendars anymore (and not sure if the formatting of the details would stay the same). Granted, I’ve only used (and reviewed documentation) for the built-in calendar module. Maybe there is a different calendar module that does this?

      Anyone done something similar or have a suggestion to try?

      posted in Troubleshooting
      P
      pillbug22