To make a successful communication with the device, you need to know the IP address and the Port No. IP address : Assign a static IP in the device itself Default Port : 4370 Machine No : 1 Now we have a valid IP and Port, let's go through the source code used in the demo ...
IP address: Device IP address. u Communication key: If there is the communication password to be set in the machine option, you must fill the same one password, otherwise, not need to fill in. u Device number: Device identity number. u Port: The port is used by computer. The RS232/...
use Rats\Zkteco\Lib\ZKTeco; // 1 s't parameter is string $ip Device IP Address // 2 nd parameter is integer $port Default: 4370 $zk = new ZKTeco('192.168.1.201'); // or you can use with port // $zk = new ZKTeco('192.168.1.201', 8080); ...
enable: Enable normally open mode (enable= True) or disable normally open mode for the door (enable_disable= 0, default) SetDeviceData Not implemented yet. Get Device Data get_device_data(table_name, field_names) Read the device data (such as the user configuration, user access, timezones...
Simplified Process for Use 2.1 Log in to the System The default access port for the system is 80. If the IP address of the server is 192.168.1.8, any client with a network connection can access the system directly through http://192.168.1.8:80 (or http://192.168.1.8) in a browser. ...
IP address: Device IP address. u Communication key: If there is the communication password to be set in the machine option, you must fill the same one password, otherwise, not need to fill in. u Device number: Device identity number. u Port: The port is used by computer. The RS232/...