{"id":13338590,"url":"https://github.com/shubhamdipt/auto-light","last_synced_at":"2025-03-11T10:31:34.683Z","repository":{"id":50185084,"uuid":"210156496","full_name":"shubhamdipt/auto-light","owner":"shubhamdipt","description":"Script for switching light on off automatically using raspberry pi and smart tuya switch.","archived":false,"fork":false,"pushed_at":"2022-12-08T06:37:30.000Z","size":5,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-24T10:09:01.845Z","etag":null,"topics":["api","light","python","raspberry-pi","sensor","tuya","tuya-smart"],"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/shubhamdipt.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":"2019-09-22T14:00:06.000Z","updated_at":"2019-09-22T16:39:17.000Z","dependencies_parsed_at":"2022-09-15T18:00:53.793Z","dependency_job_id":null,"html_url":"https://github.com/shubhamdipt/auto-light","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/shubhamdipt%2Fauto-light","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhamdipt%2Fauto-light/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhamdipt%2Fauto-light/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhamdipt%2Fauto-light/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shubhamdipt","download_url":"https://codeload.github.com/shubhamdipt/auto-light/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243015399,"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":["api","light","python","raspberry-pi","sensor","tuya","tuya-smart"],"created_at":"2024-07-29T19:17:02.435Z","updated_at":"2025-03-11T10:31:29.672Z","avatar_url":"https://github.com/shubhamdipt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# auto-light\nScript for switching light on off automatically using raspberry pi and smart tuya switch.\n\n## Requirements\n* Arduino light sensor\n* Tuya smart plug\n* Raspberry pi\n* Python3\n\n## Set up\n\nCreate a config.ini file about tuya smart plug with following contents.\n\n````\n[TUYA]\nusername = \u003cusername\u003e\npassword = \u003cpassword\u003e\nlocation = EU\ndevice = \u003cdevice_id\u003e\n````\n\n## Usage\n\n    python main.py\n    \n    \n### Wiring\n\nRaspberry Pi -\u003e Light Sensor Module\n\n3.3v P1 -\u003e VCC (V)\n\nGND P6 -\u003e GND (G)\n\nGPIO4 P7 -\u003e SIGNAL (S)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubhamdipt%2Fauto-light","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshubhamdipt%2Fauto-light","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubhamdipt%2Fauto-light/lists"}