1.4.5 • Published 2 years ago

domoja-sample v1.4.5

Weekly downloads
16
License
GPL-3.0
Repository
github
Last release
2 years ago

NPM

NPM version Node.js CI CodeQL Coverage Status

domoja-sample

This is a skeleton for developing a new domoja module.

A module extend Domoja functionality, by adding new sources, devices, etc. It is essentially an npm module following particular specifications:

  • its name must start with domoja-
  • it must derive from domoModule

Sources

A source derives from the Source class and implements the following methods:

  • createInstance: create an instance of the source, taking into account the requested configuration
  • getParameters: describes the parameters supported by the source
  • doSetAttribute: implements a requested change of value of an attribute of a device managed by the source
  • release: releases a source to free any used resource
  • registerDeviceTypes: a static method to declare which device types are supported by the source
1.4.5

2 years ago

1.4.3

2 years ago

1.4.2

2 years ago

1.4.1

3 years ago

1.2.1

3 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.0

6 years ago