{"id":13338614,"url":"https://github.com/shtrom/tuyapi-docker","last_synced_at":"2026-05-21T23:10:57.203Z","repository":{"id":41192088,"uuid":"508689596","full_name":"shtrom/tuyapi-docker","owner":"shtrom","description":"Simple tuya-cli container","archived":false,"fork":false,"pushed_at":"2023-05-28T02:22:31.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-09T14:06:03.655Z","etag":null,"topics":["docker","tuya","tuya-api"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/shtrom.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-29T12:50:38.000Z","updated_at":"2022-06-29T12:54:22.000Z","dependencies_parsed_at":"2024-10-23T20:38:50.103Z","dependency_job_id":"83616526-3be4-45ed-925f-d2ada50e3e2e","html_url":"https://github.com/shtrom/tuyapi-docker","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/shtrom%2Ftuyapi-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shtrom%2Ftuyapi-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shtrom%2Ftuyapi-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shtrom%2Ftuyapi-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shtrom","download_url":"https://codeload.github.com/shtrom/tuyapi-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243015409,"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":["docker","tuya","tuya-api"],"created_at":"2024-07-29T19:17:02.702Z","updated_at":"2025-12-25T03:41:02.455Z","avatar_url":"https://github.com/shtrom.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple tuya-cli container\n\n## Usage\n\nPre-built docker images are available from [Docker Hub](https://hub.docker.com/repository/docker/omehani/tuya-cli)\n\n    docker run --rm omehani/tuya-cli help\n\n## Local build\n\nBuild the container.\n\n    docker build . -t tuya-cli\n\nThen run commands as you would with [tuya-cli].\n\n    docker run --rm \\\n      tuya-cli set \\\n      --id ${ID} --key ${KEY} --ip ${IP} --protocol-version 3.3 \\\n      --dps 20  --set true\n\n## Examples\n\n### Getting the list of devices associated to an account\n\n    docker run --rm -it omehani/tuya-cli wizard\n\t? The API key from tuya.com: XXX\n\t? The API secret from tuya.com YYY\n\t? Provide a 'virtual ID' of a device currently registered in the app: ZZZ\n\tdead3gs75\n\t[\n\t  {\n\t\tname: 'Light',\n\t\tid: 'ZZZ',\n\t\tkey: 'AAA'\n\t  },\n      ...\n\t]\n\n\n### Reviving Mirabella GENIO globes\n\nAs discussed in rospogrigio/localtuya#445 and rospogrigio/localtuya#491, some\nversions of the Mirabella GENIO A60 9W LED GLS BK (I002605, mid-2021), at least,\nget into a Zombie state when started without Internet access. Reviving them can\nbe done as follows.\n\nSet some environment variables.\n\n    IP=192.2.0.1\n    ID=xxx\n    KEY=yyy\n\n\nReset the defaults.\n\n    docker run --rm omehani/tuya-cli set --id ${ID} --key ${KEY} --ip ${IP} --protocol-version 3.3 --dps 20  --set true\n    docker run --rm omehani/tuya-cli set --id ${ID} --key ${KEY} --ip ${IP} --protocol-version 3.3 --dps 21  --set 'white'\n    docker run --rm omehani/tuya-cli set --id ${ID} --key ${KEY} --ip ${IP} --protocol-version 3.3 --dps 22  --set 500\n    docker run --rm omehani/tuya-cli set --id ${ID} --key ${KEY} --ip ${IP} --protocol-version 3.3 --dps 23  --set 1000\n    docker run --rm omehani/tuya-cli set --id ${ID} --key ${KEY} --ip ${IP} --protocol-version 3.3 --dps 25  --set '030e0d00000000000000001f403e8'\n    docker run --rm omehani/tuya-cli set --id ${ID} --key ${KEY} --ip ${IP} --protocol-version 3.3 --dps 26  --set 0\n\nCheck that everything is in order.\n\n    docker run --rm omehani/tuya-cli get --id ${ID} --key ${KEY} --ip ${IP} --protocol-version 3.3\n\n[tuya-cli]: https://github.com/TuyaAPI/cli\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshtrom%2Ftuyapi-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshtrom%2Ftuyapi-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshtrom%2Ftuyapi-docker/lists"}