Skip to content

Client to control the ABB Ego-n smart home system

License

Notifications You must be signed in to change notification settings

jimm98y/EgonAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

EgonAPI

Client to control the ABB Ego-n smart home system. The client communicates directly with the web module over HTTP.

Discover

Call DiscoverAsync to get the web module description:

EgonDescription discovery = await EgonClient.DiscoverAsync("192.168.1.255");

EgonClient

Create the client:

var egonClient = new EgonClient(discovery, "admin", "123456789");

Retrive all devices and groups from the configuration:

var egonConfig = await egonClient.GetConfigurationAsync();

Query the current state of all devices (polling):

var updated = await egonClient.GetCurrentStateAsync(egonConfig);

Control devices

To turn on the first device:

await egonClient.ExecuteActionAsync(egonConfig.Devices.First().Value.Id, EgonActions.On);

About

Client to control the ABB Ego-n smart home system

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages