node-humix

0.1.0 • Public • Published

Essentially, a Humix-Sense module communicate with other modules and the local controller using NATS-based pub/sub messaging modol : each module provide the information it collects by publishing 'event', while it also listen for 'command' to trigger actions the module supports.

This nodejs module provides an event-driven model to facilitate the creation of Humix-Sense modules. Basically, you need to proivde a config to specify

  1. the name of the module
  2. the commands the module accepts
  3. the event the module generates
  4. any child process the module depends upon ( optional )

The code could be found here : https://github.com/project-humix/node-humix

Readme

Keywords

none

Package Sidebar

Install

npm i node-humix

Weekly Downloads

0

Version

0.1.0

License

Apache 2.0

Last publish

Collaborators

  • jeffffrey