-
Re: Connect device network to a PI-system
Lal_Babu_ShaikJan 11, 2019 1:17 PM (in response to maalgaba)
1 of 1 people found this helpfulHi Manuel
You can use OMF (OSIsoft Messaging Format) and Connector Relay to send data to PI system.
Reference : OMF version 1.0 Quick Start — OMF Developer Companion documentation
Test OMF Endpoint now available
Thanks,
Lal
-
Re: Connect device network to a PI-system
maalgaba Jan 11, 2019 1:23 PM (in response to Lal_Babu_Shaik)Hi Lal Babu,
Thats my idea more or less. To connect the propietary network of devices to Google cloud platform. Make a function that receive the events, convert them to OMF format and pushes them to a connector relay.
But since I am completly new to OSIsoft I donkt know if there is a better way of doing it. Without needing to introduce the Google cloud function f.e.
-
Re: Connect device network to a PI-system
Lal_Babu_ShaikJan 11, 2019 2:39 PM (in response to maalgaba)
1 of 1 people found this helpfulHi Manuel
OMF and IOT ingress Lab : https://techsupport.osisoft.com/Downloads/File/9b8cca10-f62c-4960-a297-5e67896e7315?_ga=2.123317323.1741971930.154703136…
-
Re: Connect device network to a PI-system
maalgaba Jan 11, 2019 3:26 PM (in response to Lal_Babu_Shaik)Thanks,
Is there any way to get the exercises code? I can just download the pdf.
-
-
-
-
Re: Connect device network to a PI-system
John MessingerJan 13, 2019 4:14 PM (in response to maalgaba)
3 of 3 people found this helpfulUsing OMF is one option, but requires custom coding of an application to generate the required OMF messages. There are many good examples of how to do this on OSIsoft's Github repo at GitHub - osisoft/OMF-Samples: Introductory, language-specific examples demonstrating how to generate OSIsoft Message For…
Given that you mentioned the possibility of accessing the data via an API (presumably from the devices directly), or from an existing cloud connector that publishes the data as JSON (again I assume via a REST API), have you also considered using the PI Connector for UFL as an off the shelf option? This can retrieve data from REST endpoints without the need for custom coding.
-
Re: Connect device network to a PI-system
maalgaba Jan 14, 2019 11:14 AM (in response to John Messinger)Hi John,
Thanks, I will also check the PI connector for UFL. Yes, the cloud connector from the propietary network I want to integrate sends the data to a REST API service. But It is possible also to send all the events directly to a specifical endpoint. Such as all the sensor events are sent automatically to this endpoint as json objects. Now I am using a http-triggered Google Cloud function as endpoint.
-
Re: Connect device network to a PI-system
gregorJan 14, 2019 3:37 PM (in response to maalgaba)
2 of 2 people found this helpfulHi Manuel,
I may have missed something and really don't like to add confusion but feel that REST and JSON requires to also mention PI Web API as a potential option.
-
Re: Connect device network to a PI-system
maalgaba Jan 15, 2019 2:33 PM (in response to gregor)Hi Greg,
Thanks that might be an option too. I was looking at the other two solutions since the sensors I am using comes with a cloud connector capable of sending the sensor events to an https endpoint with zero coding.
Finally it will be the customer who decides which solution suits him best.
-
-
-
Re: Connect device network to a PI-system
gmichaud-verreaultJan 14, 2019 1:27 PM (in response to John Messinger)
3 of 3 people found this helpfulI would also echo John's approach. Depending on what the REST endpoint looks like, parsing it directly with the UFL connector would be the simplest option. The UFL Connector can also act as a REST Server if you can push the events directly to the endpoint making all devices pointing to the same endpoint.
This may also be useful for you: KB01375 - Quickstart Series - PI Connector for UFL as a REST Endpoint
In the above example, we just use Postman to POST the data to the Connector endpoint, but it would be analogous to having your service writing directly to the target endpoint.
Gabriel
-
Re: Connect device network to a PI-system
maalgaba Jan 15, 2019 11:45 AM (in response to gmichaud-verreault)If I use the PI connector for UFL as an endpoint, do I need to send any specfically formatted object?
I have seen that it is posible to convert XML objects to PI elements configuring an .ini file. Will it also work for json objects?
-
Re: Connect device network to a PI-system
John MessingerJan 15, 2019 11:47 AM (in response to maalgaba)
1 of 1 people found this helpfulYes this should also work for JSON objects.
-
-
-
-
Re: Connect device network to a PI-system
dnoonenJan 14, 2019 9:43 PM (in response to maalgaba)
2 of 2 people found this helpfulI'd like to reference a great article my colleague, Glenn Moffett, wrote which summarizes OMF vs. UFL vs. PI Web API. The info in Glenn's article may be of interest to this thread. Check out Data ingress to PI Server with a focus on three REST based options .