{"id":21186695,"url":"https://github.com/imubit/data-agent-osisoft-pi","last_synced_at":"2025-03-14T20:18:35.398Z","repository":{"id":196625019,"uuid":"688684404","full_name":"imubit/data-agent-osisoft-pi","owner":"imubit","description":"Data Agent plugin (connector) for accessing Osisoft PI Historian","archived":false,"fork":false,"pushed_at":"2024-05-15T17:32:01.000Z","size":40,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-22T07:48:58.162Z","etag":null,"topics":["data-agent","osisoft-pi","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imubit.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-07T22:07:33.000Z","updated_at":"2024-05-15T17:30:07.000Z","dependencies_parsed_at":"2024-02-26T16:56:32.094Z","dependency_job_id":"4a4a9724-8017-43e2-8628-34b52c146ad1","html_url":"https://github.com/imubit/data-agent-osisoft-pi","commit_stats":null,"previous_names":["imubit/data-agent-osisoft-pi"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imubit%2Fdata-agent-osisoft-pi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imubit%2Fdata-agent-osisoft-pi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imubit%2Fdata-agent-osisoft-pi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imubit%2Fdata-agent-osisoft-pi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imubit","download_url":"https://codeload.github.com/imubit/data-agent-osisoft-pi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243639558,"owners_count":20323511,"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":["data-agent","osisoft-pi","python"],"created_at":"2024-11-20T18:25:25.329Z","updated_at":"2025-03-14T20:18:35.367Z","avatar_url":"https://github.com/imubit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n[![Built Status](https://api.cirrus-ci.com/github/imubit/data-agent-osisoft-pi.svg?branch=main)](https://cirrus-ci.com/github/imubit/data-agent-osisoft-pi)\n[![PyPI-Server](https://img.shields.io/pypi/v/data-agent-osisoft-pi.svg)](https://pypi.org/project/data-agent-osisoft-pi/)\n[![Project generated with PyScaffold](https://img.shields.io/badge/-PyScaffold-005CA0?logo=pyscaffold)](https://pyscaffold.org/)\n\n# data-agent-osisoft-pi\n\n\u003e [Data Agent](https://github.com/imubit/data-agent) plugin for accessing Osisoft PI Historian.\n\n\n## CLI Examples\n\nExample of using [Data Agent](https://github.com/imubit/data-agent) CLI to access PI tags\n\n```commandline\ndagent exec create_connection --conn_name=pi --conn_type=osisoft-pi --enabled=True --server_name=DATA-SERVER\ndagent exec list_connections\ndagent exec connection_info --conn_name=pi\ndagent exec list_tags --conn_name=pi\ndagent exec read_tag_values_period --conn_name=pi --tags=\"['sinusoid', 'sinusoidu']\" --first_timestamp=*-100h --last_timestamp=*\ndagent exec copy_period --src_conn=pi --tags=\"['SINUSOID', 'sinusoidu']\" --dest_conn=csv --dest_group='sinus.csv' --first_timestamp=*-100h --last_timestamp=*\n```\n\n\n## Troubleshooting\n\n### OSIsoft.AF.PI.PITimeoutException when reading historical data\n\nIncrease the SDK data access timeout settings on the client machine. There are two timeouts for the SDK, a connection timeout and a data access timeout. The connection timeout default is 10 seconds.  The data access timeout is 60 seconds. Data access timeouts are the most likely cause of the error.\n* Launch AboutPI-SDK.exe.\n* Navigate to the Connections tab.\n* Select the PI Data Archive in question.\n* Increase the Data Access Timeout and Connection Timeout to 120 seconds or more.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimubit%2Fdata-agent-osisoft-pi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimubit%2Fdata-agent-osisoft-pi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimubit%2Fdata-agent-osisoft-pi/lists"}