{"id":15010163,"url":"https://github.com/nigelramsay/wemo","last_synced_at":"2025-04-09T18:04:21.793Z","repository":{"id":62430787,"uuid":"91860702","full_name":"nigelramsay/wemo","owner":"nigelramsay","description":"An Elixir package for discovering and controlling Belkin Wemo devices","archived":false,"fork":false,"pushed_at":"2017-08-22T09:23:15.000Z","size":46,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-18T16:59:27.253Z","etag":null,"topics":["belkin","elixir","wemo","wemo-switch"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nigelramsay.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-20T02:47:27.000Z","updated_at":"2017-11-27T02:31:14.000Z","dependencies_parsed_at":"2022-11-01T20:30:44.472Z","dependency_job_id":null,"html_url":"https://github.com/nigelramsay/wemo","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nigelramsay%2Fwemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nigelramsay%2Fwemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nigelramsay%2Fwemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nigelramsay%2Fwemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nigelramsay","download_url":"https://codeload.github.com/nigelramsay/wemo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248084177,"owners_count":21045123,"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":["belkin","elixir","wemo","wemo-switch"],"created_at":"2024-09-24T19:31:05.443Z","updated_at":"2025-04-09T18:04:21.769Z","avatar_url":"https://github.com/nigelramsay.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wemo\n\nElixir package for discovering and controlling Belkin Wemo devices.\n\n[![Build Status](https://travis-ci.org/nigelramsay/wemo.svg?branch=master)](https://travis-ci.org/nigelramsay/wemo)\n\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed\nby adding `wemo` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [{:wemo, \"~\u003e 0.1.0\"}]\nend\n```\n\n## Usage examples\n\nSearching for a specific switch:\n\n```elixir-lang\nWemo.Switch.find_by_name(\"Laundry\") |\u003e Switch.status\n=\u003e {:ok, 1}\n```\n\nTurning a switch on and off:\n\n```elixir-lang\nliving_room = Wemo.Switch.find_by_name(\"Living Room\")\nSwitch.on(living_room)\n=\u003e {:ok, 1}\n\nSwitch.off(living_room)\n=\u003e {:ok, 0}\n```\n\nChecking the status of a switch:\n\n```elixir-lang\nWemo.Switch.on?(living_room)\n=\u003e true\n\nWemo.Switch.off?(living_room)\n=\u003e true\n\nWemo.Switch.status(living_room)\n=\u003e 1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnigelramsay%2Fwemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnigelramsay%2Fwemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnigelramsay%2Fwemo/lists"}