Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imposible conectar con el dispositivo - ZKTECO SF200 #71

Open
pabloruizfaundez opened this issue Feb 11, 2019 · 1 comment
Open

Imposible conectar con el dispositivo - ZKTECO SF200 #71

pabloruizfaundez opened this issue Feb 11, 2019 · 1 comment

Comments

@pabloruizfaundez
Copy link

pabloruizfaundez commented Feb 11, 2019

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
Copy link

Hola, ¿Encontraste alguna solución?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants