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

    Posts

    Recent Best Controversial
    • RE: Question about backup script

      @sdetweil said in Question about backup script:

      if i find extra files i need a place to store them, so the module name for a folder is created

      Thanks for this explanation - this is what I had assumed.

      Regards,
      Ralf

      posted in General Discussion
      R
      rkorell
    • RE: Question about backup script

      @sdetweil said :

      you could use git config to save those, and avoid the prompts

      Sounds cool.
      How can I do this?

      Thanks!
      Ralf

      posted in General Discussion
      R
      rkorell
    • RE: Question about backup script

      @sdetweil said in Question about backup script:

      hm… I did

      Dear Sam (@sdetweil),
      yes - this worked for me as well :-)

      Now figured out how it works:

      Have issued

      bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror-backup-restore/main/mm_backup.sh)" -r https://github.com/rkorell/MagicMirror -p 
      

      Then I was asked for username and password (twice) and git upload worked…
      It seems git upload now contains a copy of local directory mm_backup.

      If I check both, there are only a few directoris in Github as well as locally - much fewer than total number of installed modules…
      What is the criterium for a module to “earn” a directory or not?

      Thanks a lot!

      Warmest regards,
      Ralf

      posted in General Discussion
      R
      rkorell
    • RE: Question about backup script

      @sdetweil ,

      last trial (after digging in your script I understand that -p is not that correct…)
      So I’ve figured out that reponame and username have their own prefix.
      A prefix for the token is not present, so I assume user:token could be feasible.
      So I came to

      bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror-backup-restore/main/mm_backup.sh) -p -r MagicMirror -u rkorell:ghpthisismyverylongandcryptictokenforgithub"
      

      But this doesn’t work either…
      So I’m desparately looking for the right place to put in the right parameters in the right manner.
      Sorry for being this dumb…
      Regards,
      Ralf

      posted in General Discussion
      R
      rkorell
    • RE: Again -- MMM-Navigate can't get installed.

      @crowimu - Just a quick question: Have you considered to use a newer version of a Pi? A 4B or even 5?
      Pi2 is somewhat old - may there is a kind of a root cause?

      Regards,
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: Again -- MMM-Navigate can't get installed.

      @crowimu
      very unfortunate!

      cross the fingers & good luck for you…

      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: Question about backup script

      @sdetweil Dear Sam,
      seen backup/restore days ago and as the question arises here - I struggle with the commend line :-(

      bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror-backup-restore/main/mm_backup.sh)" -h
      

      works - I get some hints - same as on your github repo.

      bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror-backup-restore/main/mm_backup.sh)" -p
      

      doesn’t work?
      "illegal option '- ’ " is the error message.
      Where can I place the -p option?
      (inside the brackets I get an errormessage from curl …)

      This is also true if I add repo- and username and the token.
      There is my second question: how to pass the parameters?

      I’ve tried

      bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror-backup-restore/main/mm_backup.sh)" -p MagicMirror rkorell ghp_thisismyverylongandcryptictokenforgithub
      

      But with no luck.
      MagicMirror is a fresh created repo, rkorell is my username on GitHub - token is fresh created private token according your guidance in module description.

      Can you please help?

      Thanks a LOT -as always,
      Ralf

      posted in General Discussion
      R
      rkorell
    • RE: Which solution for touching screen?

      @com1cedric

      I had tried a Hannspree Touch monitor which worked out of the box with Raspian OS - without any driver installation.
      So it should work with MagicMirror as well.
      Video is connected via HDMI and touch is realized via USB.

      I do not use it for my MagigMirror - it‘s to small for my use-case.

      If you really want to realize a MIRROR keep in mind that every capacitative touch functionality will NOT work behind a reflecting surface.
      For this use case you have to consider IR-Frames around your mirror.
      If you just want to use the monitor - fine …

      Regards,
      Ralf

      posted in Forum
      R
      rkorell
    • RE: Again -- MMM-Navigate can't get installed.

      @crowimu Found in completely different context another hint to onoff - also related to GPIO (in concrete a GPIO related implemetation of a rotary decoder).
      There was a suggestion

      npm install --save onoff@6.0.0
      

      I currently only „assume“ that @6.0.0 is the version - cause the cited post is from 2021 there could be a new version.
      A quick google delivers this page and this one stated

      npm install onoff
      

      Will do the trick…

      Good luck.
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: Again -- MMM-Navigate can't get installed.

      @crowimu Last thought - after some googeling…
      Axled (the author has a thread about his module.
      In one of his posting he stated
      “rotation and click (Button press) uses the same library (onOff).”.

      “node_modules/onoff/onoff” is part of your error-listing.

      So I can imagine you need this onoff -library to read the GPIO-output.
      Further research on this let me assume that onoff in some kind is associated to node.js (@sdetweil for sure knows more on this than me…).

      At least one onoff library in this context is this one - but I’m not sure if this is the right one.
      May you give it a try…

      edit: I’ve just checked - on my own mirror there is NO onoff directory in “MagicMirror/node_modules/”

      Good luck.
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • 1 / 1