cobisja / tad-php

PHP Library for ZK Time & Attendance Devices
MIT License
213 stars 159 forks source link

Imposible conectar con el dispositivo - ZKTECO SF200 #71

Open pabloruizfaundez opened 5 years ago

pabloruizfaundez commented 5 years ago

Hello, I have a ZKTECO SF200 device, in its description that has a TCP / IP connection, but it has not been able to work.

device details: https://www.zktecolatinoamerica.com/sf200

My code is the following,

`<?php

ini_set("display_errors", 1); require 'lib/TADFactory.php'; require 'lib/TAD.php'; require 'lib/TADResponse.php'; require 'lib/Providers/TADSoap.php'; require 'lib/Providers/TADZKLib.php'; require 'lib/Exceptions/ConnectionError.php'; require 'lib/Exceptions/FilterArgumentError.php'; require 'lib/Exceptions/UnrecognizedArgument.php'; require 'lib/Exceptions/UnrecognizedCommand.php';

use TADPHP\TADFactory; use TADPHP\TAD;

$comands = TAD::commands_available(); $options = [ 'ip' => '192.168.18.201', // '169.254.0.1' by default (totally useless!!!). 'internal_id' => 1, // 1 by default. 'com_key' => 0, // 0 by default. 'description' => '', // 'N/A' by default. 'soap_port' => 8080, // 80 by default, 'udp_port' => 4370, // 4370 by default. 'encoding' => 'utf-8' ];

$tad_factory = new TADFactory($options); print_r($tad_factory->get_instance()->get_att_log()); ` In the device is the default password, the IP is 192.168.18.201. In summary everything that is entered is what corresponds ... I do not know what I have to do to be able to read the information. I would appreciate any help in that regard.

captura de pantalla 2019-02-11 a la s 00 22 19 whatsapp image 2019-02-11 at 00 26 51 1 whatsapp image 2019-02-11 at 00 26 51 whatsapp image 2019-02-11 at 00 26 52 1 whatsapp image 2019-02-11 at 00 26 52 whatsapp image 2019-02-11 at 00 26 53

WalterPrz commented 1 year ago

Hola, ¿Encontraste alguna solución?