homecloud-controller

1.0.13 • Public • Published

homecloud-controller

API for the controller communication with the cloud server using the homecloud protocol

Documentation

For documentation on how to use the API, refer to this

Usage

Here's an example, sending a message and listening for a notification:

var home = new Homecloud({
    username: "login123",
    password: "pass123",
    websocket: {
        address: "ws://localhost:8092/ws"
    },
    address: "http://localhost:8093"
});
 
home.onAction((message) => {
    //Received action! 
});
 
home.getRules((message) => {
    //Got rules
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.13
    4
    • latest

Version History

Package Sidebar

Install

npm i homecloud-controller

Weekly Downloads

12

Version

1.0.13

License

ISC

Last publish

Collaborators

  • fabio.muramatsu
  • ricardobg