{"id":13586064,"url":"https://github.com/makermusings/fauxmo","last_synced_at":"2025-04-07T14:33:24.977Z","repository":{"id":35109835,"uuid":"39291604","full_name":"makermusings/fauxmo","owner":"makermusings","description":"Emulated Belkin WeMo devices that work with the Amazon Echo","archived":false,"fork":false,"pushed_at":"2024-02-18T08:05:46.000Z","size":217,"stargazers_count":524,"open_issues_count":29,"forks_count":176,"subscribers_count":58,"default_branch":"master","last_synced_at":"2024-08-02T16:02:33.353Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/makermusings.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}},"created_at":"2015-07-18T08:15:38.000Z","updated_at":"2024-08-02T08:47:31.000Z","dependencies_parsed_at":"2022-08-18T02:15:35.708Z","dependency_job_id":null,"html_url":"https://github.com/makermusings/fauxmo","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/makermusings%2Ffauxmo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makermusings%2Ffauxmo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makermusings%2Ffauxmo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makermusings%2Ffauxmo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/makermusings","download_url":"https://codeload.github.com/makermusings/fauxmo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223285042,"owners_count":17119823,"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":[],"created_at":"2024-08-01T15:05:18.293Z","updated_at":"2024-11-06T04:30:44.042Z","avatar_url":"https://github.com/makermusings.png","language":"Python","funding_links":[],"categories":["Python","Protocol Library"],"sub_categories":["WeMo"],"readme":"# fauxmo\n**Emulated Belkin WeMo devices that work with the Amazon Echo**\n\nVisit [this Maker Musings article](http://www.makermusings.com/2015/07/13/amazon-echo-and-home-automation/) to learn more about using this code to integrate\nthe Amazon Echo with your own home automation.\n\n### Summary\n\nThe Amazon Echo will allow you to control a limited number of home automation devices \nby voice. If you want to control device types that it doesn't know about, or perform \nmore sophisticated actions, the Echo doesn't provide any native options. This code\nemulates the Belkin WeMo devices in software, allowing you to have it appear that\nany number of them are on your network and to link their on and off actions to\nany code you want.\n\n### Instructions\n\nAll of the code to make it work is contained in the single file, `fauxmo.py`. It\nrequires Python 2.7 and standard libraries. The example handler class that\nreacts to on and off commands uses the [python-requests](http://docs.python-requests.org/en/latest/)\nlibrary, but could be replaced with code that does the same thing in many\ndifferent ways.\n\nCopy the fauxmo.py file to your server and edit the FAUXMOS list for the device names\nyou want and the URLs to invoke for on and off commands for each one. You can execute it\nsimply as `./fauxmo.py`. If you want debug output, execute `./fauxmo.py -d`. If you\nwant it to run for an extended period, you could do something like `nohup ./fauxmo.py \u0026`\nor take extra steps to make it run at startup, etc.\n\n**Note:** unless you specify port numbers in the creation of your fauxmo objetcs, your\nvirtual switch devices will use a different port every time you run fauxmo.py, which will\nmake it hard for the Echo to find them. So you should plan to either leave the script\nrunning for long periods or choose fixed port numbers.\n\nOnce fauxmo.py is running, simply tell your Echo to \"Find connected devices\". You can\nalso do this from the Echo App web page.\n\n### Related\n\n- http://www.makermusings.com/2015/07/13/amazon-echo-and-home-automation/\n- http://www.makermusings.com/2015/07/18/virtual-wemo-code-for-amazon-echo/\n- http://hackaday.com/2015/07/16/how-to-make-amazon-echo-control-fake-wemo-devices/\n- https://developer.amazon.com/appsandservices/solutions/alexa/alexa-skills-kit\n- https://en.wikipedia.org/wiki/Universal_Plug_and_Play\n- http://www.makermusings.com/2015/07/19/home-automation-with-amazon-echo-apps-part-1/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakermusings%2Ffauxmo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakermusings%2Ffauxmo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakermusings%2Ffauxmo/lists"}