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. For this to work with Anaconda IPython Notebook in Windows, be sure to use "python setup.py install" using the Anaconda Command Prompt in Windows. If not, module will be installed for System path python but won't work in the environment of Anaconda IPython Notebook. You will need hszinc 1.3+ for this to work.
We are trying to set up a watch for a skyspark installation.
I was trying to get watch_poll to work, however, I noticed that it always returns me all the points whether I have refresh on True or False.
I did some digging and found out it is probably due to the server implementation.
Hello,
We are trying to set up a watch for a skyspark installation. I was trying to get
watch_poll
to work, however, I noticed that it always returns me all the points whether I have refresh on True or False. I did some digging and found out it is probably due to the server implementation.However, for a standard server, I think a full refresh won't work because of the following functions: https://github.com/ChristianTremblay/pyhaystack/blob/master/pyhaystack/client/session.py#L510 Here it basically forgets about the refresh parameter.
I think the above mentioned could should fix it if I look at the documentation specified here: https://project-haystack.org/doc/Ops#watchPoll