{"id":18858344,"url":"https://github.com/hardwario/cp2webhook","last_synced_at":"2026-04-28T23:34:13.365Z","repository":{"id":62565095,"uuid":"182972238","full_name":"hardwario/cp2webhook","owner":"hardwario","description":"COOPER to Webhook (REST API endpoint)","archived":false,"fork":false,"pushed_at":"2022-06-13T12:36:57.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T08:06:47.152Z","etag":null,"topics":["cooper","iot","python","webhook","zeromq"],"latest_commit_sha":null,"homepage":"","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/hardwario.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-04-23T08:41:35.000Z","updated_at":"2022-06-13T12:37:00.000Z","dependencies_parsed_at":"2022-11-03T16:00:50.796Z","dependency_job_id":null,"html_url":"https://github.com/hardwario/cp2webhook","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardwario%2Fcp2webhook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardwario%2Fcp2webhook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardwario%2Fcp2webhook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardwario%2Fcp2webhook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hardwario","download_url":"https://codeload.github.com/hardwario/cp2webhook/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239800418,"owners_count":19699121,"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":["cooper","iot","python","webhook","zeromq"],"created_at":"2024-11-08T04:12:10.446Z","updated_at":"2026-02-07T16:30:14.984Z","avatar_url":"https://github.com/hardwario.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# COOPER to Webhook\r\n\r\n[![Travis](https://img.shields.io/travis/hardwario/cp2webhook/master.svg)](https://travis-ci.org/hardwario/cp2webhook)\r\n[![Release](https://img.shields.io/github/release/hardwario/cp2webhook.svg)](https://github.com/hardwario/cp2webhook/releases)\r\n[![License](https://img.shields.io/github/license/hardwario/cp2webhook.svg)](https://github.com/hardwario/cp2webhook/blob/master/LICENSE)\r\n[![PyPI](https://img.shields.io/pypi/v/cp2webhook.svg)](https://pypi.org/project/cp2webhook/)\r\n\r\n\r\n## Installing\r\n\r\nYou can install **cp2webhook** directly from PyPI:\r\n\r\n```sh\r\nsudo pip3 install -U cp2webhook\r\n```\r\n\r\nor from source:\r\n\r\n```sh\r\ngit clone https://github.com/hardwario/cp2webhook.git\r\ncd cp2webhook\r\nsudo pip3 install -r requirements.txt\r\nsudo pip3 install -e .\r\n```\r\n\r\n\u003e Note: Parameter `-e` instructs to install files as symlinks, so changes to the source files will be immediately available to other users of the package on the host.\r\n\r\n## Usage\r\n\r\nUpdate config.yml and run\r\n\r\n```sh\r\ncp2webhook -c config.yml\r\n```\r\n\r\n### Systemd\r\n\r\nInsert this snippet to the file /etc/systemd/system/cp2webhook.service:\r\n```\r\n[Unit]\r\nDescription=COOPER cp2webhook\r\nAfter=network.target\r\n\r\n[Service]\r\nType=simple\r\nUser=pi\r\nExecStart=/usr/local/bin/cp2webhook -c /etc/cooper/cp2webhook.yml\r\nRestart=always\r\nRestartSec=5\r\nStartLimitIntervalSec=0\r\n\r\n[Install]\r\nWantedBy=multi-user.target\r\n```\r\n\r\nStart the service:\r\n\r\n    sudo systemctl start cp2webhook.service\r\n\r\nEnable the service start on boot:\r\n\r\n    sudo systemctl enable cp2webhook.service\r\n\r\nView the service log:\r\n\r\n    journalctl -u cp2webhook.service -f\r\n\r\n## License\r\n\r\nThis project is licensed under the [**MIT License**](https://opensource.org/licenses/MIT/) - see the [**LICENSE**](LICENSE) file for details.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardwario%2Fcp2webhook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhardwario%2Fcp2webhook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardwario%2Fcp2webhook/lists"}