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.

    Again -- MMM-Navigate can't get installed.

    Scheduled Pinned Locked Moved Solved Troubleshooting
    20 Posts 3 Posters 2.1k Views 3 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.
    • C Offline
      crowimu @rkorell
      last edited by

      @rkorell finally I got it solved :)

      The issue is really the GPIO numbering, I found this SO thread:
      https://stackoverflow.com/questions/78173749/use-raspberry-pi-4-gpio-with-node-js
      It is also valid for Pi3 and Pi2

      cat /sys/kernel/debug/gpio
      
      gpiochip0: GPIOs 512-565, parent: platform/3f200000.gpio, pinctrl-bcm2835:
       gpio-512 (ID_SDA              )
       gpio-513 (ID_SCL              )
       gpio-514 (GPIO2               )
       gpio-515 (GPIO3               )
       gpio-516 (GPIO4               )
       gpio-517 (GPIO5               )
       gpio-518 (GPIO6               )
       gpio-519 (GPIO7               |spi0 CS1            ) out hi ACTIVE LOW
       gpio-520 (GPIO8               |spi0 CS0            ) out hi ACTIVE LOW
       gpio-521 (GPIO9               )
       gpio-522 (GPIO10              )
       gpio-523 (GPIO11              )
       gpio-524 (GPIO12              )
       gpio-525 (GPIO13              )
       gpio-526 (GPIO14              )
       gpio-527 (GPIO15              )
       gpio-528 (GPIO16              )
       gpio-529 (GPIO17              |sysfs               ) in  hi IRQ
       gpio-530 (GPIO18              )
       gpio-531 (GPIO19              )
       gpio-532 (GPIO20              )
       gpio-533 (GPIO21              )
       gpio-534 (GPIO22              |sysfs               ) in  hi IRQ
       gpio-535 (GPIO23              )
       gpio-536 (GPIO24              )
       gpio-537 (GPIO25              )
       gpio-538 (GPIO26              )
       gpio-539 (GPIO27              |sysfs               ) in  hi IRQ
      
      

      I needed to set up the numbers according to the output
      e.g. Pin27 is 539 in the MMM-Navigate config.
      Now everything works so far as expected, thank you all for your help!

      R 2 Replies Last reply Reply Quote 1
      • R Offline
        rkorell @crowimu
        last edited by

        @crowimu COOL!
        congratulations!

        For me the “confusing” part was the fact that INSTALL doesn’t work…
        Installing should NOT check GPIO pinouts …

        Really great that you worked this out!

        Warmest regards,
        Ralf

        S 1 Reply Last reply Reply Quote 0
        • R Offline
          rkorell @crowimu
          last edited by

          @crowimu said

          It is also valid for Pi3 and Pi2

          A Pi4 or a Pi5 had solved this as well :-)

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @rkorell
            last edited by

            @rkorell because MagicMirror is started with the electron binary, the compiled module code must match the engine version

            electron rebuild does that.

            tricky problem if not running under electron
            then npm rebuild works for nodejs engine match

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            R 1 Reply Last reply Reply Quote 1
            • R Offline
              rkorell @sdetweil
              last edited by

              @sdetweil said in Again -- MMM-Navigate can't get installed.:

              the compiled module code must match the engine version

              OK, sounds plausible.
              Thanks.

              Learned a lot, today :-)

              Regards,
              Ralf

              1 Reply Last reply Reply Quote 0
              • S sdetweil has marked this topic as solved on
              • 1
              • 2
              • 2 / 2
              • First post
                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