MCPU1-RPI: Online communication control kit, Rest API interface

Kurzbeschreibung

Do you provide a MYSQL-PHP based system for managing passes, sales for fitness rooms, spas, etc.?
Looking for a simple interface to connect to an access gate?
A simple solution for software developers is the MCPU1 hardware unit, which forwards the barcodes to the mysql - php web server of the software company to the URL they set. MCPU1 generates exactly the same http POST requests as the web browser after filling out a form when the submit button is pressed. It processes the response of the php code and opens or does not open the revolving gate for the guest based on it.

The MCPU1-RPI Online communication controller is primarily recommended for software companies. To control RFID or QR reader, rotary fork and other door controls. HTTP POST messages can be used to control the gateway over TCP / IP as web browsers work. TCP / IP Converter Unit -> http Rest API call to the configured URL, including the content of the scanned code.
The set can handle up to 4 readers. Any type of QR code, barcode or RFID proximity reader must be ordered separately in the required quantity.
IPThermo SBC-301 can also be used for central management and monitoring of devices.

MCPU1 protocol adapter product overview

The MCPU1 MiniPC transmits the scanned encoders to your computer system and controls the rotary gate. The following protocol is also used by the Unigate2050-RPI and the Proxer32 IoT terminal.
The interface type is Ethernet TCP / IP http client in REST-API json format. This interface is an easy-to-use and easy-to-implement solution for most software developers. Sample source code is also included to use the product.

You need to run a web server where the information arrives and the MCPU1 MiniPC also receives commands from your system via a web server.
The software on the MCPU1 MiniPC forwards the fact of the encoder reading (and all events) via http or https POST to a URL that can be freely set by the customer. This transmitter reading event can be responded to immediately, without creating a new POST message, to which it can be returned e.g. the gate opening command. This eliminates the need for direct IP access to the gateway for the device. Otherwise, a command can be sent at any time in a POST message.
Only certain types can do this: For standard http POST messages, the TCP connection is closed immediately after the message is delivered. In order to be able to issue commands at any time through firewalls, another transport protocol, websocket, can be used instead of http POST.

Technische Beschreibung

Quote from the REST API documentation:

Access terminal RFID read event sample sent by the gate:
{
"data": {
"message_type": "event",
"protocol_version": "1.0.0","device_family": "id_reader",
"device_type": "Proxer52",
"project_id": "45",
"fw_buildnum": "5",
"device_id": "202720245123",
"device_name": "HQ Kitchen 01 gate reader",
"device_install_place": "Kitchen ",
"event_type": "tag_arrived",
"event_id": "7651234",
"event_date": "2020-12-24 13:45:04",
"tag_id": "62022883",
"tag_id_64bit": "0x03B264E3",
"reader_id": 0,
"card_type": "Mifare4K",
"wait_for_response": 0,
"mcpu_username": "",
"mcpu_password": ""
}
}

RFID reading server response sample sent back by your software:
{
"data": {
"message_type": "event_answer",
"protocol_version": "1.0.0",
"event_answer_type": "grant_answer",
"grant_answer_result_code": 1,
"grant_answer_reason_string": "OK jogosult, kártyaszám alapján",
"set_display_text": null
}
}

Funktionen

  • For software development companies for simple hardware control
  • To control RFID or QR reader, turntable, access gates and other door controls
  • For centralized management and monitoring of IPThermo SBC-301 devices with a web interface

Produktinformation

Produktcode: 182060
Hersteller:
Procontrol

Verfügbarkeit

Nach Bestellung

Preisinfo