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

    Posts

    Recent Best Controversial
    • RE: Updated MM2 - Local Host Refused Connection Error

      @sdetweil Thanks I’ll get right on it!

      Sent …

      posted in Troubleshooting
      B
      BD0G
    • RE: Updated MM2 - Local Host Refused Connection Error

      @sdetweil Thank you Very Much for the reply.

      You have always been helpful with issues!
      I ended up running git pull && npm install --only=prod --omit=dev

      From https://docs.magicmirror.builders/getting-started/upgrade-guide.html

      It allows MM to launch. Appears to be reloading / relaunching periodically though.

      posted in Troubleshooting
      B
      BD0G
    • RE: Updated MM2 - Local Host Refused Connection Error

      @BD0G said in Updated and MM2 no longer launches:

      ‘module-alias/register’

      I used this update process https://github.com/sdetweil/MagicMirror_scripts

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

      Also updated npm to latest version

      posted in Troubleshooting
      B
      BD0G
    • Updated MM2 - Local Host Refused Connection Error

      Re: Should I update?

      I just updated and I get a “Connection Refused message” when I launch MM2 .

      Here is the output from when I use npm start.

      pi@MagicMirror:~/MagicMirror/config $ npm start

      magicmirror@2.21.0 start
      ./run-start.sh $1

      node:internal/modules/cjs/loader:959
      throw err;
      ^

      Error: Cannot find module ‘module-alias/register’
      Require stack:

      • /home/pi/MagicMirror/js/app.js
      • /home/pi/MagicMirror/serveronly/index.js
        at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
        at Function.Module._load (node:internal/modules/cjs/loader:804:27)
        at Module.require (node:internal/modules/cjs/loader:1028:19)
        at require (node:internal/modules/cjs/helpers:102:18)
        at Object. (/home/pi/MagicMirror/js/app.js:9:1)
        at Module._compile (node:internal/modules/cjs/loader:1126:14)
        at Object.Module._extensions…js (node:internal/modules/cjs/loader:1180:10)
        at Module.load (node:internal/modules/cjs/loader:1004:32)
        at Function.Module._load (node:internal/modules/cjs/loader:839:12)
        at Module.require (node:internal/modules/cjs/loader:1028:19) {
        code: ‘MODULE_NOT_FOUND’,
        requireStack: [
        ‘/home/pi/MagicMirror/js/app.js’,
        ‘/home/pi/MagicMirror/serveronly/index.js’
        ]
        }
        Starting chromium browser now, have patience, it takes a minute
        –disable-quic --enable-tcp-fast-open --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so --ppapi-flash-args=enable_stagevideo_auto=0 --ppapi-flash-version=
      posted in Troubleshooting
      B
      BD0G
    • RE: Raspbian is fullscreen, but the MM not

      @sdetweil Here is how I rotated mine and probably the same method was used.

      https://www.youtube.com/watch?v=pCB-CHvc6j0

      The video also discusses removing the black border as well.

      posted in Troubleshooting
      B
      BD0G
    • RE: MMM-Sonos - To show what your SONOS is playing.

      I added the code to my custom.css file that was entered within one of the first posts and expected it to provide a new layout and look , but nothing changed?

      Its as if the entries in the custom.css are not being recognized.

      Do I need to add .MMM-Sonos right above the entires?

      Update: Tried that and still no effect.

      posted in Entertainment
      B
      BD0G
    • RE: MMM-Sonos - To show what your SONOS is playing.

      Any way to remove the Source: specifier?

      I tried
      showSource:False,
      within the config.js to no avail.

      posted in Entertainment
      B
      BD0G
    • RE: MMM-Sonos - To show what your SONOS is playing.

      I finally solved this. Turned out I left out the tilde (~) in front of the /node-sonos-http-api within the sonos.sh file. So in essence the directory was never switched to execute the npm start command. So even though my PM2 status of running processes showed Sonos as a running process it was not providing the output data so that the module could display it

      posted in Entertainment
      B
      BD0G
    • RE: PDF Implementation

      If others load one .pdf file to the google drive and then delete all other files in that directory well then the file extension would still be .pdf (right) ? So then one could script it using *.pdf (file that ends in .pdf)

      So whatever actions that were taken were performed upon a file that ended with .pdf

      The file name becomes inconsequential. Just grab all .pdf files (as there will only be one) , download them to a specific directory you create on a local system (ftp sounds like it may be a good option for this) and then use the convert action that @ember1205 speaks of within ImageMagick, upload back to Google Drive via ftp and then (damn! Google Drive will then rename it with another file ID and then the URL that is within the config.js that points to the url will be broken and not display -ugggggg) . I think I understand now.

      Here is a Google Chrome Add on that allows one to Overwrite the same file without changing the file name. It “may” be helpful?
      https://chrome.google.com/webstore/detail/drive-overwrite-file-repl/llanhaaigblafdecdihpppjaeekpddfl?hl=en-US

      It really sounds like you may have to delve into Google App Script to accomplish this. https://developers.google.com/apps-script

      If you have questions about using this scripting tool then I think there is support over on www.stackoverflow.com

      I am not a Google Script Coder so I cannot be of any help there.

      posted in Utilities
      B
      BD0G
    • RE: PDF Implementation

      MMM-Iframe has been overhauled and become MMM-SmartWebDisplay.

      This module allows one to point to a website URL (one or multiple-that are displayed upon a time interval)

      What one could do is install that module and then point it to the address of the URL with a static file name.

      Then create a simple batch script that changes the name of the latest .pdf file to the .pdf file named in the url that is within the config.js file under the MMM-SmartWebDisplay settings.

      This batch file would rename the .pdf file locally on the hard drive of a PC and then automatically FTP the file up to a server. Google Drive allows ftp right?

      Want to send me a link to the .pdf file so I can try to display it within MMM-SmartDisplay?

      You can PM if that is needed as well.

      posted in Utilities
      B
      BD0G
    • 1
    • 2
    • 3
    • 4
    • 5
    • 15
    • 16
    • 2 / 16