• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

electron-rebuild and MagicMirror v2.18 (and more)

Scheduled Pinned Locked Moved Development
40 Posts 16 Posters 17.5k Views 21 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    bugsounet Banned @selyjohns
    last edited by bugsounet Apr 2, 2022, 12:06 PM Apr 2, 2022, 11:54 AM

    @selyjohns

    MMM-PIR-Sensor state is :
    This repository has been archived by the owner. It is now read-only.

    I will not doing a patch on every update for this @paviro module

    Just use another maintened pir module

    1 Reply Last reply Reply Quote 0
    • S Offline
      selyjohns
      last edited by Apr 2, 2022, 12:10 PM

      @bugsounet said in electron-rebuild and MagicMirror v2.18 (and more):

      MMM-PIR-Sensor state is :
      This repository has been archived by the owner. It is now read-only.
      I will not doing a patch on every update for this @paviro module
      Just use another maintened pir module

      Thank you for this quick reply.
      I see, so no solution for this update…Any idea of equivalent module to replace MMM-PIR-Sensor ?

      B 1 Reply Last reply Apr 2, 2022, 12:11 PM Reply Quote 0
      • B Offline
        bugsounet Banned @selyjohns
        last edited by Apr 2, 2022, 12:11 PM

        @selyjohns I done NO ads in this forum, sorry

        1 Reply Last reply Reply Quote 0
        • S selyjohns referenced this topic on Apr 2, 2022, 12:24 PM
        • T Offline
          tanvir586 @selyjohns
          last edited by Apr 2, 2022, 2:17 PM

          @selyjohns
          hi can you try
          Cd MagicMirror/modules/MMM-PIR-Sensor
          And then
          npm i magicmirror-rebuild
          Then
          ./node_modules/.bin/MagicMirror-rebuild

          It might work.

          S 1 Reply Last reply Apr 2, 2022, 3:02 PM Reply Quote 0
          • S Away
            sdetweil @tanvir586
            last edited by Apr 2, 2022, 3:02 PM

            @tanvir586 see
            https://forum.magicmirror.builders/topic/16074/electron-rebuild-and-magicmirror-v2-18-and-more/25?_=1648232499740

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S 1 Reply Last reply Apr 2, 2022, 3:56 PM Reply Quote 0
            • S sdetweil referenced this topic on Apr 2, 2022, 3:02 PM
            • S Offline
              selyjohns @sdetweil
              last edited by Apr 2, 2022, 3:56 PM

              @sdetweil @tanvir586
              Yes…Already tested. No fonctionnal

              S 1 Reply Last reply Apr 2, 2022, 4:07 PM Reply Quote 1
              • S Away
                sdetweil @selyjohns
                last edited by Apr 2, 2022, 4:07 PM

                @selyjohns correct.

                the author of the magicmirror rebuild tool said he will not fix it for this module.

                as the module is in archived status

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                W 1 Reply Last reply Apr 3, 2022, 9:56 AM Reply Quote 1
                • W Offline
                  wishmaster270 Module Developer @sdetweil
                  last edited by Apr 3, 2022, 9:56 AM

                  @sdetweil

                  I generally suggest the same as bugsoutnet…The best way would be to use one of the other PIR modules.
                  But i also found an solution which worked in my setup. I used the sdetweil script to install the current version of MagicMirror.
                  In the module directory of MMM-PIR-Sensor you need to delete package-lock.json and the node_modules folder:

                  rm -rf ~/MagicMirror/modules/MMM-PIR-Sensor/node_modules
                  rm -rf ~/MagicMirror/modules/MMM-PIR-Sensor/package-lock.json
                  

                  Then you need to replace the whole content of package.json file with the following one that uses the MagicMirror-rebuild library of bugsounet…

                  {
                    "name": "Magic-Mirror-Module-PIR-Sensor",
                    "version": "1.1.0",
                    "description": "PIR motion sensor module for the Magic Mirror.",
                    "repository": {
                      "type": "git",
                      "url": "git+https://github.com/paviro/MMM-PIR-Sensor"
                    },
                    "keywords": [
                      "magic mirror",
                      "smart mirror",
                      "PIR-Sensor",
                      "module",
                      "motion"
                    ],
                    "author": "Paul-Vincent Roll",
                    "contributors": "https://github.com/paviro/MMM-PIR-Sensor/graphs/contributors",
                    "license": "MIT",
                    "bugs": {
                      "url": "https://github.com/paviro/MMM-PIR-Sensor/issues"
                    },
                    "homepage": "https://github.com/paviro/MMM-PIR-Sensor#readme",
                    "scripts": {
                  	  "postinstall": "node_modules/.bin/MagicMirror-rebuild"
                    },
                    "dependencies": {
                      "onoff": "latest",
                      "magicmirror-rebuild": "latest"
                    }
                  }
                  

                  Then you need to run npm install

                  npm install
                  
                  S 1 Reply Last reply Apr 3, 2022, 11:26 AM Reply Quote 0
                  • S Away
                    sdetweil @wishmaster270
                    last edited by Apr 3, 2022, 11:26 AM

                    @wishmaster270 did u try the upgrade script?

                    it does delete both file and folder and then npm install

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    W 1 Reply Last reply Apr 3, 2022, 4:31 PM Reply Quote 0
                    • W Offline
                      wishmaster270 Module Developer @sdetweil
                      last edited by Apr 3, 2022, 4:31 PM

                      @sdetweil Hi, i did a fresh install and added the module manually. I do not use MMM-PIR-Sensor but some other users had the same problem with MMM-Gestures (which i do not use either). Did a clean install of MagicMirror on a development Pi with your script and added modules manually.

                      1 Reply Last reply Reply Quote 1
                      • K karsten13 referenced this topic on Apr 7, 2022, 4:37 PM
                      • K karsten13 referenced this topic on Apr 7, 2022, 6:20 PM
                      • O OliWer referenced this topic on Apr 8, 2022, 6:32 AM
                      • 1
                      • 2
                      • 3
                      • 4
                      • 3 / 4
                      3 / 4
                      • First post
                        29/40
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy