{"id":23728086,"url":"https://github.com/kipe/siemens-pac","last_synced_at":"2026-03-08T23:31:20.677Z","repository":{"id":57467045,"uuid":"41545766","full_name":"kipe/siemens-pac","owner":"kipe","description":"A Python library for reading Siemens SENTRON PAC -series measurement devices.","archived":false,"fork":false,"pushed_at":"2015-12-01T14:49:46.000Z","size":14,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-04T05:43:59.923Z","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/kipe.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":"2015-08-28T12:17:03.000Z","updated_at":"2024-08-15T20:54:02.000Z","dependencies_parsed_at":"2022-09-10T02:00:46.762Z","dependency_job_id":null,"html_url":"https://github.com/kipe/siemens-pac","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kipe/siemens-pac","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kipe%2Fsiemens-pac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kipe%2Fsiemens-pac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kipe%2Fsiemens-pac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kipe%2Fsiemens-pac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kipe","download_url":"https://codeload.github.com/kipe/siemens-pac/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kipe%2Fsiemens-pac/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30276908,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T20:45:49.896Z","status":"ssl_error","status_checked_at":"2026-03-08T20:45:49.525Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-12-31T01:49:04.896Z","updated_at":"2026-03-08T23:31:20.653Z","avatar_url":"https://github.com/kipe.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Siemens SENTRON PAC\n[![Build Status](https://travis-ci.org/kipe/siemens-pac.svg?branch=master)](https://travis-ci.org/kipe/siemens-pac)\n\nA Python library for reading [Siemens SENTRON PAC -series](http://w3.siemens.com/powerdistribution/global/en/lv/product-portfolio/sentron/measuring-devices-energy-monitoring/measuring-devices/7kt-pac3200-measuring-devices/pages/7km-pac3200-measuring-devices.aspx) measuring devices.\n\n\n## Installation\n```\npip install git+https://github.com/kipe/siemens-pac.git\n```\n\n## Usage\nTo read PACx200 -devices through Modbus TCP/IP:\n```python\nfrom siemens.pac import PACx200\np = PACx200('192.168.0.80')\np.read()  # Reads all values from PAC\n# Print whole PAC as dictionary, with NaN values replaced with 0 (useful for JSON dumping).\nprint(p.as_dict(replace_nan=True))\n```\n\n## Issues\n- PAC3100 is supported only in theory, as I haven't got a device to test on. Might or might not work.\n- According to tests done on PAC3200, if only one (might be also only two?) phase is connected, phase specific powers are reported as NaN.\n\n\u003e However, total power, accessible via `PACx200.power`, is reported correctly.\n\u003e In this case, Phase.voltage and Phase.current are used to calculate Power.apparent.\n\u003e Power.active and Power.reactive are left as NaN, to indicate invalid input.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkipe%2Fsiemens-pac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkipe%2Fsiemens-pac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkipe%2Fsiemens-pac/lists"}