# Stream data from openHistorian 2 to openEca for data analytics

**URL:** <http://discussions.gridprotectionalliance.org/t/stream-data-from-openhistorian-2-to-openeca-for-data-analytics/674>\
**Category:** openECA\
**Created:** [May 10, 2020, 9:16pm UTC](http://discussions.gridprotectionalliance.org/t/stream-data-from-openhistorian-2-to-openeca-for-data-analytics/674 "2020-05-10T21:16:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adnan\_Iqbal](http://discussions.gridprotectionalliance.org/user_avatar/discussions.gridprotectionalliance.org/adnan_iqbal/32/528_2.png) [@Adnan\_Iqbal](http://discussions.gridprotectionalliance.org/u/Adnan_Iqbal)\
**Post date:** [May 10, 2020, 9:16pm UTC](http://discussions.gridprotectionalliance.org/t/stream-data-from-openhistorian-2-to-openeca-for-data-analytics/674/1 "2020-05-10T21:16:14Z")

</div>

Hello Sir,

Due to the COVID-19 pandemic I don’t have access to my laboratory, however I have some archived data in openHistorian 2. My question is that can openECA stream the data from openHistorian 2 as if it was coming from a data stream.

Thanks,  
Adnan Iqbal

---

<div class="post-metadata">

**Author:** ![ritchiecarroll](http://discussions.gridprotectionalliance.org/user_avatar/discussions.gridprotectionalliance.org/ritchiecarroll/32/2_2.png) [@ritchiecarroll](http://discussions.gridprotectionalliance.org/u/ritchiecarroll)\
**Post date:** [May 13, 2020, 5:33pm UTC](http://discussions.gridprotectionalliance.org/t/stream-data-from-openhistorian-2-to-openeca-for-data-analytics/674/2 "2020-05-13T17:33:07Z")

</div>

This should be possible. First I would establish a real-time stream subscription from openHistorian to openECA. Then you can adjust the subscription with `startTimeConstraint` and `stopTimeConstraint` connection string parameters which will stream history.

I would upgrade to latest openHistorian release since this version automatically adds a temporal reader adapter to handle requests for history over GEP/STTP.
