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.

    MMM-RFID and MMM-Profileswitcher with RC522

    Scheduled Pinned Locked Moved Troubleshooting
    10 Posts 2 Posters 1.2k Views 2 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.
    • K Offline
      Kavilan @sdetweil
      last edited by

      @sdetweil When I run Dump.py I still am able to scan the RFID tag and the correct data is shown. SoI dont know why it doesn’t work when running MagicMirror

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

        @kavilan ok, the just send a notice that an rfid was read…

        open the developers window, ctrl-shift-i on the MM keyboard and
        select the tab labeled console

        you should be able to see the events being sent out
        “RFID_UID”, payload
        and
        “RFID_DATA”, payload

        and any events in the config events list

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        K 1 Reply Last reply Reply Quote 1
        • K Offline
          Kavilan @sdetweil
          last edited by

          @sdetweil Yeah this is how I found out there are no events being sent out by MMM-RFID. I have two tags and I’ve tried both and nothing new shows up in the console

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

            @kavilan when u ran the python pgm, did you use python or python3 as the command?

            the module uses python

            to change u can edit the rfid.js file and change this line

               this.rc522py = this.spawn('python', ['-u', __dirname + '/MFRC522-python/Dump.py']);
            

            to use python3

               this.rc522py = this.spawn('python'3, ['-u', __dirname + '/MFRC522-python/Dump.py']);
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            K 1 Reply Last reply Reply Quote 1
            • K Offline
              Kavilan @sdetweil
              last edited by

              @sdetweil I used python. Python 3 thrown error whenever used since all those codes don’t use () for print function.

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

                @kavilan so it’s down to the output parser in the rfid.js

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • 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