{"id":13338620,"url":"https://github.com/paraizofelipe/py_iot","last_synced_at":"2025-03-11T10:31:39.819Z","repository":{"id":45911419,"uuid":"514940685","full_name":"paraizofelipe/py_iot","owner":"paraizofelipe","description":"CLI para controle de IOT com a API Tuya","archived":false,"fork":false,"pushed_at":"2022-07-17T19:51:52.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-23T22:17:49.042Z","etag":null,"topics":["iot","python","smart-home","tuya"],"latest_commit_sha":null,"homepage":"","language":"Python","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/paraizofelipe.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2022-07-17T19:48:14.000Z","updated_at":"2022-07-17T20:04:14.000Z","dependencies_parsed_at":"2022-08-06T10:01:39.520Z","dependency_job_id":null,"html_url":"https://github.com/paraizofelipe/py_iot","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/paraizofelipe%2Fpy_iot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paraizofelipe%2Fpy_iot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paraizofelipe%2Fpy_iot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paraizofelipe%2Fpy_iot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paraizofelipe","download_url":"https://codeload.github.com/paraizofelipe/py_iot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243015412,"owners_count":20222078,"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":["iot","python","smart-home","tuya"],"created_at":"2024-07-29T19:17:02.759Z","updated_at":"2025-03-11T10:31:34.815Z","avatar_url":"https://github.com/paraizofelipe.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### py_iot\n\n### Commands\n\nInstall all project dependencies\n\n```bash\n$ poetry install\n```\n\nRun the configuration process, using the keys, token and IP from the tuya project\n\n```bash\n$ cd ./setup\n$ poetry run python -m tinytuya wizard \n```\n\nWith all the configuration JSON files pulling from the environment. Scan the network to find all tuya devices on the network\n**Note:** This process is necessary to get the **local_keys** of the devices\n\n```bash\n$ poetry run python -m tinytuya scan\n```\n\nCommand to collect status of device named Lamp\n\n```bash\n$ poetry run local_iot show_status Lamp\n```\n\nCommand to turn the device on and off\n\n```bash\n$ poetry run local_iot switch Lamp \n```\n\nCommand to modify the RGB device color\n\nSupported colors: red, orange, yellow, green, blue, indigo, violet, turquoise, magenta and white\n\n```bash\n$ poetry run local_iot color Lamp red\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparaizofelipe%2Fpy_iot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparaizofelipe%2Fpy_iot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparaizofelipe%2Fpy_iot/lists"}