{"id":13843065,"url":"https://github.com/SkyoKen/RasCon_NS","last_synced_at":"2025-07-11T17:33:15.007Z","repository":{"id":128607050,"uuid":"247287080","full_name":"SkyoKen/RasCon_NS","owner":"SkyoKen","description":"Connect to Nintendo Switch over Bluetooth, emulate amiibo and use script from the web.（蓝牙连接Nintendo Switch，并可通过网页控制和使用脚本与amiibo）","archived":false,"fork":false,"pushed_at":"2020-08-11T13:31:15.000Z","size":653,"stargazers_count":166,"open_issues_count":1,"forks_count":17,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-08-05T17:35:55.730Z","etag":null,"topics":["amiibo","emulate-controller","joycon","nintendo-switch","pokemon-swordshield","raspberrypi"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SkyoKen.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}},"created_at":"2020-03-14T14:00:32.000Z","updated_at":"2024-04-14T17:23:31.000Z","dependencies_parsed_at":"2023-03-13T11:29:20.734Z","dependency_job_id":null,"html_url":"https://github.com/SkyoKen/RasCon_NS","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkyoKen%2FRasCon_NS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkyoKen%2FRasCon_NS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkyoKen%2FRasCon_NS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkyoKen%2FRasCon_NS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SkyoKen","download_url":"https://codeload.github.com/SkyoKen/RasCon_NS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225745418,"owners_count":17517639,"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":["amiibo","emulate-controller","joycon","nintendo-switch","pokemon-swordshield","raspberrypi"],"created_at":"2024-08-04T17:01:54.330Z","updated_at":"2024-11-21T14:30:39.841Z","avatar_url":"https://github.com/SkyoKen.png","language":"Python","funding_links":[],"categories":["Python (1887)","Python"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eRasCon Ver.1.2.1\u003c/h1\u003e\n  \u003cp\u003e蓝牙连接Nintendo Switch，并可通过网页控制和使用脚本与amiibo\u003c/p\u003e\n  \u003cp\u003e基于开源项目  \u003ca href=\"https://github.com/mart1nro/joycontrol\"\u003ejoycontrol\u003c/a\u003e\u003c/p\u003e\n  \u003cp\u003e\n  \u003ca href=\"https://github.com/SkyoKen/RasCon_NS\"\u003e\u003cimg src=\"https://img.shields.io/github/forks/SkyoKen/RasCon_NS.svg\" alt=\"forks\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/SkyoKen/RasCon_NS\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/SkyoKen/RasCon_NS.svg\" alt=\"stars\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/SkyoKen/RasCon_NS\"\u003e\u003cimg src=\"https://img.shields.io/github/license/SkyoKen/RasCon_NS.svg\" alt=\"license\"\u003e\u003c/a\u003e\n  \u003c/p\u003e\n  \u003cp\u003e\n  \u003ca href=\"README.md\"\u003e中文\u003c/a\u003e | \n  \u003ca href=\"README_JP.md\"\u003e日本語\u003c/a\u003e | \n  \u003ca href=\"README_EN.md\"\u003eENGLISH\u003c/a\u003e\n\u003c/p\u003e\n\u003c/div\u003e\n\n## 界面\n\u003cbr/\u003e\n\u003cimg src=\"image.png\"\u003e\n\u003cbr/\u003e\n\n## 运行环境 \n* python 3.7.3\n* bluetoothd 5.50\n* apache2 2.4.38  \n* flask 1.0.2 \n\nraspi3b+（rasbian）下成功运行\n\n## 初次使用\n1.需要将joycontrol项目的joycontrol文件夹复制到该项目目录下\n```\nsudo git clone https://github.com/SkyoKen/RasCon_NS.git\n\nsudo git clone https://github.com/mart1nro/joycontrol.git\n\nsudo cp -r joycontrol/joycontrol RasCon_NS/\n```\n2.安装所需要的库\n```\nsudo apt install python3-dbus libhidapi-hidraw0 apache2\n\nsudo pip3 install dbus-python flask hid aioconsole crc8\n```\n\n## 快速运行\n1．打开终端，运行命令\n```\nsudo python3 web.py\n```\n2．浏览器打开 树莓派ip地址:5000 （网页操作界面）\n\n3．switch的手柄界面,进入手柄搜索模式\n\n4．打开另一个终端，运行命令\n```\nsudo python3 run.py\n```\n5．连接上后，即可用网页进行操作\n\n## 参考用脚本\nhttps://github.com/SkyoKen/RasCon_NS/releases\n\n## 可能遇到的问题\n\n### Q：找不到hci0\nA：确认hci0是否存在，运行命令`hciconfig`\n\n（无法正常使用的话换个系统也许就好了，我树莓派用ubuntu18.04和ubuntu mate都无法启动hci0\n\n## 参考\n万恶之源 [Switch-Fightstick](https://github.com/progmem/Switch-Fightstick)\n\n蓝牙模拟ns手柄（可模拟amiibo） [joycontrol](https://github.com/mart1nro/joycontrol)\n\n蓝牙模拟ns手柄实现剑盾自动化 [poke_auto_joy](https://github.com/xxwsL/poke_auto_joy)\n\n小白也能写的自动化脚本 [EasyCon（伊机控）](https://github.com/nukieberry/PokemonTycoon)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSkyoKen%2FRasCon_NS","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSkyoKen%2FRasCon_NS","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSkyoKen%2FRasCon_NS/lists"}