Skip to content

Latest commit

 

History

102 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notifier OpenAPI implementation

This guide shows how to use the Notifier OpenAPI in different ways. Here the OpenAPI is implemented within an user-developed app to send notifications to the Notifier. Furthermore it is shown how to use the OpenAPI within the Flow Creator and with Postman.

Description

Notifier OpenAPI

The Notifier OpenAPI definition contains the following HTTP requests:

Supported since Notifier V1.3:

api-calls

Deprecated:

api-calls-old

The current Notifier OpenAPI specification can be downloaded here.

Using these HTTP requests, notifications can be for example triggered from another app and displayed in the Notifier.

General task

This how to shows two ways of using the Notifier OpenAPI.

First it is described how to implement a JavaScript app in Docker including the Notifier OpenAPI. The app calculates and monitors a KPI value. Therefore the user can define two input tags that are coming from OPC UA Connector, as well as a min and max limit of the KPI value. In case these limits are passed, the app sends a notification to the Notifier app on the IED.

Furthermore, by using the Flow Creator and Postman, it is possible to handle and test API calls to the Notifier app. With both tools we will list, accept, clear and raise notification in the Notifier app via its API. For that reason the JS app needs to be on the same Edge Device and running.

Requirements

Used components

  • Industrial Edge Management (IEM) V1.15.17
  • Industrial Edge Device (IED) ipc-ied-os 3.2.0.17
  • Management applications:
    • Databus Configurator V3.2.3
    • Common Configurator V1.1.0
    • Edge OPC UA Server Configurator V2.3.6
    • Cloud Connector Configurator V1.23.2
    • Flow Creator Configurator V1.12.5
  • Device applications:
    • Databus V3.4.0
    • OPC UA Connector V2.4.3
    • Common Configurator V2.5.0
    • IIH Essentials V2.6.0
    • Notifier V1.25.0
    • Flow Creator V 1.19.2
  • Industrial Edge App Publisher V1.26.2
  • Docker Engine V29.7.1
  • Docker Compose V5.4.0
  • TIA Portal V21
  • CPU 1517V V2.2.0+03

Further requirements

  • Access to an Industrial Edge Management System (IEM)
  • Onboarded Industial Edge Device (IED) on IEM
  • Installed apps (see list "Used components")
  • IED connected to PLC
  • TIA Portal project loaded on PLC
  • HTML5-capable Internet browser (e.g. Google Chrome)

TIA Project

The used TIA Portal project can be found here:

Implement Notifier OpenAPI within a custom app

You can find further information about the following steps here.

Using Notifier OpenAPI within the Flow Creator

You can find further information about the following steps here.

Using Notifier OpenAPI with Postman

The Notifier OpenAPI requests can also be tested and used via the API platform Postman. You can find further information about the following steps here.

Documentation

Contribution

Thank you for your interest in contributing. Anybody is free to report bugs, unclear documentation, and other problems regarding this repository in the Issues section. Additionally everybody is free to propose any changes to this repository using Pull Requests.

If you haven't previously signed the Siemens Contributor License Agreement (CLA), the system will automatically prompt you to do so when you submit your Pull Request. This can be conveniently done through the CLA Assistant's online platform. Once the CLA is signed, your Pull Request will automatically be cleared and made ready for merging if all other test stages succeed.

License and Legal Information

Please read the Legal information.

Disclaimer

IMPORTANT - PLEASE READ CAREFULLY:

This documentation describes how you can download and set up containers which consist of or contain third-party software. By following this documentation you agree that using such third-party software is done at your own discretion and risk. No advice or information, whether oral or written, obtained by you from us or from this documentation shall create any warranty for the third-party software. Additionally, by following these descriptions or using the contents of this documentation, you agree that you are responsible for complying with all third party licenses applicable to such third-party software. All product names, logos, and brands are property of their respective owners. All third-party company, product and service names used in this documentation are for identification purposes only. Use of these names, logos, and brands does not imply endorsement.

About

Guide to implement the Notifier OpenAPI

Topics

Resources

Code of conduct

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages