{"id":21017486,"url":"https://github.com/rootz491/rpi-control","last_synced_at":"2025-03-13T17:17:41.670Z","repository":{"id":40394584,"uuid":"316645199","full_name":"rootz491/rpi-control","owner":"rootz491","description":"control raspberry pi 3 using a website.","archived":false,"fork":false,"pushed_at":"2022-05-11T07:11:09.000Z","size":4378,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-09T14:06:22.623Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rootz491.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":"2020-11-28T03:01:00.000Z","updated_at":"2023-11-19T13:24:38.000Z","dependencies_parsed_at":"2022-08-09T19:10:41.719Z","dependency_job_id":null,"html_url":"https://github.com/rootz491/rpi-control","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/rootz491%2Frpi-control","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootz491%2Frpi-control/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootz491%2Frpi-control/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootz491%2Frpi-control/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rootz491","download_url":"https://codeload.github.com/rootz491/rpi-control/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243447642,"owners_count":20292452,"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":[],"created_at":"2024-11-19T10:19:36.328Z","updated_at":"2025-03-13T17:17:41.652Z","avatar_url":"https://github.com/rootz491.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IoT X Django project\n\n## Tech:\n\n* _Django_ [backend]\n* _SQLite3_ [database]\n* _html, css_ [templates]\n* _Raspberry Pi 3_ [HARDWARE]\n\n\n## dependencies:\n\n* python 3.7.5\n* django 3.1.3\n* RPi.gpiozero\n\n\n## How it works?\n\n\u003e\tDjango is used for URL mapping, working as perfect server.\n\u003e\tone of the methods is **update**, used to handle the request (POST)\n\u003e\tthat contain a bool input to change the state of LED.\n\u003e\tUsing GPIOZERO to actually work with built-in PINS of Raspberry Pi\n\u003e\tanytime user will change the state of LED, it will get stored in database.\n\u003e\tAlso, with changing the state. one can also pass the message. Although it's \n\u003e\tjust optional but message will get stored along with that change in state and \n\u003e\ttimeStamp of when state was changed.\n\u003e\n\u003e\twhen you'll start working with this source code, for first serve of index page\n\u003e\tit will show LED is *GLOWING* that's because Last time i tested on it, i left \n\u003e\tLED open.\n\u003e\t\n\u003e\tgpio15 is the pin number in which you'll have to connect LED in order to work.\n\u003e\talthough you can change the pin number to whatever you want.\n\n\n## Problems:\n\n*\tIf you are using python 3.8.x for some reason, then it won't work directly.\n*\tto make it work, paste *_sqlite.so* in the root of this project directory.\n*\tAlso remember to update Raspberry Pi to it's latest version for complete gpio support.\n\n![quick image](snap.jpeg)\n\nThankyou!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootz491%2Frpi-control","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frootz491%2Frpi-control","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootz491%2Frpi-control/lists"}