0.2.4 • Published 6 years ago

imse-ultra-api v0.2.4

Weekly downloads
1
License
ISC
Repository
github
Last release
6 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

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

7 years ago

0.1.13

7 years ago

0.1.12

7 years ago

0.1.11

7 years ago

0.1.10

7 years ago

0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago