Git Product home page Git Product logo

phpsdk's Introduction

PHPSDK

设备云平台主要提供Restful方式的接口供开发者调用。 接入设备云请进入 设备云主站 了解相关文档。

传送门: API开发文档

API调用基础地址为: http://api.heclouds.com

简单示例:

$apikey = '';
$apiurl = 'http://api.heclouds.com';
$device_id = 12345;
//创建api对象
$sm = new OneNetApi($apikey, $apiurl);
$device = $sm->device($device_id);
var_dump($device);

更新历史

2017-11

更新了API文档描述,描述更符合阅读需要

新增设备注册方法

新增设备模糊查询方法,老方法声明即将废弃,但该版本可继续使用

新增批量查看设备状态方法

** *重制了数据点获取方法,老方法声明即将废弃,但该版本可继续使用 **

声明不建议使用删除数据点方法,但该方法予以保留满足特殊需求

更新了EDP命令发送方法,增强健壮性

新增按设备给MQTT下发命令方法

新增modbus命令下发方法

新增TCP透传命令下发方法

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.