wifiio.js
v1.0.0
Published
Client lib for USRIOT WiFi IO device
Downloads
3
Readme
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
Official Protocol documentation
http://www.usriot.com/download/LonHand/GPIO%20control%20protocol%20V1.8.pdf