This package has been deprecated

Author message:

.

adi-tests-donotlook

0.0.7 • Public • Published

Introduction

Axonize SDK created for developers that works with Axonize IoT orchestration platform. The SDK would help developers have fasters integration with device manufacturers and the Axonize platform.

Build

npm install axonize-sdk

#Test run the command "mocha" using a basic command line

#Quick Start Please checkout samples\reoccuringSensorUpdate.js

Or use the following basic example:

const Device = require('axonize-sdk').Device;

const device = new Device("fill device id",
                        "fill product id",
                        "fill app id",
                        "fill hub key",
                        "iot hub host name");

//The interval which would trigger a temperature update in seconds                             

const main = async () => {
    device.addProperty("Temperature", 22, 7, null, true);
    await device.start();
    device.updateProperty("Temperature", 25);
    await device.stop();  
}

const callmain = async ()=>{
    main();
}

callmain();

Readme

Keywords

none

Package Sidebar

Install

npm i adi-tests-donotlook

Weekly Downloads

0

Version

0.0.7

License

Axonize

Unpacked Size

10.6 kB

Total Files

9

Last publish

Collaborators

  • adibenmatdev