{"id":19230631,"url":"https://github.com/ctron/fritzbox-agent","last_synced_at":"2025-02-23T11:17:40.878Z","repository":{"id":40470026,"uuid":"316293770","full_name":"ctron/fritzbox-agent","owner":"ctron","description":"Publishing Fritzbox traffic statistics to Drogue IoT","archived":false,"fork":false,"pushed_at":"2023-09-12T23:26:42.000Z","size":25,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-04T23:25:53.318Z","etag":null,"topics":["iot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ctron.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-26T17:12:55.000Z","updated_at":"2022-03-02T08:55:29.000Z","dependencies_parsed_at":"2024-11-09T15:52:51.404Z","dependency_job_id":null,"html_url":"https://github.com/ctron/fritzbox-agent","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctron%2Ffritzbox-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctron%2Ffritzbox-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctron%2Ffritzbox-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctron%2Ffritzbox-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ctron","download_url":"https://codeload.github.com/ctron/fritzbox-agent/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240304709,"owners_count":19780313,"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":["iot"],"created_at":"2024-11-09T15:39:57.365Z","updated_at":"2025-02-23T11:17:40.834Z","avatar_url":"https://github.com/ctron.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fritzbox Agent\n\nThis is a small agent, publishing network traffic information to a [Drogue IoT](https://drogue.io) instance.\n\n## Installing\n\n* Install Podman\n\n  * Fedora:\n    ~~~shell\n    sudo dnf -y install podman\n    ~~~\n\n  * Ubuntu 20.10 (including Raspberry Pi 3/4):\n    ~~~shell\n    sudo apt -y install podman runc\n    ~~~\n\n* Create a systemd unit (`/etc/systemd/system/fritzbox-agent.service`):\n\n  ~~~ini\n  [Unit]\n  Description=Fritzbox Agent\n  \n  [Service]\n  Restart=on-failure\n  ExecStartPre=/usr/bin/rm -f /%t/%n-pid /%t/%n-cid\n  ExecStart=/usr/bin/podman run --rm --conmon-pidfile /%t/%n-pid --cidfile /%t/%n-cid -e PASSWORD=fritzbox-password -e APP_ID=app -e DEVICE_ID=device -e DEVICE_PASSWORD=device12 -e ENDPOINT=https://http-endpoint-drogue-iot.apps.your.cluster.tld -d ghcr.io/ctron/fritzbox-agent:latest\n  ExecStop=/usr/bin/sh -c \"/usr/bin/podman rm -f `cat /%t/%n-cid`\"\n  KillMode=none\n  Type=forking\n  PIDFile=/%t/%n-pid\n  \n  [Install]\n  WantedBy=multi-user.target\n  ~~~\n\n  Be sure to replace the environment variables:\n\n    * `PASSWORD` – The password of the Fritzbox\n    * `ENDPOINT` – HTTP endpoint in Drogue Cloud\n    * `APP_ID` – Application ID in Drogue Cloud\n    * `DEVICE_ID` – Device ID in Drogue Cloud\n    * `DEVICE_PASSWORD` – Password part of the device credentials\n\n* Reload the daemon:\n\n  ~~~shell\n  sudo systemctl daemon-reload\n  ~~~\n\n* Activate the unit\n\n  ~~~shell\n  sudo systemctl enable --now fritzbox-agent.service\n  ~~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctron%2Ffritzbox-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctron%2Ffritzbox-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctron%2Ffritzbox-agent/lists"}