2n-helios-client
v1.0.9
Published
2n client for Node
Downloads
29
Readme
2n-helios-client
2n-helios-client
is a node-style API for interfacing with 2n door access control panels.
To use:
const credentials = {
ip: '10.1.10.123', // your 2n unit's IP address
user: 'admin', // your 2n API username (not necessarily the same as the web interface login)
pass: 'password' // your 2n API password
}
const helios = new Helios(credentials); // create new instance
const res = await helios.status(); // make sure to use await as we're dealing with promises
console.log(res) // do something with the response