{"id":24995950,"url":"https://github.com/fclairamb/ucopia-connect","last_synced_at":"2026-03-14T01:32:51.627Z","repository":{"id":37024171,"uuid":"316995258","full_name":"fclairamb/ucopia-connect","owner":"fclairamb","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-09T05:41:09.000Z","size":22,"stargazers_count":1,"open_issues_count":8,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-10T05:48:21.462Z","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/fclairamb.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":"2020-11-29T16:36:24.000Z","updated_at":"2024-04-09T11:02:07.000Z","dependencies_parsed_at":"2024-02-07T22:33:10.507Z","dependency_job_id":"1410eab2-232f-4ea4-8001-4c6bd57dc10e","html_url":"https://github.com/fclairamb/ucopia-connect","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/fclairamb%2Fucopia-connect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fclairamb%2Fucopia-connect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fclairamb%2Fucopia-connect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fclairamb%2Fucopia-connect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fclairamb","download_url":"https://codeload.github.com/fclairamb/ucopia-connect/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248517575,"owners_count":21117482,"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":"2025-02-04T15:53:05.961Z","updated_at":"2026-03-14T01:32:51.587Z","avatar_url":"https://github.com/fclairamb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ucopia connect\n## Why\nThis is the wifi system used at the [St Felicity's Hospital](https://www.maternite-catholique-sainte-felicite.fr/).\n\nThe Ucopia portal system is a bit painful to use. As soon as you disconnect you wifi\nfor a minute it breaks.\n\n## How it works\nIt checks regularly if you are logged in and if not reconnects you.\n\n## How to use\nYou need to register and define the following environment variable:\n- `PORTAL_LOGIN`\n- `PORTAL_PASSWORD`\n\nThe following config is optional with these default value:\n- `PORTAL_ADDRESS=https://controller.access.network`\n- `CHECK_PERIOD=20`\n\nThe best option is probably to run it with docker:\n```bash\ndocker run --name=wifi-autoconnect -ti -e PORTAL_LOGIN=$MCSF_LOGIN -e PORTAL_PASSWORD=$MCSF_PASSWORD --restart=always fclairamb/ucopia-connect\n```\n\nIt should give you something like that:\n```\ndocker logs wifi-autoconnect -f\n2020-11-29 17:41:27,623 | INFO | Checking current step\n2020-11-29 17:41:27,911 | INFO | Current step: LOGON\n2020-11-29 17:41:27,912 | INFO | Attempting login !\n2020-11-29 17:41:28,305 | INFO | We're connected !\n2020-11-29 17:41:48,326 | INFO | Checking current step\n2020-11-29 17:41:49,222 | INFO | Current step: FEEDBACK\n2020-11-29 17:41:49,222 | INFO | All good\n2020-11-29 17:42:09,343 | INFO | Checking current step\n2020-11-29 17:42:10,066 | INFO | Current step: FEEDBACK\n2020-11-29 17:42:10,067 | INFO | All good\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffclairamb%2Fucopia-connect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffclairamb%2Fucopia-connect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffclairamb%2Fucopia-connect/lists"}