homenet-app
v0.0.2
Published
Homenet: home automation for developers - Application
Downloads
11
Readme
homenet-app
Homenet: home automation for developers - Application
Plugins
- Place subfolder inside folder lib/plugins.
- Export the plugin as a function that will be called on plugin load.
- Attach
$name
and$require
as properties on the function.
Example:
function load(args) {
var logger = args.logger;
var sensors = args.sensors;
}
load.$name = 'myPluginName';
load.$require = ['logger', 'sensors'];
module.exports = load;