Skip to content

estbeetoo/usriot.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js client library to communicate with USR IoT devices#

Usage

var WiFiIO = require('wifiio.js');
var connection = new WiFiIO({host: 'localhost', port: 8899});
connection.connect(function () {
    console.log('Connected successfully!');
    connection.invertIO(3, function () {
        connection.disconnect();
        process.exit();
    });
});

Look for more examples here: /example

Author

Alexander Borovsky, BeeToo

TODOs

  • Take a look at C# library: https://github.com/JohnMasen/USRWin
  • Add more test suites with mockup device
  • Add response parsing
  • Add keep-alive and auto reconnect
  • Add send queue
  • Implement multiple channels command, such as 0x07 BBBB select multiple channel clear

Official Protocol documentation

About

Node.js client library to communicate with USR IoT devices: http://www.usriot.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published