Skip to content

KJSDC/KJUSYS-Library-KIOSK-Python

 
 

Repository files navigation

LMS-nosql

Introduction

LMS-nosql is a database-free version of a Library Management System (LMS). It writes data directly onto RFID cards, eliminating the need for a traditional database. The system supports reading and writing RFID card data and includes a keystroke function to type RFID data into any application.

Functionalities

  • RFID Read/Write: Read and write data directly from/to RFID cards.
  • Keystroke Function: Automatically type RFID data into any application.
  • Web Interface: User-friendly web interface for managing RFID operations.

Installation

  1. Install Drivers:

    • Navigate to the dependencies folder.
    • Extract CDM-v2.12.36.4-WHQL-Certified.zip and navigate to CDM-v2.12.36.4-WHQL-Certified folder.
    • Right click and click install on the two .inf files in the folder.
    • Install both drivers available in the folder.
  2. Install Python:

    • Download and install Python from python.org.
    • Alternatively, install python from the installation file in the dependencies folder.
  3. Install Requirements:

    • Open a terminal or command prompt.
    • Navigate to the project directory.
    • Run the following command to install required Python packages:
      pip install -r requirements.txt
  4. Start the Server:

    • Double-click temp.py or run it from the terminal:
      python temp.py
  5. Start the port forwarding server:

    • Enter the following command in the base folder, this will be a one time process:
      ngrok.exe config add-authtoken your-auth-token
    • Double-click port-forwarder.bat to start the port forwarding
    • Copy the link provided by the terminal and paste it into your web browser to access the application.

Note

  • Ensure the correct COM port is selected, the buttons are active only when the port is selected.
  • You can either select COM port manually from the ui or add COM_PORT="" variable in a .env file. The server will (try to) connect to the specified port automatically on startup.
  • Verify that the RFID reader is properly connected.
  • Check the terminal for any error messages.
  • Before clicking write data button, make sure you place the card on top of the reader.
  • Make sure a beep is heard on clicking write, if no beep is heard, take the card off from the reader, place it back on the reader and click the button again.
  • Any hardware errors will result in wrong data while reading, just make sure that you tap the card again if any problems occur.

Support

For support, please contact the maintainer at: Joe Sanjo

About

Python server to listen and respond to rfid read events

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 35.1%
  • Python 21.7%
  • JavaScript 18.7%
  • C++ 12.0%
  • HTML 9.5%
  • Batchfile 3.0%