0.9.0 • Published 5 years ago

jeedom v0.9.0

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

Jeedom API :house:

CircleCI branch npm contributions welcome Commitizen friendly

This library provides Jeedom jsonrpc API bindings for node.

Please note this was tested on Jeedom v3.2.1 and node v8.11.1.

Installation

$ npm install --save jeedom

Basic Usage

const Jeedom = require('jeedom');

const api = Jeedom({
  host: 'http://jeedomip',
  apikey: '__JEEDOM_API_KEY__',
});

api.ping()
  .then(pong => console.log(pong));

api.version()
  .then(version => console.log(version));

api.config.byKey({ key: 'name' })
  .then(jeedomName => console.log(jeedomName));

Typescript support

several useful jeedom types are available for typescript:

import { default as Jeedom, JeedomApi } from 'jeedom';

const api: JeedomApi = Jeedom({
  host: 'http://jeedomip',
  apikey: '__JEEDOM_API_KEY__',
});

Typescript Documentation

https://guillaumearm.github.io/jeedom-node/

Development

$ git clone https://github.com/guillaumearm/jeedom-node.git
$ cd jeedom-node

$ npm install
$ npm run test:all
0.9.0

5 years ago

0.8.0

5 years ago

0.7.1

5 years ago

0.7.0

5 years ago

0.6.1

5 years ago

0.6.0

5 years ago

0.5.2

5 years ago

0.5.1

5 years ago

0.5.0

5 years ago

0.4.3

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago