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.

    QR Code automation in Calendar

    Scheduled Pinned Locked Moved Feature Requests
    7 Posts 2 Posters 1.1k 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.
    • lavolp3L Offline
      lavolp3 Module Developer @Slevin7
      last edited by

      @slevin7 I think that would go beyond the scope of the calendar module.
      You would need to fetch the QR code from some CWA API somehow. Is that even possible?

      I’d rather create an own module showing QR codes for the next appointments.

      How to troubleshoot modules
      MMM-soccer v2, MMM-AVStock

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        Slevin7 @lavolp3
        last edited by

        @lavolp3
        You dont need an API you can create this qrcode localy with this little tool (https://github.com/corona-warn-app/cwa-event-qr-code)
        but to implement this to my irror is far beyond my programming skills.

        lavolp3L 1 Reply Last reply Reply Quote 0
        • lavolp3L Offline
          lavolp3 Module Developer @Slevin7
          last edited by

          @slevin7 I think I don’t understand. The purpose of the qr codes is for restaurants or meeting places to create ONE code per appointment that anyone else can scan with their app. Or isn’t it?
          Do you want to create QR codes for other people to scan when they visit the place where the mirror is?

          How to troubleshoot modules
          MMM-soccer v2, MMM-AVStock

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            Slevin7 @lavolp3
            last edited by

            @lavolp3 I want to create a QrCode for each event.
            As an example, from 9 a.m. to 4 p.m. there is a meeting in room 12.
            At the same time, another meeting in room 14 from 12-2pm.
            I would like to have 1 separate QR code for each of these events.
            Since the appointments are usually only entered in the calendar 5 minutes in advance, I had thought of automation

            lavolp3L 1 Reply Last reply Reply Quote 0
            • lavolp3L Offline
              lavolp3 Module Developer @Slevin7
              last edited by

              @slevin7 You could try to use the notification function to use the calendar events in another module. The calendar can broadcast the events and yuor own module can fetch it via the notificationReceived-function.
              Then you would still need a link to the CWA platform to create the correct QR codes from that.
              Maybe there’s already some kind of npm module?

              How to troubleshoot modules
              MMM-soccer v2, MMM-AVStock

              lavolp3L 1 Reply Last reply Reply Quote 0
              • lavolp3L Offline
                lavolp3 Module Developer @lavolp3
                last edited by

                @lavolp3 Ah yeah here it is.
                https://github.com/corona-warn-app/cwa-event-qr-code/blob/main/README.md#usage-in-nodejs

                How to troubleshoot modules
                MMM-soccer v2, MMM-AVStock

                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