Skip to main content

Python Haystack Utility

Project description

What is this ?

Pyhaystack is a module that allow python programs to connect to a haystack server using semantic data model for buildings (project-haystack).

Browse a campus, building, floor… find VAV boxes, AHU units, etc. Then extract history data from them and get the results ready for analysis using pandas or your own database implementation.

Which clients are implemented ?

Actually, connection can be established with :

Connection to Niagara AX or Niagara 4 requires the nHaystack module by J2 Innovations to be installed and properly configured on your Jace. Refer to documentation of nHaystack for details.

How do I install pyhaystack ?

pip install pyhaystack

Or you can also git clone the develop branch and use

python setup.py install

What is project-haystack ?

As stated in the web site

Project Haystack is an open source initiative to streamline working with data from the Internet of Things. We standardize semantic data models and web services with the goal of making it easier to unlock value from the vast quantity of data being generated by the smart devices that permeate our homes, buildings, factories, and cities. Applications include automation, control, energy, HVAC, lighting, and other environmental systems.”

—Project-Haystack

Actual implementation

Pyhaystack is robust and will be ready for asynchronous development.

We have chosen a state machine approach with observer pattern. See the docs for more informations.

This implementation has been mostly supported by VRT and Servisys. We are hoping that more people will join us in our effort to build a well working open-source software that will open the door of building data analysis to Python users.

Dependency

Pyhaystack highly depends on hszinc which is a special parser for zinc encoded data. Zinc was created for project-haystack as a CSV replacement.

For analysis, we also suggest using Pint to deal with units. It will bring a lot of possibilities to pyhaystack (ex. unit conversion)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyhaystack-0.92.1.tar.gz (48.3 kB view details)

Uploaded Source

Built Distribution

pyhaystack-0.92.1-py3-none-any.whl (99.3 kB view details)

Uploaded Python 3

File details

Details for the file pyhaystack-0.92.1.tar.gz.

File metadata

  • Download URL: pyhaystack-0.92.1.tar.gz
  • Upload date:
  • Size: 48.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyhaystack-0.92.1.tar.gz
Algorithm Hash digest
SHA256 2866d28808d324922fd568a09a36e3c1e4c05a4e7534037359f92eadc4a833d9
MD5 de808551527769ba07f602191a2b192a
BLAKE2b-256 6a982c65d5506300f74dc6718dd1c454b2a563ff9da34c124c2f9d1197eb9dbd

See more details on using hashes here.

File details

Details for the file pyhaystack-0.92.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pyhaystack-0.92.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ae8920fdf801ceb11739f0d21c90d78533ac952a1c54746ddab59dc2eed6fb3
MD5 45d402247d81575dc4d945b4bb887aae
BLAKE2b-256 4d535d6ae15df4f09fd1e6e4b6dec3801af4375b5421b32e9ced11a99fd95548

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page