Pyhaystack Versions Save

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.

v0.92.11

3 years ago

Trying to improve things

v0.92.10

4 years ago

Enfin !

A lot of bug squish, a change of name for widesky, and a few 1000's more reasons.

0.92.6

6 years ago

Numerous bug fixes and Niagara BQL support

0.92.5

6 years ago

A lot of work for connection to different servers

0.92

7 years ago

pyhaystack 0.92 / The Haystack Connect 2017 Release ####################################################

We are very proud to announce our brand new release for pyhaystack version 0.92. This update allows python to connect to haystack server running Skyspark, Skyspark v3+, Widesky, Niagara AX and Niagara4 !

Skyspark v3 new authentication scheme is fully functionnal. Niagara4 SCRAM authentication (digest scheme) is also fully functionnal.

This update also brings improvements to the syntax so it's easier to connect and explore your haystack server.

Syntax improvements


It's now easier to connect to a haystack server using pyhaystack.connect(args). You just provide the implementation you need and login info.

You can also use the pythonic square bracket feature over objects to make searches.

my_equip = my_session.site['my_equip'] znt = my_equip['ZN~2dT'] temp_sensors = my_equip['sensor and air and temp']

histories


Histories are fundamental to analysis. Pyhaystack uses Pandas series and dataframes when dealing with histories. You then gain access to a lot of nice features right out of the box. Statistical functions, model fitting, removing nan values or filling them using last good values...

temp_sensors_his_dataframe = session.his_read_frame(temp_sensors, rng='2017-04-01,2017-04-30').result

A great tool


Those features make pyhaystack a great tool for "on the spot" analysis but also as a robust module to build global distributed analysis application (Widesky).

Haystack Connect


We will not have the chance to party with you on haystack connect this year. We hope that you will find some time to think about us and the open source community, working hard to make project-haystack more accessible and widely used in the building automation world.

pyhaystack is a 100% open source project supported by SERVISYS inc. and VRT Systems

Come and join us on https://github.com/ChristianTremblay/pyhaystack and chat with us on https://gitter.im/ChristianTremblay/pyhaystack

You can also read the docs on http://pyhaystack.readthedocs.io

0.91.1

7 years ago

v0.9

7 years ago

We are now production ready with this release. We are still lacking an asynchronous client but the core is solid.

See docs for more details

0.01

8 years ago

This mark the beginning of the work, starting with what have been done while on Bitbucket.