pyhaystack icon indicating copy to clipboard operation
pyhaystack copied to clipboard

Pyhaystack is a module that allow python programs to connect to a haystack server project-haystack.org. Connection can be established with Niagara Platform running the nhaystack, Skyspark and Widesky....

Results 15 pyhaystack issues
Sort by recently updated
recently updated
newest added

When trying to login to my Active Directory account on SkySpark, I get an AuthenticationProblem exception. But when I try a non LDAP account, it just works fine. I am...

This is not an issue per se, but I am curious as to pyhaystack's design choices on this. Apologies if there was another place you would have preferred me to...

The following snippet ```python session = pyhaystack.connect( implementation="skyspark", uri=SKYSPARK_URL, username=SKYSPARK_USERID, password=SKYSPARK_PWD, project=PROJECT, grid_format=hszinc.MODE_JSON, ) print(session.find_entity("site")) print(session.find_entity("site").result) ``` produces the following output ```Traceback (most recent call last): Traceback (most recent call...

```python session.get_eval( 'hisClear(parseRef("p:dataCenter50B:r:282c63c3-f1e7d0c0"), 2021)' ) ``` results in ``` Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/pyhaystack-3.0.0-py3.8.egg/pyhaystack/client/http/sync.py", line 78, in _request File "/usr/local/lib/python3.8/site-packages/requests-2.25.1-py3.8.egg/requests/models.py", line 943, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError:...

Hey All, Ran into this: https://github.com/ChristianTremblay/pyhaystack/blob/3c3508212c0f5a4e5f254fed4d169da91f03242d/pyhaystack/client/entity/model.py#L61 Is it possible to add new entitles to SkySpark with pyhaystack? Looking to automate the process of adding equipment and sensor points. Thanks!

enhancement

So, been thinking about this for a long while now. We have the necessary bits for asynchronous operations, and yes, it's on my to-do list to write an async HTTP...

documentation

Is there any built in solution that we can retrieve files from SkySpark uri through pyhaystack ? For example, the following uri returns an image file sitting in SkySpark bin...

enhancement

After a new Skyspark upgrade, we are getting zincparser error trying to read this hszinc data > Expected end of text, found '"' (at char 1134), (line:6, col:1) > Expected...

python: 3.12.1 pyhaystack: 3.0.0 ![image](https://github.com/ChristianTremblay/pyhaystack/assets/28568478/8e2ee0d6-b679-4595-b6e0-b7fba5895bf0) ``` class OpticManager: def __init__(self) -> None: self.url = f'{SIEMENS_HOST}' self.client = pyhaystack.connect(implementation='skyspark', uri=self.url, username=SIEMENS_USER_NAME, password=SIEMENS_PASSWORD, project=SIEMENS_PROJECT_NAME, pint=True) def get_about(self): op = self.client.about() op.wait(3) about...

Hi, I'm trying to connect to the Haxall project (https://haxall.io/) but without success. I get different types of errors like 404 or . Have you ever tried connecting to Haxall?...