{"id":18162817,"url":"https://github.com/zunda-pixel/sremopypi","last_synced_at":"2025-10-06T02:41:25.428Z","repository":{"id":57470747,"uuid":"328205200","full_name":"zunda-pixel/sRemoPyPI","owner":"zunda-pixel","description":null,"archived":false,"fork":false,"pushed_at":"2021-10-27T06:17:32.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-01T14:49:50.994Z","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/zunda-pixel.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":"2021-01-09T17:08:09.000Z","updated_at":"2021-10-27T06:17:58.000Z","dependencies_parsed_at":"2022-09-19T10:22:21.115Z","dependency_job_id":null,"html_url":"https://github.com/zunda-pixel/sRemoPyPI","commit_stats":null,"previous_names":["zunda-pixel/sremo"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/zunda-pixel/sRemoPyPI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunda-pixel%2FsRemoPyPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunda-pixel%2FsRemoPyPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunda-pixel%2FsRemoPyPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunda-pixel%2FsRemoPyPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zunda-pixel","download_url":"https://codeload.github.com/zunda-pixel/sRemoPyPI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunda-pixel%2FsRemoPyPI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278551494,"owners_count":26005386,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-02T10:05:20.504Z","updated_at":"2025-10-06T02:41:25.406Z","avatar_url":"https://github.com/zunda-pixel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sRemoPyPI\nsRemoPyPI is a Python client for the [sCloud API](https://sremosup.socinno.com/page-2872/).\n\n## sCloud API\n[sCloud API](https://sremosup.socinno.com/page-2872/)とはSocinnoが販売しているスマートリモコン「sRemoシリーズ」のAPIです。\nhttpのGET/POSTで家電の操作が可能です。\n\n## Example Code\nこのsRemoAPIのExample Code(.ipynb)をGoogle Colabで確認できるようにしています。\n\n## Install\nPyPIにアップロードしたので、pipでインストール可能です。\n[PyPI sRemoAPI](https://pypi.org/project/sRemoAPI/)\n```shell\npip install sRemoAPI\n```\n\n## How to use\n必要なものはAPIのアクセストークンとsRemo本体の識別子です。\n\n### Import\n最初にAPIのアクセストークンと本体の識別子を入力する必要があります。\n\n```python\nfrom sRemo import sRemoAPI\n\naccess_token = \"\"\ndevice_identify = \"\"\n\napi = sRemoAPI(access_token, device_identify)\n```\n\n### set_adjustment()\nセンサーのずれを調整します。\n\n### get_sensor_data()\nセンサーの情報(温度、湿度、照度)を取得可能です。\n\n### get_time()\n時間が取得可能です。\nこれは必要あるのかわからないですが、sCloud APIにあるので実装しておきました。\n\n### get_limit()\nsCloud APIは5分で10回までアクセス可能で、このメソッドでは今何回アクセスしたかが確認可能です。\nしかしこのアクセス数を確認するためにアクセスを1つ無駄にしているので、使わなくても問題ないと思います。\n\n\n### send_signal_141()\nsRemoのアプリで141個まで登録可能なカスタムボタンを実行できるものです。\nボタンの番号を引数にとります。\n\n### send_signal()\nsRemoに登録した家電を操作可能です。\nアプリで登録した家電番号、家電のタイプ、信号が必要です。\n家電のタイプはget_appliances_type()で取得可能です。文字列で渡してください。\n信号はsCloud APIの解説から確認可能です。\nsCloud APIの解説ではエアコンを別で説明していますが、どちらもsend_signal()で対応可能です。\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzunda-pixel%2Fsremopypi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzunda-pixel%2Fsremopypi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzunda-pixel%2Fsremopypi/lists"}