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

    Topics

    • K

      View Security Cameras

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      1
      0 Votes
      1 Posts
      316 Views
      K
      Which module would be best to view my Lorex NVR system on my mirror? RTPStream or MagicEye? I’ve tried RTPStream with no luck.
    • K

      Unable to update modules

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      20
      0 Votes
      20 Posts
      4k Views
      S
      @rmcon thanks, but no wizardry a little info we use a source code repository, that keeps track of every file change, add, delete, rename, whatever. on linux there is no hidden file attribute, like on Windows… but by convention, if a file or folder starts with a dot(.) then it is not shown unless explicitly requested git is the source code repository we all use (MM and the modules) it is called a distributed scm (source code mgmt) system, because whenever you have some of a repo, you have ALL of it from its start to now… you git clone to make a local copy (linked to the source of the clone) on linux that is stored in the .git folder (notice the .) it knows about every little change to any of the files… oh when you see them, that is called the ‘working copy’… may match the repo, might not so, we asked git, tell me the status of the working copy as compared to the repository (in the .git folder) and it said some file hadchanged and some file had been deleted. neither of those files (package.json or package-lock.json) affect the actual running of the module, they are part of the housekeeping, setup, installation… now, you said you were going to UPDATE cause the module had changed, so you don’t NEED those files as they exist(or don’t) , cause you are going to PULL a NEW copy of the repo to your system (repo and working copy) git provides commands to do lots of things, you can look thru the history of the repo, with git log and git history an important idea, is a pointer to the top of the last incorporated (committed) changes that term is called HEAD, the HEAD of the change tree… so, we asked git, please restore our working copy (and any potential additions (commits) to the repo BACK to the HEAD position AND reset all the working copy files too… git reset --hard HEAD –hard means and working copy ok, so NOW we have the working copy matching the repo state of the clone you did now lets ask to refresh the local repo with the repo copy that has changed that action is PULL the repo to us, and resynch (it doesn’t like it when the working copy doesn’t match its expectations, so we ‘forced’ it back to HEAD) now the PULL updates the repo, AND the working copy… phew… and it updated the two files it was unsure about before but who knows what the impact of the change are (the module author, did we look at any comments he might have made (no… not me!)…) so, lets just redo the node package managers view of the system npm install will recheck any locally added libraries (in node_modules folder) and do any pre/post install tasks defined in the package.json NOW we are file level up to date with the latest official repo AND we are runtime up to date
    • K

      MMM To Show Lorex Security Cameras

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      1
      0 Votes
      1 Posts
      308 Views
      K
      Good day all hope everyone and their families are keeping safe and SANE in these times. Since we all have so much down time I figured Id tackle my magic mirror project that I have slowly been putting together and I have it about 75% complete; I have hit a wall tho… I cannot seem to get my Lorex Cameras to display in any module on my MMM. My ultimate goal is to have all my modules viable at all times (PIR On/OFF Display) and then when I hit/press a hidden switch my camera hub would pop up so that I can view my security cameras and then timeout and disappear again. If anyone could lend any assistance with a module that I should be using for my cameras or any sort of workaround please let me know and your help is greatly appreciated.
    • K

      Multiple PIR Sensors

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Troubleshooting
      2
      0 Votes
      2 Posts
      443 Views
      S
      @KumarTRD hardware wise, sure, just need to use another pin for the signal of the second pi. software wise, I don’t know if u can run the python detector scripts twice… it currently only watches for changes on 1 pin
    • K

      Attempting To Update

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Troubleshooting
      11
      1
      0 Votes
      11 Posts
      5k Views
      K
      @Ultimatum22 hey there went to do the most current update and ran into the same issue with the vendor/package-lock.json package so I ran the removal script as stated below and it worked and now my pi is updated… I remember you brought up that I should have that package in a gitignore file how do I move it over?
    • K

      Touch Switch - Wakes From and Puts To Sleep

      Watching Ignoring Scheduled Pinned Locked Moved Requests
      3
      0 Votes
      3 Posts
      2k Views
      N
      @kumartrd Have a look at MMM-PIR-Sensor. You can customize it to suit your requirements. It normally triggers turning the monitor on, and sets a timer to turn the monitor off. Instead, you want to use button actions/notifications to do both, and not use a timer. Instead you can reuse the wake code for sleep. You’ll also need to add a logic test that a button press while asleep wakes, while a button press while awake sleeps. Have a look at this thread for a very thorough explanation.
    • K

      Permission Denied - Config File

      Watching Ignoring Scheduled Pinned Locked Moved Requests
      3
      1
      0 Votes
      3 Posts
      3k Views
      K
      @ninjabreadman you my good man are a life saver thank you so much it worked.
    • 1 / 1