<img alt="" src="https://secure.beer7live.com/220831.png" style="display:none;">

The J2 Innovations' blog

The home of smart buildings, smart equipment and IoT

Project Haystack 4 open-source library (Haystack Core) is here!

Copy of haystack-core

With the ten year anniversary of the formation of Project Haystack and the Haystack Connect event just around the corner, we're excited to announce that we have released a Project Haystack 4 open-source library (Haystack Core) that will help developers create smart building and IoT applications more easily and faster. The TypeScript-based initiative paves the way for highly-sophisticated Haystack solutions that can manage energy usage, reduce emissions and leverage new technologies; revolutionizing the way the industry creates IoT-oriented solutions.

Project Haystack is an open-source initiative that streamlines the way data from the Internet of Things is handled to solve interoperability issues between devices and equipment. With an emphasis on standardizing semantic data models, and using web services, its mission is to unlock the value from the vast quantity of data being generated by the smart devices that permeate our homes, buildings, factories and cities. Applications have been developed for automation, control, energy, HVAC, lighting and other environmental systems.

Today Project Haystack encompasses the entire value chain of building systems and related intelligent devices. Founding member companies include ourselves, Siemens, ConserveIT, SkyFoundry, Legrand, and Lynxspring. Associate members include many other building-related suppliers and service providers of all types. Novel and innovative ways to apply Haystack are constantly evolving - for example, we've  has recently contributed Haystack JSON, a new JSON encoding format that aims to improve upon the existing encoding format by making Haystack data more accessible for developers.

“It’s significant that we’re able to announce this just before Haystack Connect 2021. The initiative has the potential to take Haystack to a different level of sophistication in the smart buildings and IoT applications world and beyond,” said Gareth Johnson (pictured left), Senior Cloud Architect, and creator of the library. “This is the first library written in TypeScript that fully supports Haystack 4.”

“Haystack has always been about being an open, productive, and powerful development environment and we think this will inspire the community to innovate and build leading-edge software applications that will tap into the vast potential of the eco-system. And the more interesting apps being created will mean the more powerful and pervasive Haystack will become in our lives.”


John Petze, Executive Director of Project-Haystack.org said: “This substantial addition to the library of Haystack tools and software applications demonstrates the continued efforts of the community to advance and streamline the use of smart device data. J2 Innovations has been part of the Haystack journey since the founding of the effort in 2011. We are excited to see this major contribution!”

The Haystack Core libraries provide a suite of powerful APIs that make it easy for working with Haystack data. This includes an implementation of the Haystack data model, filter compilation, unit database, Zinc, Trio and JSON support, client network support with automatic watch management and specialized Haystack React hooks.

The open-source code can be downloaded from GitHub, the largest and most advanced development platform in the world:

Get the code here

Jenny Evans

Jenny transferred from the Siemens UK&I Smart Infrastructure communications team to J2 in 2020. Jenny is passionate about the building technology industry and brings over 14 years of experience in marketing, communications and strategy. Outside of work, she is captain of a local field hockey team and enjoys taking her chihuahuas on walks.

View all articles

Topics from this blog: J2 News & Events Project Haystack

Back to all posts