Skip to content

HomeSkyLtd/homecloud-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
});

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •