I tried to get the attendance data using tad-php library but I got an error error to connect, tried following all tutorial and troubleshot i found on the git or google but still cannot connect. My device using ZEM600 firmware.
Any one has experience like this?
here my code to call:
<?php
require 'tad/lib/TADFactory.php';
require 'tad/lib/TAD.php';
require 'tad/lib/TADResponse.php';
require 'tad/lib/Providers/TADSoap.php';
require 'tad/lib/Providers/TADZKLib.php';
require 'tad/lib/Exceptions/ConnectionError.php';
require 'tad/lib/Exceptions/FilterArgumentError.php';
require 'tad/lib/Exceptions/UnrecognizedArgument.php';
require 'tad/lib/Exceptions/UnrecognizedCommand.php';
$tad_factory = new TADPHP\TADFactory();
use TADPHP\TADFactory;
use TADPHP\TAD;
$comands = TAD::commands_available();
$b1 = (new TADFactory(['ip'=>'myipaddress']))->get_instance();
$dt = $b1->get_date(); // method executed via TAD class.
echo $dt;
socket and curl mod enabled.
Thanks for any help
Please follow these steps: