{"id":18006568,"url":"https://github.com/jimm98y/egonapi","last_synced_at":"2025-04-04T11:40:51.308Z","repository":{"id":151640376,"uuid":"597439605","full_name":"jimm98y/EgonAPI","owner":"jimm98y","description":"Client to control the ABB Ego-n smart home system","archived":false,"fork":false,"pushed_at":"2023-04-07T23:30:23.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T21:30:55.214Z","etag":null,"topics":["abb","ego-n","netstandard","smarthome"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jimm98y.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-04T15:01:43.000Z","updated_at":"2023-03-12T20:46:06.000Z","dependencies_parsed_at":"2023-05-25T17:15:07.400Z","dependency_job_id":null,"html_url":"https://github.com/jimm98y/EgonAPI","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimm98y%2FEgonAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimm98y%2FEgonAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimm98y%2FEgonAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimm98y%2FEgonAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jimm98y","download_url":"https://codeload.github.com/jimm98y/EgonAPI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247174371,"owners_count":20896074,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["abb","ego-n","netstandard","smarthome"],"created_at":"2024-10-30T01:08:53.764Z","updated_at":"2025-04-04T11:40:51.291Z","avatar_url":"https://github.com/jimm98y.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EgonAPI\nClient to control the ABB Ego-n smart home system. The client communicates directly with the web module over HTTP.\n\n## Discover\nCall `DiscoverAsync` to get the web module description:\n```cs\nEgonDescription discovery = await EgonClient.DiscoverAsync(\"192.168.1.255\");\n```\n\n## EgonClient\nCreate the client:\n```cs\nvar egonClient = new EgonClient(discovery, \"admin\", \"123456789\");\n```\n\nRetrive all devices and groups from the configuration:\n```cs\nvar egonConfig = await egonClient.GetConfigurationAsync();\n```\n\nQuery the current state of all devices (polling):\n```cs\nvar updated = await egonClient.GetCurrentStateAsync(egonConfig);\n```\n\n## Control devices\nTo turn on the first device:\n```cs\nawait egonClient.ExecuteActionAsync(egonConfig.Devices.First().Value.Id, EgonActions.On);\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimm98y%2Fegonapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjimm98y%2Fegonapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimm98y%2Fegonapi/lists"}