0.2.4 • Published 5 years ago

imse-ultra-api v0.2.4

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

imse.ultra-api

Api for Abelko's IMSE Ultra family of BAC/BMS/PLC

Installation

> npm install imse-ultra-api

Usage

You need the ip of your IMSE Ultra unit and an account on it.

The api constructor takes a config argument with the following parameters, all optionals with default to factory settings in parentesis and swedish

  • host ('10.0.48.94')
  • username ('config')
  • password ('ef56') - please change the password
  • lang ('sv') - use 'en' for english
  • port (443)
  • path ('') - path if your unit is behind a proxypass

Example

const {Api} = require('.');

const api = new Api({host:"10.0.48.94", username:"config", password:"ef56", lang:"sv"});

api.listIOChannels() //operation
.then(data=>{
    console.log("Operation npm result:",data);
})
.then(()=>{
    api.logout(); //always logout or you create a lot of sessions
})

Version history

0.2.4 (2019-04-02)

  • fixes setcookie bug when upgrading PLC
0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago