{"id":20290514,"url":"https://github.com/cassiancc/humidity-final-project","last_synced_at":"2025-03-04T04:42:58.935Z","repository":{"id":235929726,"uuid":"790969615","full_name":"cassiancc/Humidity-Final-Project","owner":"cassiancc","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-01T23:41:53.000Z","size":5915,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-14T08:52:45.625Z","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/cassiancc.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":"2024-04-23T21:20:07.000Z","updated_at":"2024-05-01T23:41:56.000Z","dependencies_parsed_at":"2025-01-14T08:45:42.159Z","dependency_job_id":"437886d5-77e5-43ea-8db0-1ff4de216e5b","html_url":"https://github.com/cassiancc/Humidity-Final-Project","commit_stats":null,"previous_names":["cassiancc/humidity-final-project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cassiancc%2FHumidity-Final-Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cassiancc%2FHumidity-Final-Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cassiancc%2FHumidity-Final-Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cassiancc%2FHumidity-Final-Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cassiancc","download_url":"https://codeload.github.com/cassiancc/Humidity-Final-Project/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241787488,"owners_count":20020099,"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-14T15:07:55.859Z","updated_at":"2025-03-04T04:42:58.887Z","avatar_url":"https://github.com/cassiancc.png","language":"Python","readme":"# CIT 381 Final Project\n\n\nInstall\n```\ngit clone https://github.com/cassiancc/Humidity-Final-Project\ncd Humidty-Final project\npython3 -m venv env\nsource env/bin/activate\npython3 -m pip install adafruit-circuitpython-dht\npip install flask\npython3 humidity.py\n```\n\nYou'll need to provide an Accuweather API key as key.txt for the service to work. \n\n## Create service\nCreate a service file named humidity.\n```bash\nsudo nano /etc/systemd/system/humidity.service\n```\nAdd the following content to the file.\n```\n[Unit]\nDescription = Humidity final project\nAfter = network.target\n\n[Service]\nType = simple\nExecStart=/home/cassian/final-project/env/bin/python3 /home/cassian/final-project/humidity.py\nWorkingDirectory=/home/cassian/final-project\nUser = cassian\nGroup = cassian\nRestart = on-failure\nSyslogIdentifier = humidity\nRestartSec = 5\nTimeoutStartSec = infinity\n\n[Install]\nWantedBy = multi-user.target\n```\nStart the service\n```bash\nsystemctl enable humidity\n\nsystemctl daemon-reload\n\nsystemctl start humidity\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcassiancc%2Fhumidity-final-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcassiancc%2Fhumidity-final-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcassiancc%2Fhumidity-final-project/lists"}