{"id":15707569,"url":"https://github.com/compatech/pyspcflexgw","last_synced_at":"2025-06-23T17:39:53.611Z","repository":{"id":80097132,"uuid":"307350771","full_name":"CoMPaTech/pyspcflexgw","owner":"CoMPaTech","description":null,"archived":false,"fork":false,"pushed_at":"2020-10-26T11:32:20.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T16:15:57.879Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CoMPaTech.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-10-26T11:31:07.000Z","updated_at":"2020-10-26T11:32:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"49b9dd03-e7e7-44d9-a0b0-51db3376ae28","html_url":"https://github.com/CoMPaTech/pyspcflexgw","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CoMPaTech/pyspcflexgw","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoMPaTech%2Fpyspcflexgw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoMPaTech%2Fpyspcflexgw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoMPaTech%2Fpyspcflexgw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoMPaTech%2Fpyspcflexgw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CoMPaTech","download_url":"https://codeload.github.com/CoMPaTech/pyspcflexgw/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoMPaTech%2Fpyspcflexgw/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261523794,"owners_count":23172094,"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-10-03T20:40:48.208Z","updated_at":"2025-06-23T17:39:53.589Z","avatar_url":"https://github.com/CoMPaTech.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Python library for communicating with [Vanderbilt SPC alarm systems](https://vanderbiltindustries.com/spc) via the REST/websocket API provided by the SPC Web Gateway software made by [Lundix IT](http://www.lundix.se/smarta-losningar/). Using this library you can:\n\n- Retrieve information for all alarm areas and zones.\n- Change the alarm mode, i.e. arming and disarming of the alarm system.\n- Get real-time updates when attributes of areas and zones change, e.g. if motion detector connected to the systems triggers or when the alarm goes off.\n\n## Usage\n### Library\nTo use the library in your own application see the example file.\n\n### Stand-alone\nWhen installing the package an interactive test shell is automatically installed. To run it:\n```\nspcwebgw-console \u003cAPI url\u003e \u003cWS url\u003e\n```\nWhere ```\u003cAPI url\u003e```is the url of the SPC Web Gateway API and ```\u003cWS url\u003e``` is the url of the SPC Web Gateway websocket endpoint.\n\nExamples of available commands in the test shell:\n\n- ```areas```. List all available areas.\n- ```zones```. List all available zones or only zones in a specific area.\n- ```full_set```. Full set an area.\n- ```part_set_x```. Part set x an area.\n- ```unset```. Unset an area.\n- ```debug```. Toggle debug output.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompatech%2Fpyspcflexgw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcompatech%2Fpyspcflexgw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompatech%2Fpyspcflexgw/lists"}