1.0.2 • Published 3 years ago

node-red-contrib-jeus v1.0.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

node-red-contrib-jeus

Node-RED node for jeus

Install

To install the stable version use the Menu - Manage palette - Install option and search for node-red-contrib-jeus, or run the following command in your Node-RED user directory, typically ~/.node-red

npm install node-red-contrib-jeus

Wrapper nodejs jeus lib

Example

var msg = {};
msg.api = 'command'
msg.url = 'http://localhost:9736/jsonCommand/command.json';
msg.auth = {
    username : USERNAME,
    password : PASSWORD
}
msg.params = {
    "jeusadmin": {
        "command": "server-info",
        "options":[
            "-server server1",
            "-state"
        ],
        "argument": null
    }
};

return msg;

Details