Git Product home page Git Product logo

anvizcloudkit's Introduction

Anviz device cloud PHP interface kit


Support device

C2 Pro/W1/W2/OA1000

Environmental requirements

Apache + php(php version above 5.4) Extended requirements: php_soap/php_mcrypt support rewrite

Directory File Description

  • src API framework
    • lib Library
      • AnvizCommand.php Device command function
      • Logs.php Log class
      • Montitor.php Listen service
      • Protocol.php Protocol
      • SoapDiscovery.php PHP SOAP wsdl
      • Tools.php Method packets
    • config.sample.php Configure file
    • Webserver.php Communction process
  • sample Sample
    • client Client
    • server Server
      • callback.php Callback class
      • Webserver.php Soap Server
      • .htaccess Route file
    • logs Logs directory
    • config.php Configure file
    • database.phpDB connect
    • db.sql DB file

Testing process

  1. Deploy the Apache + php environment, Install php_soap Extended, php-mcrypt Extended and rewrite support
  2. Put the directory file to site directory, input http://(Site domain name)/sample/server/webserver/wsdl.html in the browser, can be display wsdl pages means successful
  3. Open url http://(站点域名)/sample/client/index.html in brower. Register new user and record the device url, username and password
  4. Power on the device,and setup device network setting connect internet
  5. Enter into network - cloud menu follow the below setup
    User Name:(User name of the 3rd step)
    密码:(Pasword of the 3rd step)
    Server IP: Mannual input
    Input IP: (Url of the 3rd step)
    
  6. Then on the device screen will display cloud connection ok. Open url http://(站点域名)/sample/client/index.html in brower, now you can see the device in page.
  7. And enter into site root directory log folder to check the device communicaiton logs with server

anvizcloudkit's People

Contributors

anvizjacobs avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.